Page 1 of 1
Bubble Universe
Posted: Thu Jan 05, 2023 8:03 pm
by JHPJHP
The following bit of code came from a link
posted by BarryG.
I believe the original code was written by Paul Dunn ~developer of SpecBas.
If you don't feel like running the code, see the following online demo:
Bubble Universe
•
Old Skool Effects & Other Stuff
Re: Bubble Universe
Posted: Thu Jan 05, 2023 8:11 pm
by Mijikai
Thats genious, thanks for sharing

Re: Bubble Universe
Posted: Thu Jan 05, 2023 9:46 pm
by idle
wow that's a beauty, it's a bit like all the trajectories in nova attractor happening all at once.
Re: Bubble Universe
Posted: Thu Jan 05, 2023 10:06 pm
by mk-soft
Nice

Re: Bubble Universe
Posted: Thu Jan 05, 2023 10:17 pm
by STARGÅTE
Awesome, such small code that adorable graphic.
Re: Bubble Universe
Posted: Fri Jan 06, 2023 2:33 am
by BarryG
Nice!
Re: Bubble Universe
Posted: Fri Jan 06, 2023 7:06 am
by JHPJHP
Hi Mijikai, idle, mk-soft, STARGÅTE, BarryG,
You've got to love math.
Whenever I find a gem like this, I'm humbled by what some programmers are able to do with so little code.
A version of the algorithm was probably written at a time when static RAM was thought about in KB; my first computer was the
VIC-20.
An updated version can be found in
Windows Services & Other Stuff
- \Other_Stuff\OldSkoolEffects\SpecBAS\Bubble_Universe.pb
Re: Bubble Universe
Posted: Fri Jan 06, 2023 10:34 am
by Sicro
Very impressive indeed
@JHPJHP: Thanks for the translation to PB.
Here is the corresponding forum thread.
There are two more variants to look at directly:
(Press the play button)
Re: Bubble Universe
Posted: Fri Jan 06, 2023 10:50 am
by Caronte3D
Is fascinating the result with such a little code

Re: Bubble Universe
Posted: Sat Jan 07, 2023 9:38 am
by IceSoft
JHPJHP wrote: Fri Jan 06, 2023 7:06 am
2. Closely matches the original version; found on GitHub.
can you post the link too?
Re: Bubble Universe
Posted: Sat Jan 07, 2023 4:24 pm
by JHPJHP
Hi Sicro,
You are most welcome and thank you for posting the additional links.
----------------------
Hi Caronte3D,
I had the same reaction.
----------------------
Updated:
- modified the example in the first post; second post was also updated, based on a previous comment.