Plotting gravityStrength

Discuss scenes and videos made with Algodoo.

Plotting gravityStrength

Postby hpstricker » Mon Jan 29, 2018 1:12 pm

Is there a way to plot gravityStrength?
hpstricker
 
Posts: 16
Joined: Wed Jan 03, 2018 11:10 am

Re: Plotting gravityStrength

Postby FRA32 » Tue Jun 05, 2018 5:20 pm

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.
FRA32
 
Posts: 227
Joined: Wed Dec 03, 2014 9:51 pm


Return to Scenes

Who is online

Users browsing this forum: No registered users and 5 guests