sun-planet-moon represented by the words red, blue, green


When run in Nodebox, the words orbit around their respective parent points.

With three co-orbiting bodies, models begin to become complex. This, however, is a very simple example of nested orbits. I used the three primary colours and their names to highlight the nesting.

Source code (2009).
Adapted from a Python example in NodeBox.