Bubble Universe

new graphics/music demos - bitshifters, 0xc0de, The Master + others
Post Reply
Movie Vertigo
Posts: 12
Joined: Wed Sep 27, 2023 11:48 am
Contact:

Bubble Universe

Post by Movie Vertigo »

This is my version of Bubble Universe for Acorn RISC OS machines.
thumb.png
Video of it running here...
https://www.youtube.com/watch?v=VxGOBxy6oAY

It's written in heavily optimised, handcrafted ARM code and should run on any RISC OS machine, from an original Archimedes to a Risc PC. It even runs on a Raspberry Pi with RISC OS 5.28 installed!

On a 200MHz StrongARM Risc PC, where it manages to simulate 16384 particles at 93 frames per second in 480x352 256-colour mode.

If you want to try it out on your own machine, you can download it here...
https://movievertigo.github.io/download ... euniverse/
User avatar
lovebug
Posts: 1758
Joined: Sun Jan 31, 2021 5:07 pm
Location: Magrathea
Contact:

Re: Bubble Universe

Post by lovebug »

lovely jubbly
Image Image Image Image
User avatar
trixster
Posts: 1175
Joined: Wed May 06, 2015 12:45 pm
Location: York
Contact:

Re: Bubble Universe

Post by trixster »

Very nice indeed!
User avatar
Diminished
Posts: 1243
Joined: Fri Dec 08, 2017 9:47 pm
Contact:

Re: Bubble Universe

Post by Diminished »

Beautiful.

Probably looks nicer on a CRT than an LCD.
User avatar
dudleysoft71
Posts: 298
Joined: Tue May 26, 2020 6:56 pm
Contact:

Re: Bubble Universe

Post by dudleysoft71 »

I converted it into a MacOS screensaver, which I use on my machine at work, it's a bit slow because it's using the OS Graphics library to draw all the points, but it still looks nice running.

I've attached the file here, as far as I know it should work for both x86 and Apple Silicon macs.
Bubble Universe.saver.zip
(11.27 KiB) Downloaded 29 times
James Watson - DudleySoft

BBC Model B 32K - PiTubeDirect, Pi1Mhz, Smally Mouse, Gotek, DFS/ADFS, 4xSWRAM.
Movie Vertigo
Posts: 12
Joined: Wed Sep 27, 2023 11:48 am
Contact:

Re: Bubble Universe

Post by Movie Vertigo »

Diminished wrote: Tue Oct 03, 2023 12:00 am Beautiful.
Thank you!
Diminished wrote: Tue Oct 03, 2023 12:00 am Probably looks nicer on a CRT than an LCD.
Yes, it looks much better on a CRT. Free hardware based "bloom" effect :lol:
alexandersmith
Posts: 26
Joined: Wed Feb 06, 2013 10:21 am
Contact:

Re: Bubble Universe

Post by alexandersmith »

Movie Vertigo wrote: Mon Oct 02, 2023 10:32 pm This is my version of Bubble Universe for Acorn RISC OS machines.
Lovely to see this, thank you.
The performance seems to be limited to the frame rate defined in the MDF.
If you have (say) two versions of 640x480 with different frame rates, it seems to either:
(a) Choose the lowest.
(b) Accept which mode RISC OS chooses.

According to the manual for the monitor connected to my Iyonix the maximum frame rate for 800x600 is 75Hz so that's as far as I can test it.

I know it's a work-in-progress and I will keep an eye open.
Movie Vertigo
Posts: 12
Joined: Wed Sep 27, 2023 11:48 am
Contact:

Re: Bubble Universe

Post by Movie Vertigo »

alexandersmith wrote: Tue Oct 03, 2023 4:30 pm The performance seems to be limited to the frame rate defined in the MDF.
Yes, as it's written now, it waits for the vsync to make things buttery smooth.
alexandersmith wrote: Tue Oct 03, 2023 4:30 pm If you have (say) two versions of 640x480 with different frame rates, it seems to either:
(a) Choose the lowest.
(b) Accept which mode RISC OS chooses.
The different versions for download right now simply select mode 15, 28, 32, or use OS_ScreenMode to select 480x352
There is a different binary for each resolution for speed. That way I can do things like... a) bake in unrolled loops b) Convert certain MULs to shifts, etc.
The BASIC file that assembles the code does a lot of logic to make the optimal code depending on the resolution.
alexandersmith wrote: Tue Oct 03, 2023 4:30 pm I know it's a work-in-progress and I will keep an eye open.
I intend to release the source code soon, once I've made a few more tweaks. Then you'll be able to select the exact modes you want.
Movie Vertigo
Posts: 12
Joined: Wed Sep 27, 2023 11:48 am
Contact:

Re: Bubble Universe

Post by Movie Vertigo »

Movie Vertigo wrote: Tue Oct 03, 2023 7:11 pm I intend to release the source code soon, once I've made a few more tweaks.
Source code now available...
https://movievertigo.github.io/download ... ceCode,ffb
User avatar
baz4096
Posts: 1116
Joined: Sat Apr 10, 2021 3:51 pm
Location: Baildon, West Yorkshire
Contact:

Re: Bubble Universe

Post by baz4096 »

dudleysoft71 wrote: Tue Oct 03, 2023 9:25 am I've attached the file here, as far as I know it should work for both x86 and Apple Silicon macs.
Fantastic, many thanks! Works pretty nicely on my old 2013 MacBookPro
User avatar
simonm
Posts: 363
Joined: Mon May 09, 2016 3:40 pm
Contact:

Re: Bubble Universe

Post by simonm »

Love this, awesome work!
Reminds me of Spheres of Chaos. Great game.
Movie Vertigo
Posts: 12
Joined: Wed Sep 27, 2023 11:48 am
Contact:

Re: Bubble Universe

Post by Movie Vertigo »

simonm wrote: Tue Oct 10, 2023 1:14 am Love this, awesome work!
Thank you!
simonm wrote: Tue Oct 10, 2023 1:14 am Reminds me of Spheres of Chaos. Great game.
Yeah, I loved Spheres of Chaos. Multiplayer was fantastic fun!
User avatar
wmd
Posts: 340
Joined: Wed Feb 03, 2021 10:16 pm
Contact:

Re: Bubble Universe

Post by wmd »

How did you record the CRT footage?
Movie Vertigo
Posts: 12
Joined: Wed Sep 27, 2023 11:48 am
Contact:

Re: Bubble Universe

Post by Movie Vertigo »

wmd wrote: Sat Nov 11, 2023 11:51 pm How did you record the CRT footage?
With a Sony a7sIII.
I set the shutter speed to slightly longer than the refresh rate of the monitor to try and eliminate the black bars. You still get a "brighter" band rolling down the lit pixels, but because they're all single pixels it's hard to spot.
Post Reply

Return to “new projects and releases: demoscene”