Components
- Timers that can use the delta time of the application, frame-rate independent
- DuelingCalculator class/structure
- Seed
- Value
- Deterministic algorithm that can take the previous random value as input
- Mapping for value into color
- Grid structure based on desired box pixel width, dynamic scalable to display dimensions
- Touch interface (with Mouse compatibility for testing) that is grid-aware
After looking at both Processing and OpenFrameworks, I've decided to go with Processing for this piece.
Though I have more of this code already written in C++,
My brief survey of both languages seems to suggest that
- The workflow in Processing will be faster (for me) as the project will neither be memory intensive or complicated in design
- Processing has a well-vetted, long supported, straightforward library for Touch/Mouse interfacing called SMT
- Porting my code from C++ to Java will be relatively quick
While I prefer openFrameworks, there's a lot of extra plumbing there I haven't figured out, and to date, the ratio of projects I've done in Processing to oF is still 3:1. I don't have much time, to finish, so that's as good a reason as any for a presentable prototype
Progress
Ported my ofxDeltaTimer utility from C++ to Java
Set up "Dueling Calculator" system to generate sample values
Version control!
Sample value subset (showing 34 of 150):
Sample value subset (showing 34 of 150):
Initial: 0.5030686 Initial: 0.5030687 Initial: 0.5030688 Initial: 0.5030689 Initial: 0.503069 Initial: 0.5030691 Initial: 0.5030692 Initial: 0.5030693 Initial: 0.5030694 Initial: 0.5030695 Initial: 0.5030696 Initial: 0.5030697 Initial: 0.5030698 Initial: 0.5030699 Initial: 0.50307 Initial: 0.5030701 ... Initial: 0.5030817 Initial: 0.5030818 Initial: 0.5030819 Initial: 0.503082 Initial: 0.5030821 Initial: 0.5030822 Initial: 0.50308233 Initial: 0.5030824 Initial: 0.5030825 Initial: 0.50308263 Initial: 0.5030827 Initial: 0.5030828 Initial: 0.50308293 Initial: 0.503083 Initial: 0.5030831 Initial: 0.5030832 Initial: 0.5030833 Initial: 0.5030834 Initial: 0.5030835
No comments:
Post a Comment