4D Rotation Curved Space Shader with three.js
2025-05-22
A GLSL shader built with three.js that simulates curved space by projecting 3D models onto a 4D unit sphere using 4D rotation and stereographic projection. Originally written in HLSL for the Unity game Sfera, this shader allows users to zoom, rotate, and control the camera perspective to experience animated models moving within a curved space. An online demo and video tutorial are available. Models are loaded at runtime from the three.js repository.
Development
4D Graphics