Category Archives: NextGen experimentation

8:00 – 3:00 SR

  • Rolled back the FA changes from Friday.
  • More server problems – things like lost endpoints. Restarted the VM, which seemed to fix it.
  • Bill didn’t get my email with the test code in it. Trying to send him the link instead.
  • Fixed the callout incorrect name bug.
  • Starting on Similarity Distance widget, since it’s a straightforward extension of the network widget. Speaking of which, I need to make NetworkCanvas and NetworkComponent JSON friendly.
  • Today’s progress: http://philfeldman.com/WebGLSimDistTest.html

Phil 6.18.14

Phil 8:00 – 5:30 SR

  • Hey! A full day that I can work!
  • Backups
  • Integrating wedge size adjustment – animation, tooltips, add and delete, and rippling across all the wedges.
  • Got size adjustment working, but timing is off? Fixed.
  • Adding wedges is done.
  • Rippling is done.
  • Working on deleting wedges. Done, but there are some artifacts. Select doesn’t work the first time on post-deleted wedges. Auto naming is too naive – we can get multiple “Pie Chart 3”, for example. There needs to be an overall count or id field.
  • Anyway, here’s progress for testing on other machines: http://philfeldman.com/WebGLPieChartTest.html

Phil 6.17.14

8:00 – 1:00

  • DB Backups
  • Pie charts
    • Creating a WebGLPieWedgeComponent so that it can hang on to the current and desired angles and calculate transitions as needed.
    • Refactored wedge calculation to reside in WebGLPieWedgeComponent.
    • Hanging onto start and end angles as well as vertices.

Phil 6.13.14

8:00 – 5:00 SR

  • DB backups
  • Lenny is now security guy for our servers! And is getting the paperwork done that I was forbidden to do. And our authorization is now through September 9
  • Pie Charts!
    • Chart description (XML or JSON?). XML. And after a lot of flailing, I’m producing an xml description and reading it in. JS is very clunky WRT traversing XML. Basically every time I think it’s going to be something easy, JS makes it into an all day affair.
    • Tooltips
    • Calculations
    • resizing
    • Legend (in 2D overlay. Match the color to the Math.max(ambientColor, emissiveColor) of the wedge.
    • Labels (plus percent/value) with indicator lines leading to the outer top of the wedge. This means that labels will need to have a 3D offset option.
    • Upload?

Phil 6.12.14

8:00 – 12:00, 2:00 – 5:00 SR

  • DB backups
  • The svn backups failed yesterday when my computer decided to reset the connection to the server. Trying again.
  • Add compute vertex normals to the pie chart – see if we can get rid of the flat shading artifacts.
  • Make a pieChartCanvas – done. Now moving the wedge creation parts into the canvas.
  • Read in XML configuration files for pie chart and network chart.

Progress for today:

pieChartTest

Phil 6.11.14

8:00 – 5:00 SR

  • Backups
  • Found some issues in the slides where PM Actuals are greater than Obligations. Lenny’s looking into what might be the issue. Possibly dates.
  • Meeting with Tim?
  • Charts!
    • Fixed the non-square bug. I was stepping values by the wrong side.
    • Now, that’s a nifty looking pie chart if I say so myself:

pieChartTest

Phil 6.10.14

8:00 – 4:00

  • Backups
  • Submitted Lenny as our sever security guy.
  • Charts!
    • Worked on calculating the pie chart geometry. Close, but the math only works for squares. Somewhere is a bug that has the radius and angle sides confused. Tomorrow…
  • ToDo:
    • Create a pie chart canvas
    • Better reflection map.
    • Look into tessellation as a way to create a curved surface, otherwise a grid who’s y-axis conforms to a hemisphere should be fine.
    • Better background
    • Add lighting for selected wedge
    • Start on XML description of chart data
    • Animated transitions for value changes. Remember that the arc perimeter will have to travel on polar coordinates

Phil 6.9.14

8:00 – 3:00 SR

  • DB backups
  • Updated the queries used for briefing slides
  • Charts!
    • Working on UV mapping for the extruded shapes. Actually, it turns out that for reflection maps, I just need surface normals. Which is great, since that makes complex or irregular shapes much more straightforward.
    • A simple pie chart.

Phil 6.4.14

8:00 – 5:00 SR

  • DB Backups
  • Working on fixing subproject privileges.
  • Got a single frame freeze/unfreeze mode working in charts. Now I need to calculate a better initial state. Done.
  • Starting to look at extruding chart components. Got some working, looking at different examples. Will try this next: http://threejs.org/examples/webgl_geometry_shapes.html
  • And on a side note, it looks like the GPU can be used for simulaiton: http://threejs.org/examples/#webgl_gpgpu_birds

Phil 5.30.14

8:00 – 5:00 SR

  • DB backups
  • Got outlook fixed
  • Server paperwork, with great success!
  • JavaScript
    • So JS doesn’t have static variables. I thought I’d be clever and use functions:
      • function _X(){return 0;);
    • Which works, but the performance hit was *terrible*. So don’t do this if you need speed.
    • More building of network chart.