AI developed software predicting the path of a ball falling under gravity on my self-designed course
This is AI developed software predicting the path of a ball falling under gravity on a course of lines I draw. I can add lines and see the predicted course change. I doubt any human/2024 chess champion could envisage this route ahead of the ball dropping and get the mathematics of each bounce and roll 100% right in milliseconds.
I still need to get it to tackle more complex routes. But it is just a matter of time and effort and increasing the range of its prediction. I think it is only seeing ?150 - count the dots? moves ahead. Likely it can likely be refined to more moves ahead by changing 150 to 300 or more.
It is strange that it also knows when it will break the rules and crash through a wall. But it runs a milliscond simulation as if it did the route ahead of you — just not in real time. It is a physics calculation and not an AI prompt solution.
WORKING ON THAT!
I have used Claude 3.5 Sonnet and O1 Prev (on You.com). I progressed it to Google AI studio. Believe me I have had a lot of failures. I will probably take it to Bolt.new after this to get it to Netify. That may take a few days of trial and error as I use most of these with free credits which run out at crucial moments.
Remember it is 100% AI code. I am effectively a prompt engineer and code critic and not a mathematician or programmer. For example I might prompt “make a pretty css in blue and orange with shading” but then be critical about centering or the colour of shading. Programming-wise: I might change text — like Mass Factor — but I am unsure as to what at present.
I have used a locally encrypted api key (an ENC file) [another of my ideas] to access it as it uses my unique API key for Gemini to access it.
The old version of Gravity Ball can be used here:
Note: AI solution by Prompt is still a long way away. I thought I could train it against the physics solution.