← Back to context

Comment by danwills

20 days ago

I totally loved the plasma effect from whenever I first saw it, and implementing it myself in Pascal/DOS was one of the first times I really started to understand a 'shading'-like context where you are coming up with a value for every pixel, the pixels can be made to have 2D 'coordinates' (even though they are actually a 1D chunk of VRAM! -> modulo to the rescue!) and that you could transform the 'space' such that you feed in the coordinates (including time) and evaluate different-enough sine functions (then sum them, in this case) to create a beautiful soft-waves-evolving-over-time result! Was definitely an eye-opener about how to make it have nice colors as well! Great to see things like this being documented in this way!