Representing the universe of GravityLoops
Read OriginalThis article details the author's work on the Universe class for GravityLoops, a gravity simulator built using Interlisp and LOOPS. It covers the definition of the class and its main methods, Universe.Register and Universe.Simulate. The author explains how the bodyPool instance variable uses a list instead of an array, inspired by a C++ design, and discusses plans for expanding Universe.Simulate to handle simulation updates, graphical display, and user interruption. The article also touches on potential redesigns using LOOPS' active values.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet