2017-12-19

posted Dec 19, 2017, 6:27 AM by Konstantinovich Samuel
Goal: Proposal Approvals / Discussions

Do Now:
 Open the bouncy demo that is attached. 
 Read the code and see how the objects move. 

If you have no clue about physics check this out:

Add 2 sliders from -1.0 to 1.0 in increments of 0.01
    initial-x-speed
    initial-y-speed

Add a mouse-action procedure to the go.

This procedure should:
    Spawn a new circle at the mouse with initial x and y speeds (velocity) that are tied to 2 new sliders that you created.
    
ċ
bouncy-demo.nlogo
(12k)
Konstantinovich Samuel,
Dec 19, 2017, 6:27 AM
Comments