ScratchData LogoScratchData
Back to Catz41's profile

4 dimensional projection

CACatz41•Created June 28, 2025
4 dimensional projection
1
1
10 views
View on Scratch

Instructions

A system to project a 4d wireframe to 2d. Camera looks in +W direction. Default scene is a double-rotating approximated 3-sphere (4d sphere). The scene is interpreted like a normal 2d image, except the extra 4th dimension corresponds to an extra direction for the 3d image (4d surfaces are 3d volumes). Mouse to change 3d viewing direction (or, equivalently, 2 components of 4d roll) Points that look like they’re inside the 3-sphere are not inside it (the 3-sphere is only the boundary). This is nothing special: a sphere is drawn as a filled circle in 3d, and this is the 4d version of that. Rotations and translations of the camera must be accounted for by changing the inputs to the function. See https://turbowarp.org/1193044173/fullscreen?hqpen for more preformance Yes, you can combine the tessseract and sphere… just do it on turbowarp if you don’t like exploding computers. Don’t turn on turbomode. It actually makes things slower (somehow).

Project Details

Project ID1193044173
CreatedJune 28, 2025
Last ModifiedJune 29, 2025
SharedJune 28, 2025
Visibilityvisible
CommentsAllowed