frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: A rudimentary game engine to build four dimensional VR evironments

https://www.brainpaingames.com/Hypershack.html
34•teemur•2d ago
I think it's finally time to lock version 0.2 of my 4d side project. (Since previous Show HN a couple of years ago: https://news.ycombinator.com/item?id=37100760 I scrapped lots of stuff and concentrated on making a javascript "game engine")

The sole purpose of this project is to explore whether it's possible to make the human brain spatially aware of four dimensions using Virtual Reality. It’s my first ever game project, my first time using Unity, first time writing C#, and my first anything with WebXR, so please be gentle! To manage expectations, it isn't visually pleasing yet and it's not easily approachable. To get anything out of this, you likely need a pen and a paper and draw 3d slices of 4d objects _many_ times.

The project is essentially a rudimentary engine where you can use JavaScript to define 4D objects and some limited behaviors. You can then explore these spaces in a browser (with or without a VR headset), moving and rotating through all four dimensions—including double rotations on planes like xz and yw.The game is a webxr project, meaning you can just play that on the browser, even without VR headset. Note, however, that the keyboard input is a bit limited.

As a demo, I've built a simple maze game where you try to find gems before time runs out. The challenge ramps up, and I'm currently stuck trying to comfortably navigate Level 6, which involves moving around four separate tesseracts. Here is a page where I have tried to visualize what is going on at level 6: https://www.brainpaingames.com/blog/updates/2024/07/28/Hyper...

I have no expectations that this will any day be anything but a niche project of mine, but I thought here might be someone interested in playing around. And If anyone has any ideas how the pedagogy of learning to operate in 4 spatial dimensions could be made somehow more achevable, I'm all ears.

Comments

untech•8h ago
Very cool! Your page could do with some screenshots, but even now, I hope I’ll remember about your project next time I break out my Quest 2.
JoeDaDude•2h ago
Thanks for posting, will have to try it out later. I hope it works with my HP Reverb through Windows MR and/or Steam VR.

Re: pedagogy. Here is an anecdote. The very old Java game linked below is a 4d puzzle where players would have to rotate a tesseract to pass a ball through a hole. Comments made at the time were that players would fumble for a while but would eventually "get it" and after that the play was simple and obvious. I never got to that point. Maybe I'll fire it up and see if I can do better now.

http://harmen.vanderwal.eu/hypercube/

Black Sabbath's Ozzy Osbourne dies aged 76

https://www.bbc.co.uk/news/live/cn0qq5nyxn0t
158•fantunes•40m ago•29 comments

Tiny Code Reader: a $7 QR code sensor

https://excamera.substack.com/p/tiny-code-reader-a-7-qr-code-sensor
63•jamesbowman•2h ago•18 comments

Show HN: Any-LLM – lightweight and open-source router to access any LLM Provider

https://github.com/mozilla-ai/any-llm
27•AMeckes•1h ago•11 comments

First Hubble Telescope Images of Interstellar Comet 3I/Atlas

https://bsky.app/profile/astrafoxen.bsky.social/post/3luiwnar3j22o
37•jandrewrogers•2h ago•5 comments

Gemini North telescope discovers long-predicted stellar companion of Betelgeuse

https://www.science.org/content/article/betelgeuse-s-long-predicted-stellar-companion-may-have-been-found-last
46•layer8•2h ago•12 comments

Go allocation probe

https://www.scattered-thoughts.net/writing/go-allocation-probe/
61•blenderob•4h ago•19 comments

Show HN: Compass CNC – Open-Source Handheld CNC Router

https://www.compassrouter.com
8•camchaney•3d ago•0 comments

Fun with Gzip Bombs and Email Clients

https://www.grepular.com/Fun_with_Gzip_Bombs_and_Email_Clients
3•bundie•2m ago•0 comments

Facts don't change minds, structure does

https://vasily.cc/blog/facts-dont-change-minds/
145•staph•3h ago•98 comments

Better Auth (YC X25) Is Hiring

https://www.ycombinator.com/companies/better-auth/jobs/N0CtN58-staff-engineer
1•bekacru•2h ago

Font Comparison: Atkinson Hyperlegible Mono vs. JetBrains Mono and Fira Code

https://www.anthes.is/font-comparison-review-atkinson-hyperlegible-mono.html
109•maybebyte•4h ago•89 comments

OSS Rebuild: open-source, Rebuilt to Last

https://security.googleblog.com/2025/07/introducing-oss-rebuild-open-source.html
78•tasn•5h ago•29 comments

Don't animate height

https://www.granola.ai/blog/dont-animate-height
111•birdculture•2d ago•56 comments

TODOs Aren't for Doing

https://sophiebits.com/2025/07/21/todos-arent-for-doing
155•todsacerdoti•5h ago•120 comments

Bypassing Watermark Implementations

https://blog.kulkan.com/bypassing-watermark-implementations-fe39e98ca22b
18•laserspeed•2h ago•5 comments

Cosmic Dawn: The Untold Story of the James Webb Space Telescope

https://plus.nasa.gov/video/cosmic-dawn-the-untold-story-of-the-james-webb-space-telescope/
12•baal80spam•2d ago•1 comments

Launch HN: Promi (YC S24) – Personalize e-commerce discounts and retail offers

7•pmoot•2h ago•4 comments

Blip: Peer-to-Peer Massive File Sharing by Former Dropbox Engineers

https://blip.net/
102•miles•3h ago•76 comments

Yt-transcriber – Give a YouTube URL and get a transcription

https://github.com/pmarreck/yt-transcriber
121•Bluestein•5h ago•31 comments

1KB JavaScript Numbers Station

https://shkspr.mobi/blog/2025/07/1kb-js-numbers-station/
36•blenderob•4h ago•19 comments

Reverse Proxy Deep Dive: Why HTTP Parsing at the Edge Is Harder Than It Looks

https://startwithawhy.com/reverseproxy/2025/07/20/ReverseProxy-Deep-Dive-Part2.html
30•miggy•4h ago•4 comments

Show HN: The Magic of Code – book about the wonders and weirdness of computation

https://themagicofcode.com/sample/
60•arbesman•6h ago•17 comments

Subliminal Learning: Models Transmit Behaviors via Hidden Signals in Data

https://alignment.anthropic.com/2025/subliminal-learning/
3•treebrained•59m ago•1 comments

DaisyUI: Tailwind CSS Components

https://daisyui.com/
145•a_bored_husky•5h ago•121 comments

An unprecedented window into how diseases take hold years before symptoms appear

https://www.bloomberg.com/news/articles/2025-07-18/what-scientists-learned-scanning-the-bodies-of-100-000-brits
163•helsinkiandrew•4d ago•80 comments

Stop Pretending LLMs Have Feelings Media's Dangerous AI Anthropomorphism Problem

https://www.readtpa.com/p/stop-pretending-chatbots-have-feelings
20•labrador•1h ago•9 comments

How to Firefox

https://kau.sh/blog/how-to-firefox/
613•Vinnl•8h ago•359 comments

MakeShift: Security Analysis of Shimano Di2 Wireless Gear Shifting in Bicycles

https://www.usenix.org/conference/woot24/presentation/motallebighomi
24•motorest•3d ago•33 comments

CSS's problems are Tailwind's problems

https://colton.dev/blog/tailwind-is-the-worst-of-all-worlds/
82•coltonv•2h ago•113 comments

Ozzy Osbourne Dies, Aged 76

https://news.sky.com/story/surrounded-by-love-ozzy-osbourne-dies-aged-76-13400289
11•austinallegro•34m ago•0 comments