I've been loking into how 3B1B builds their rendering pipeline, and it's honestly mind blowing. They use Python along with custom OpenGl shaders to handle most of geometric transformations, shich seems to be what creates those "brain breaking" visual effects.It's fascinating how our visual cortex tries to interpret overlapping geometric patterns and ends up producing such counterintuitive perceptions. Shat I still can't quite wrap my hand around is... to what extent are these effects caused by the rendering itself, and how much of it is just how our brain interprets the visual information?
there is at least one video, if not a series of videos, where he explains his process in detail, showing the coding process and everything. it is a collaboration with another person where, if i recall, he is teaching them.
i will see if i can find it.
edit: "How I animate 3Blue1Brown | A Manim demo with Ben Sparks" https://www.youtube.com/watch?v=rbu7Zu5X1zI
more on workflow: https://github.com/3b1b/videos?tab=readme-ov-file#workflow
code for videos: https://github.com/3b1b/videos
manim: https://github.com/3b1b/manim
manim community edition: https://github.com/ManimCommunity/manim/