What you need to know to draw & animate Voronoi tesselations using shaders, and some effects you can add to them.
Background code in Vulkan (Rust `Vulkano`) and GLSL.
Add your own music to it!
Source code (approximate): https://github.com/Coddeus/Voronoi
Thumbnail: https://github.com/Coddeus/Voronoi/bl...
Timestamps:
00:00 Voronoi diagrams
00:34 Graphics API setup
00:59 Anti-Aliasing // MSAA // SSAA
01:38 Sending data to the Fragment Shader // DATA
02:14 Basic static Voronoi diagram
04:31 Adding points
04:59 Compute update shader, animate // UPDATE
06:24 Other distance functions
07:29 Adding borders between cells
08:17 Making the thumbnail
Смотрите видео Drawing Voronoi Tesselations - In Shaders онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Codeus 23 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 122 раз и оно понравилось 5 людям.