more changes.

it is easy to create derivatives after
1. studying the codes in details
2. adding a panel with variables to understand what it is doing
3. comments lines to clarify to variables assignment

// comment lines by lookang
// 1,2 for object number, s = slider, 0 = initial, P =point, v = velocity
// t is time of simulation
// ts is the scroll bar display time for controller slider
// x1s is displacement object 1 at ts
// x1 is displacement object 1 at t
// x10 is displacement object 1 initial
// v1s assigned v10 value which then assign to vx1 and PY1[1] the second point of the array as first point is (0,0)
// vx1 is the evolution dx1/dt

had to start a new thread max 4 attachment :)

will ask again when need!



cute dogs from http://www.phy.ntnu.edu.tw/ntnujava/ejs/_examples/_data/dog.gif
[img]http://www.phy.ntnu.edu.tw/ntnujava/ejs/_examples/_data/dog.gif[/img]

http://www.phy.ntnu.edu.tw/ntnujava/ejs/_examples/_data/dogy.gif
[img]http://www.phy.ntnu.edu.tw/ntnujava/ejs/_examples/_data/dogy.gif[/img]

Completed!

download attachment 2 source zip files to remix legally and share :)

more 22 Dec 2010
picture of tree by megabanjo2017 creative commons attribution
http://www.flickr.com/photos/38171671@N02/3511369490/sizes/m/in/photostream/

cartoon house by PeterBrough
http://www.openclipart.org/detail/cartoon-house-by-peterbrough