From b7deca71fceea2992140760a9b46268ad6e05aa4 Mon Sep 17 00:00:00 2001 From: 61616 <33187059+61616@users.noreply.github.com> Date: Thu, 31 Mar 2022 15:01:31 -0400 Subject: [PATCH] Simple info update commit --- GravityDev3.pde | 13 +++++++++++++ mGui.pde | 1 + readme.md | 5 +++++ 3 files changed, 19 insertions(+) create mode 100644 readme.md diff --git a/GravityDev3.pde b/GravityDev3.pde index 6099e20..07030cd 100644 --- a/GravityDev3.pde +++ b/GravityDev3.pde @@ -1,3 +1,16 @@ +/* + GravityDev3 + Third iteration of a 2D gravity simulator. + by Nayan Sawyer + started Mar 2022 + version 0.3.4 Mar 31 2022 + + Features include clicking on a planet to lock onto it, center a focussed + planet, and pan/zoom. Next version planned will be written in C++ for better + acuracy and memory management, as this one has floating point imprecision + issues, and Processing is not effecient with memory. + +*/ PlanetManager pm; // Manages Planets Gui gui; // Contains and manages gui diff --git a/mGui.pde b/mGui.pde index 83d5706..1e03e7e 100644 --- a/mGui.pde +++ b/mGui.pde @@ -20,6 +20,7 @@ class Gui { } } +//Center button class CButton extends Button{ CButton(){ diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..3ba2363 --- /dev/null +++ b/readme.md @@ -0,0 +1,5 @@ +# GravityDev3 +Third iteration of a 2D gravity simulator. Features include clicking on a planet to lock onto it, center a focussed + planet, and pan/zoom. Next version planned will be written in C++ for better + acuracy and memory management, as this one has floating point imprecision + issues, and Processing is not effecient with memory.