SpielbergRules
New Member
Hello Excel/VBA gurus,
Some time ago I started a VBA project for a friend/client in Excel 2019.
The "splash" screen was to show their logo and have moving "orbs" slowly move around it. However, the orbs needed to bounce off of each other.
I thought it would be easy to do until I remembered the square bounding box. The amount of math I figured that was needed to check all around several orbs was insane and would make this thing slow to a crawl.
Before I start scanning stuff, I just wanted to ask if anyone has tried anything like that.
So basically, 5 "orbs" (or just circles for this example) need to move around in a defined space, but bounce off of each other. The logo itself would be "behind" the orbs and is irrelevant for this example.
I will find the code so I can post it, but it's really insane and "primitive".
Thanks for any advice.
Mike
Some time ago I started a VBA project for a friend/client in Excel 2019.
The "splash" screen was to show their logo and have moving "orbs" slowly move around it. However, the orbs needed to bounce off of each other.
I thought it would be easy to do until I remembered the square bounding box. The amount of math I figured that was needed to check all around several orbs was insane and would make this thing slow to a crawl.
Before I start scanning stuff, I just wanted to ask if anyone has tried anything like that.
So basically, 5 "orbs" (or just circles for this example) need to move around in a defined space, but bounce off of each other. The logo itself would be "behind" the orbs and is irrelevant for this example.
I will find the code so I can post it, but it's really insane and "primitive".
Thanks for any advice.
Mike