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


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

more 22 Dec 2010
picture of tree by megabanjo2017 creative commons attribution

cartoon house by PeterBrough