This isn't TOTALY real because the ball has the same attraction to the gravity ball, no matter how far away it is. With real gravity, the farther away the object is from gravity, the less it is pulled by the gravity. Still, you did a great job on this. Check out my gravity simulation, Two Moons. (Just go to my profile and it should be the second project.)
Thank you, WrockBrothers! My gravity scripts all share basically the same premise code-wise, just each with different variables and all formatted to a different flavor. (If you want to understand how the code works, I suggest digging in there and taking out all the variables! It's simpler than you might think!)
Wow. That's actually not a half-bad concept. ...OMG! Maybe I'll make a tag game that's basically this, only with a negative coefficient for gravity! (That way, it'll be hard to catch!) Yes! You've inspired me, RedNeptune! 8D
Thanks, BlueImpulse! I know. It's crazy addictive to watch the marble create those incredible designs. (I've been staring at this for like the past five minutes. This is my payoff for creating the program.)
I'm hoping to combine this program with my new slingshot one to create some sort of multi-leveled, slingshotty, space-golf game or something. (It's gonna be wicked.)
Thank you, chalkmarrow and LD1302, respectively!
And did you notice how changing the 'size' of the gravitational pull affects how the gravity icon moves? (Use the arrow keys!!) =D (And don't forget about that pen! Just hit D!)
After a while, I was finally able to create what I've been wanting to--a REAL gravity simulation. (I have to give some credit to boisvert, because it was his code that supplied me with that tiny extra bit of information I needed to make this work.)
To demonstrate this is original, I've made it so that you can move the "gravity" icon--sure enough, the marble will react appropriately.
ARROW KEYS-- move "Gravity" around. D-- pen down (also generates random color). U-- pen up. C-- clear.
Comments
You need to be logged in to post comments
Add a Comment
This isn't TOTALY real because the ball has the same attraction to the gravity ball, no matter how far away it is. With real gravity, the farther away the object is from gravity, the less it is pulled by the gravity. Still, you did a great job on this. Check out my gravity simulation, Two Moons. (Just go to my profile and it should be the second project.)
that is awesome!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cool
Thank you, WrockBrothers! My gravity scripts all share basically the same premise code-wise, just each with different variables and all formatted to a different flavor. (If you want to understand how the code works, I suggest digging in there and taking out all the variables! It's simpler than you might think!)
How do you make the gravity so good on all your projects? It's really cool. :)
Wow. That's actually not a half-bad concept. ...OMG! Maybe I'll make a tag game that's basically this, only with a negative coefficient for gravity! (That way, it'll be hard to catch!) Yes! You've inspired me, RedNeptune! 8D
lol I played tag with it. ^^
It sure IS addictive.
Thanks, BlueImpulse! I know. It's crazy addictive to watch the marble create those incredible designs. (I've been staring at this for like the past five minutes. This is my payoff for creating the program.) I'm hoping to combine this program with my new slingshot one to create some sort of multi-leveled, slingshotty, space-golf game or something. (It's gonna be wicked.)
A very cool program. It's a lot of fun to watch with the pen tool.
Thank you, chalkmarrow and LD1302, respectively! And did you notice how changing the 'size' of the gravitational pull affects how the gravity icon moves? (Use the arrow keys!!) =D (And don't forget about that pen! Just hit D!)
Very well done. The ability to change the strength of the gravitational pull is very neat!
Excellent. I remember making a program like this in Basic a long time ago :p