Showing posts with label E1. Show all posts
Showing posts with label E1. Show all posts

Tuesday, November 1, 2011

E1 Complete

From the original objectives post:

E1:  Layout and Spinwheel

  • Produce HTML and CSS sheet layout.
  • Create a working spinwheel with radial x-y functionality.
  • Manipulating the spinwheel according to use case changes text boxes.

All E1 iteration objectives were met. I might do some layout experimentation with the CSS <div> x-y positions, and approximate it closer to my notebook layout.

Iteration E2 starts tomorrow:  11/2/2011.

Monday, October 31, 2011

E1 Spinwheel Prototype #2

The newest spinwheel design is working surprisingly well.  All the fancy math with angles and tangents wasn't completely necessary; the wheel is working adequately with just radii for Inside, Outside and Lock.  I did need to tweak the state machine with some intermediate states to avoid getting stuck in certain transitions.  The key breakthrough was a diagram I call Quadrant-Chaos, with a lookup table representing Clockwise or Counter-clockwise rotation.  A few threshold checks make it function adequately for the prototype.

Occasionally the spinwheel will fail to lock, or skip a state.  This implies the angles and tangents approach might still be the final solution in the implemented Construction project.  However, the spinwheel is certainly at a solid prototype level of functionality, so the technical risk is mitigated.

It's really fun to play with the spinwheel, and see it updating images and text fields on the screen.  Also, I'm really quite pleased with Javascript as an untyped, interpreted RAD language.  It's quite excellent for prototyping.