Archive for the ‘Tools’ category

Text Editors in The Lord of the Rings [Kieran Healy's Weblog]

July 31st, 2011

Relating text editors to The Lord of the Rings… Clever…

Kieran Healy’s Weblog – Text Editors in The Lord of the Rings.

The list makes clever use of reality and fiction. I wonder what JEdit would be?

Which text editor do you use?

HT R-bloggers

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)

OT/NT Refs: Development log, entry #3

July 4th, 2011

otnt-rev5Completed

  • Added all the direct quotation links
  • Fixed the link lines (now they point to the correct location (based on the chapter of the reference) on the arc, not the first point)
  • Added some color (a little different than in my first post, but same groupings) to the links;
  • Shrank the arc depth;
  • Expanded the size of the whole graphic.

To Do

Same as in in my first dev log entry plus:

  • Fix the intermediate point calculation for the arcs (see how they bunch up unnaturally and too often go on the wrong side of the center point when they should stay on the same side of the center point);
  • Add the allusion links (dashed? dotted?) and possible links (thinner line?)
  • Set up the correct Z-order for the links

Performance

Size: 66 books + 306 links/lines.

It takes about 3 seconds to load/draw on Safari and around 4 seconds on Firefox. It won’t run on Chrome (“XMLHttpRequest cannot load file:…. Cross origin requests are only supported for HTTP.”).