another 2d demo basically entirely a glsl shader
trying to get my head around cel shading
lots to learn still, but this is my first attempt
day-dreamer
night-timer, party-crasher
Current Location
📍 Cairo, Egypt
| I make music | https://mirlo.space/shehackedyou/releases |
| I write code | c,cpp,go,rust,ruby,python,java,js, .. |
| I use XMPP | [email protected] |
| 💕 / 🤬 Letters | [email protected] |
another 2d demo basically entirely a glsl shader
trying to get my head around cel shading
lots to learn still, but this is my first attempt
was using 2d library called pixel before on these little demos that are rarely above 750 lines of code; but it has an issue with glsl shaders on the hardware I use, I have working code for it, need to hunt down the bug and submit a pull request with the fix
so for now I switched to the 2d engine ebiten for my 2d demos
so this one is basically just a glsl shader for all of it, making it much smoother, and allows more interesting aesthetics
more ppl in my life are dying and it breaks my heart
code for a demo I made yeseterday
someone from Tiktok asked if they could have the sourcecode which was incredibly unexpected
https://codeberg.org/shehackedyou/demo-1bit-zebra-lavalamp
most of it is the export code because I use gg to ensure the exported video is vector
took the escher-esque concept from before and built it out to a more representational scene
in the top left thats a lorenz attractor, i talked about these before, they are very very useful in these style of 2d demo scenes
https://codeberg.org/shehackedyou/demo-skyfall-v1
pushed the code for a recent line-art demo, I will try to include other ones when time permits
code for the tree demo is a bit more messy bc I created like 5+ diff demos so I need to clean up the code a little bit before I submit that one so its at least clear whats part is the current scene and deadcode doesnt confuse things too much
might keep all the demos in a single repo, haven't decided yet on exact orgnaization
this code corresponds to this demo:
taking the line drawing concept and adding more details and a parallax star field at the end
got the branches dialed in, and the growth way smoother
happy with that part, the scene is coming together aesthetically too
the leaves are still an issue especially because I have it programmed to bloom after it hits a certain size
keep in mind, 2d library, no models, no obj files, no vertices tracked, pure equations
like the other recent things ive been working on this is made with 2d library pixel
this is like the first draft of this concept
but now I have some base code for biological structures I can reuse later
mostly just wanted to do some pretty math visualization
not super happy with it, but its fake 3d in 2d, so its a start