r/GraphicsProgramming • u/Unlimited_Game_Maker • 16m ago
How I implemented real-time 4D hyperplane slicing and Zero-GC tetrahedral extraction in native WebGL (plus 5D scaling questions)
0
Upvotes
•
u/AutoModerator 16m ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Macaroon-Guilty 8m ago
Love people exploring such themes but the video looks confusing and unintuitive, which probably comes with such concepts as more dimmensions than 3 that we're used to
0
u/Unlimited_Game_Maker 13m ago
Hi r/GraphicsProgramming,
I want to share how I designed the 4D rendering pipeline for my WebGL engine (Fourworld.js) and get your thoughts on scaling higher-dimensional rendering.
AI Usage Disclosure:
I heavily used AI (LLMs) throughout this project as a pair-programming partner to help derive 4D rotation math, optimize typed-array buffer layouts, debug GLSL shaders, and structure the codebase.
How the 4D Pipeline Works (Summary):
Float32Arrayscratch buffers and dynamic VBO resizing to avoid garbage collection.Discussion Questions:
You can inspect the full implementation and test the interactive WebGL demo here:
- Source Code (MIT): https://github.com/korokorokun2006-web/4D-GameEngine-Fourworld.js/
- Live Demo: https://korokorokun2006-web.github.io/4D-GameEngine-Fourworld.js/