This is an attempt to use Processing 2 to reproduce one of 1ucasvb's animations:
Processing 2 is a Java-based language:
"Processing emerged out of the MIT Media Lab, inspired by the simple DBN language. While DBN was developed as a proof of concept, a showcase to demonstrate an approach to programming, Processing was created as a full-featured programming environment for “real” creative development (creative coding!)" - Greenberg. I, Xu. D, and Kumar. D, Processing: Creative Coding and Generative Art in Processing 2 (New York: Apress, 2013), p. 9.
Daniel Shiffman's videos on Processing are very engaging and entertaining. More here: