MovingMan
Click Here to Run the MovingMan V1R5
Requested Features:
- Smoother model:
- Could try increasing
the # smoothing points gradually.
- Could try a direct 2nd
order differentiation of the smoothed position data.
§
Derivatives
of unequally spaced data
§
One
way to handle nonequispaceddata is to fit a second-order Lagrange
interpolating
polynomial to each set of three adjacent points.
·
Realtime?
1.
Drag the man.
2.
adjust slider
3.
set a value for position
4.
drag the cursor.
Bugs:
- Vectors have wrong
direction when axes reversed.
- There is a dependency
on an incorrect computation in phetcommon::graphiclayerSet::getbounds()
- The walkway is off
center.
- Sometimes when time
stops, derivatives are astronomical:
- -785549784140905700000.00
- Window 98 + 1.5.0_02 à buttons are all same
color, brick wall disappears.
- Cursor is ahead of the
last data point because of the smoothing window.
- The man faces the wrong
direction if you drag a time-cursor backwards.
- ‘Drag
The Cursor’ remain when graphs are minimized.
- Going from smooth to
sharp has a lag in derivatives.
Refactor
- Move plotdevice into
charts package.
- Move plotborder inside
MMPlotSuite
Finalize
- Performance
optimization.
- Performance terrible on
Ron’s machine, when dragging the man (or slider), long time before
charts update. Reproducible with –noddraw.
- Test under 1024x768.
- Find and remove in-code
TODO’s.
______
Changes in this version:
Bugfixes
User interface
modifications
Added Velocity &
Acceleration Vectors (attached to man)
Added Open/Closed
boundary conditions.
Produced realtime
feasibility test.