Skip to content
Martin Prout edited this page Dec 17, 2016 · 8 revisions

Math Demo Wiki

How do I run it?

math_demo

Might not work on Windows with the current release of propane, but should work (on 64 bit OS) with the experimental version

jgem install propane --pre # spefically only Windows 64 binaries
propane --version # 2.20.pre

What's happening

Three random moving particles are created (they are restricted to moving in the frame). The display is the outline of an ellipse (circle) that is a circumcircle. That is circle that goes through three points given by the particles position. The color of the circle, changes gradually, apart form being constrained (by the frame) the points also sometimes change direction randomly.

Clone this wiki locally