Plotting gravityStrength
2 posts • Page 1 of 1
Plotting gravityStrength
Is there a way to plot gravityStrength?
- hpstricker
- Posts: 16
- Joined: Wed Jan 03, 2018 11:10 am
Re: Plotting gravityStrength
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.
(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.
- FRA32
- Posts: 229
- Joined: Wed Dec 03, 2014 9:51 pm
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests