Archive for the ‘Programming’ category

OT/NT Refs: Development log, entry #5

July 8th, 2011

otnt-rev8Completed

  • Added layers (Quotations, Allusions, and Possible Allusions are all on separate layers, independently controllable (see below), as are the book arcs);
  • Added panning (click-and-drag to move);
  • Added keyboard event handler (to toggle visibility of layers (“q”/”a”/”p” for 3 link layers, “b” for book arcs, “c” to recenter view*, and “r” to reset view to initial state*);
  • Added zoom (“+” and “-” to zoom in and out, respectively)

ToDo

In priority order:

  • Add book labels
  • Fix intermediate point calculation
  • Post code to Github
  • Add basic interactivity [zooming & panning]
  • Add advanced interactivity [to show links for a specific book (a la http://www.nytimes.com/interactive/2007/12/15/us/politics/DEBATE.html)]
  • Add columns for each chapter (why?)
  • Add mouse scroll wheel zoom handler
  • Add the allusion links and possible [allusion] links
  • Set up correct Z-order (handled by order of function calls)

OTNT Graphic Development slideshow

July 6th, 2011
  • otnt-rev8
  • otnt-rev7b
  • otnt-rev5
  • OTNT reference graphic: rev3
  • OTNT reference graphic: rev2
  • OTNT reference graphic: rev1

OT/NT Refs: Development log, entry #4

July 6th, 2011

otnt-rev7bCompleted

  • Added book names/labels (reversed orientation and set justification=”right” when angle < 90 or > 270)
  • Added chapter ticks (first chapter + every 10th chapter)
  • Added think black border around book arc
  • Reduced thickness of link lines (from 2pt to 1pt)
  • Added buffer between link line ends and book arcs (“var innerBuffer = 5”)
  • Added allusion links and possible allusion links (both are dashed; wider dashes = possible allusion) [display of allusions and possible allusions are managed via a boolean variable for each setting]

To Do — cumulative

In priority order:

  • Add book labels
  • Fix intermediate point calculation
  • Add interactivity [to do what?]
  • Add columns for each chapter (why?)
  • Add the allusion links and possible [allusion] links
  • Set up correct Z-order (handled by order of function calls)