I would like an article on how he made the interactive animations in the article.
I would like an article on how he made the interactive animations in the article.
It's almost like being able to hold the part in your hands, examine the reasoning behind its structure and "debug" your mental model of it by playing its operation back and forth.
We also had really large blocks, because someone dropped one on my head.
"Just bare webGL, it’s not that many lines of code to setup and it gives me complete control over what I want to render" https://twitter.com/BCiechanowski/status/1388504529646211076...
It seems parts of it are auto-generated like all those co-ordinates. But then some parts appear as if they are hand-coded.
I also noticed that other program texts are getting assigned to variables (example "line_vert_src"). Could someone please describe what's going on?
That explosion animation is absolutely mind-blowing. Goes to show what can be achieved if someone focuses their attention to a topic to understand it in depth and explain it at the same depth.
These are fragments of code in "OpenGL ES Shading Language", passed to WebGL. See for instance [0] for a tutorial.
[0] https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/T...
He doesn't even use any libraries for the 3d math, input, rendering, etc. Pretty inspiring.