Plasma Effect (2016)

(4rknova.com)

73 points | by todsacerdoti 3 days ago ago

13 comments

  • aquova 5 hours ago

    As someone who has seen this effect before, but was unclear how it was done, this article is very "and now draw the rest of the owl". They define a basic equation, it's about what I expected, but the end shader code doesn't use it in that form, and I found it pretty difficult to parse, I can't say I'm much better off in the end.

    • larodi 5 hours ago

      What I usually do in 2026 is copy the code and article and have Claude clarify the unclear parts for me. then is ok.

      • MonkeyClub 4 hours ago

        But that's sort of the author's job: if they wish to publish an article on a topic, they should make it both comprehensive and comprehensible.

  • tuzemec 7 hours ago

    All I hear is the music from Second Reality (the plasma cube part).

    https://youtu.be/iw17c70uJes?si=_KWmUg608NxgyrXv&t=348

    • Zaskoda 3 hours ago

      Every once in a while, at random times in life, I hear "I am not an atomic playboy" in my head.

    • lysace 3 hours ago

      I wonder what would happen to that music style if you went 16-bit/44.1 kHz with the samples. Has something like this been tried?

      I assume the 'grunginess' is a big part of what makes it work, but I'm also curious.

    • myth_drannon 4 hours ago

      Someone did a complete rewrite of it in js - https://covalichou.github.io/second-reality-js/

  • Noubelssy55 5 hours ago

    Love seeing plasma explained again. It’s wild how a few sines and cosines can still look this organic decades later. Feels very demoscene-pure: simple math, clever color mapping, and suddenly you’ve got motion and depth. Also cool to see specular highlights layered on top, old tricks, modern hardware.

  • SeriousM 7 hours ago

    Plasma-Pong was a great game

  • Subdivide8452 6 hours ago

    Loved the intro but that code sample could've used proper variable names.

    • Ronsenshi 5 hours ago

      Would have been awesome if there was step by step visualization where simple color transforms slowly upgraded until you get final result for easier understanding of what each thing is doing.

      Otherwise quite hard to visualize changes in you head.

      • Subdivide8452 3 hours ago

        Exactly. Like someone stated, it was a bit like "draw the rest of the fucking owl"

  • Sharlin 8 hours ago

    Specular is a cool addition!