SDL Plasma

Moderator: Forum moderators

Post Reply
os62
Posts: 12
Joined: Tue Jan 28, 2025 7:56 pm
Contact:

SDL Plasma

Post by os62 »

SDL-PLASMA

Download:
https://github.com/orac81/miniapples/ra ... sma101.zip

splasma-screen.png
splasma-screen.png (52.58 KiB) Viewed 57 times

This is the classic "plasma" effect demo for SDL2 cross platform library. Its only 10k in size!

It is free running until the user closes the app.
Every 256 frames it randomly changes the colour palette.

Commands:
Mouse click: zoom.
SPACE: zoom+change colours.
D : change speed.

Linux32 & 64 bit executables and C-Source is included.
It generates sine by a 64 byte lookup table (8 bit style),
it can run fast on old computers with no FPU.

NOTE - You need to install the SDL2 library/dll before use. (ie: libsdl2-dev)

Enjoy!

Released as free/open software under GNU GPL3 license.

Post Reply

Return to “Games”