I apologize for the lag in the above video, its honestly not my code! 😉 It’s the free screen recorder program I used being iffy.
An orrery is a mechanical device that illustrates the relative positions and motions of the planets and moons in the Solar System in a heliocentricmodel
Heliocentric just means that the planets move around a stationary sun.
The finished, final version of the product will have gravitational forces effect the positions of each planet, allow the user to invent new planets and place them in (effecting the courses of all the other planets!) and have an additional drawing mode in which all of the planets are made to look like pretty Koch Snowflakes 🙂
In the above video you can see what I have achieved up until now, with another month remaining to get it finished. I have
- 4 Drawing modes (Arc mode, Line Mode, Sprite (image) mode, Animated Earth Mode (Using spritesheets))
- Independent rotation speeds for each of the planets
- Keyboard controls to decide which mode is shown
I have the following left to implement
- User added planets
- A moon orbiting earth
- Elliptical orbits
- Koch Snowflake drawing mode
I hope to get most of these done this week 🙂
public int WholeNumberVariable = "string";
var WholeNumberVariable = "string";
var IExpectANumericResult = WholeNumberVariable / 2;
//I'm going to be a huge bug! I expected a number to divide by 2 but now I'm trying to divide letters! This makes no sense!
This can cause some unexpected behaviour, also known as bugs. So it’s fair to say I much prefer Strongly typed languages.