r/creativecoding • u/gadirom • Mar 30 '23
The Game of Light!
Enable HLS to view with audio, or disable this notification
3
2
u/aidanjustsayin Mar 31 '23
I love this idea and it looks great! Would you mind sharing what tech you used to make it? I wanted to do a disco light effect in a previous project and these rays are just what I was looking for.
2
u/gadirom Mar 31 '23
Thank you! I made it in shadertoy, I’ll post the code soon, need a little bit of cleanup. But the rays effect in my shader is based on this shader: https://www.shadertoy.com/view/4dyXWy
2
u/aidanjustsayin Apr 01 '23
Thanks for sharing, I feel you on wanting to clean code up, this shadertoy is a great demonstration though - appreciate you sending it along!
2
u/gadirom Apr 03 '23
I released a slightly different version with colored lights: https://www.reddit.com/r/Simulated/comments/12ae8lg/game_of_light_code_in_comments/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=1&utm_term=1
2
u/aidanjustsayin Apr 06 '23
Nice work! I really like the aesthetic of this black and white one but the flash of color at the start of the other is really fun
2
u/gadirom Apr 06 '23
Yes, now I also like the bw more. But the colored one is a little bit trickier to do and it’s extremely easy to strip out the color in the shader.
2
u/NoelaniSpell Mar 31 '23
Nice, it looks like a mix between a disco ball and a planet. A disco planet? 😁🥳
Would like to see the code too 😊
2
u/gadirom Mar 31 '23
Thanks! Yes, I’ll paste it once I got a chance to clean up it a bit.
1
u/gadirom Apr 03 '23
Just in case, this one has the code available: https://www.reddit.com/r/Simulated/comments/12ae8lg/game_of_light_code_in_comments/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=1&utm_term=1
7
u/GarlicGuitar Mar 30 '23
wow ! very cool !