Page 1 of 1

Plotting gravityStrength

PostPosted: Mon Jan 29, 2018 1:12 pm
by hpstricker
Is there a way to plot gravityStrength?

Re: Plotting gravityStrength

PostPosted: Tue Jun 05, 2018 5:20 pm
by FRA32
While I don't know if it's possible with algodoo's inbuilt plotter, you can do so using scripts. Make a small circle, attach a small tracer with long fadetime, and then open the Circle's script menu. Find the field postStep and put this in:

(e)=>{
pos = [pos(0)+1/sim.frequency, Y + sim.gravityStrength]
}

Make sure to replace the Y with whatever height you want the x-axis to be, the y-axis will be wherever the circle is placed at the start.