smusamashah a day ago

Someone once shared link here on HN of a collaborative code golf demo of a simple scene with sun, ocean and moving god rays of alternating color. You could see the code shortening while demo looking the same. At one point it changed from colorful demo to ascii of the same scene with even shorter code. I remember bookmarking it somewhere to see how it evolves further but lost where I saved it.

  • HanClinto a day ago

    I would be very interested in seeing this if someone else happens to have the link!

mistercow a day ago

There’s something very aesthetically amusing about these shaders fitting into tweets, and those tweets also having videos attached which very roughly approximate the same information using many orders of magnitude more data.

ds0 a day ago

Now is a great time to mention dwitter[0], where people post "dweets", trying to draw and animate interesting visual effects with a limit of 140 characters.

[0] https://www.dwitter.net/

mysterydip a day ago

I love how these look, but is there a way to interact with them (move the camera)? I want to explore them but I assume that breaks the illusion.

  • zellyn a day ago

    These? No, they’re too short, and often simplified to the point of being highly specific to exactly the given view. Many shaders on shadertoy will read mouse position; what the author does with it is up to them!

    You could certainly try cloning the examples and messing with them: turning some number between 0 and 1 in the code into (mouseX/screenwidth) could prove interesting!

    Most of these sites have a culture of learning from modifying and remixing other examples; just give credit where due

    • mysterydip a day ago

      Shaders are something I'm largely unfamiliar with but want to learn more. I'll check out shadertoy, thanks!

justtinker a day ago

Curious! Tweets render in Chrome but not Firefox.

  • haiku2077 a day ago

    Try turning off Enhanced Tracking Protection. I've noticed lately it breaks a lot of sites.

    • justtinker a day ago

      Yes. Found shield icon beside the lock and it specific block twitter(X).

ngcc_hk 13 hours ago

Wonder can you use this for say game of life and other social simulation ?

_benton 21 hours ago

Xor is a wizard.

RicoElectrico 18 hours ago

In the picture with rainbow bars the leftmost one looks a lot like a palette you get from photoelastic deformation (or a turning polarizer viewed from the "wrong" side)