Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: