Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Calico Physics The goal of this lab is to create an interesting physics simulati

ID: 3695732 • Letter: C

Question

Calico Physics

The goal of this lab is to create an interesting physics simulation in Calico. You must use at least 5 different Calico Graphics shape types (you may very well have multiple shapes of each type). An example of a simulation for this lab would be a marble sorter. A ramp of some sort with three differently sized holes that would sort a marble into different containers by size. Be creative, and come up with something fun!

To see what other things you can draw with Calico Graphics, go here: http://calicoproject.org/Calico_Graphics

Explanation / Answer

Window can take three optional arguments: title, width, and height. The defaults are "Calico Graphics" and 300 width by 300 height. For example:

Coordinates for Calico graphics have (0,0) as the top left-hand corner, with the horizontal direction increasing as it goes to the right, and the vertical direction increasing as it goes down.

You can always recall the last window created using the getWindow() function:

Note that Graphics will use reuse windows based on the title. For example:

will only create one window, and both win1 and win2 will refer to it. To create two windows, use different titles:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote