Bubble Universe
-
- Posts: 12
- Joined: Wed Sep 27, 2023 11:48 am
- Contact:
Bubble Universe
This is my version of Bubble Universe for Acorn RISC OS machines.
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/
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/
Re: Bubble Universe
Very nice indeed!
- Diminished
- Posts: 1252
- Joined: Fri Dec 08, 2017 9:47 pm
- Contact:
Re: Bubble Universe
Beautiful.
Probably looks nicer on a CRT than an LCD.
Probably looks nicer on a CRT than an LCD.
- dudleysoft71
- Posts: 298
- Joined: Tue May 26, 2020 6:56 pm
- Contact:
Re: Bubble Universe
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.
I've attached the file here, as far as I know it should work for both x86 and Apple Silicon macs.
James Watson - DudleySoft
BBC Model B 32K - PiTubeDirect, Pi1Mhz, Smally Mouse, Gotek, DFS/ADFS, 4xSWRAM.
BBC Model B 32K - PiTubeDirect, Pi1Mhz, Smally Mouse, Gotek, DFS/ADFS, 4xSWRAM.
-
- Posts: 12
- Joined: Wed Sep 27, 2023 11:48 am
- Contact:
Re: Bubble Universe
Thank you!
Yes, it looks much better on a CRT. Free hardware based "bloom" effect
-
- Posts: 26
- Joined: Wed Feb 06, 2013 10:21 am
- Contact:
Re: Bubble Universe
Lovely to see this, thank you.Movie Vertigo wrote: ↑Mon Oct 02, 2023 10:32 pm This is my version of Bubble Universe for Acorn RISC OS machines.
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.
-
- Posts: 12
- Joined: Wed Sep 27, 2023 11:48 am
- Contact:
Re: Bubble Universe
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 The performance seems to be limited to the frame rate defined in the MDF.
The different versions for download right now simply select mode 15, 28, 32, or use OS_ScreenMode to select 480x352alexandersmith 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.
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.
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.alexandersmith wrote: ↑Tue Oct 03, 2023 4:30 pm I know it's a work-in-progress and I will keep an eye open.
-
- Posts: 12
- Joined: Wed Sep 27, 2023 11:48 am
- Contact:
Re: Bubble Universe
Source code now available...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.
https://movievertigo.github.io/download ... ceCode,ffb
Re: Bubble Universe
Fantastic, many thanks! Works pretty nicely on my old 2013 MacBookProdudleysoft71 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.
Re: Bubble Universe
Love this, awesome work!
Reminds me of Spheres of Chaos. Great game.
Reminds me of Spheres of Chaos. Great game.
-
- Posts: 12
- Joined: Wed Sep 27, 2023 11:48 am
- Contact:
Re: Bubble Universe
How did you record the CRT footage?
-
- Posts: 12
- Joined: Wed Sep 27, 2023 11:48 am
- Contact:
Re: Bubble Universe
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.