Top
Best
New

Posted by stagas 16 hours ago

Show HN: Hallucinate – Massively Multiplayer Online Rave(hallucinate.site)
https://github.com/stagas/hallucinate
379 points | 169 comments
AdammadA 13 hours ago|
It's cool to see things like this, I wasn't aware of. I made something similar for VR around 6 or 7 years ago with full DJ mixing on real vinyl turntables. I got things built so DJs could play their set from anywhere in the world and have access to their music from their own studio or home etc. Unfortunately i was one guy making this and health issues have sadly put this project on hold indefinitely. It would be a shame to let it die like this and would love others to carry the project further. What would be the best way to share this, i really don't know as i made it using unity engine, all my own assets, scripts etc are made by me, no vibe coding or anything like that.

Here's a couple of videos of the project if anybody is interested in carrying this further, please let me know thanks.

https://youtu.be/qXeiqlFA7Rg?t=171

https://www.youtube.com/watch?v=nub6gKgLt44

https://www.youtube.com/watch?v=yWjZUOVbfx4

thenthenthen 11 hours ago||
Super cool, during covid times I sorta started making a system where you could back2back dj mix with a remote friend, but never really got anywhere. Would love to pick it up again, or know if there have been some new developments in this field? There are some ‘jam together’ type projects but as I recall, these werent really suitable for DJ mixing electronic music (latency wise).
AdammadA 59 minutes ago|||
the B2B idea was something i too wanted to implement but ultimately didn't want to look too far ahead and bite off more than I could chew knowing the potential problems as mentioned below by the other commenter with latency, mixing and syncing, interpolation, extrapolation etc.. At that point I just decided to focus on 1 DJ / Producer doing a live set and essentially just live broadcast without any sync issues to handle as it wouldn't matter if the set was delayed. But it would be so cool if that feature could be implemented. I hope one day somebody much smarter than me could work towards some of these features.
nluken 6 hours ago|||
Unfortunately, you're usually working against physics and not software, because, as you allude to, playing music together requires near perfect latency (some sources say 10ms as an absolute maximum) that's physically impossible to achieve over a long distance, even if you had a perfect connection.
thenthenthen 5 hours ago||
Yeah right? But there must be some clever tricks, like a 1 bar buffer and only sending timing info and control data over the network mmmmm
crumpled 4 hours ago||
Perhaps you're being coy. But, I'm pretty sure people do this. The performers can collaborate in "real time" (still offset from each other in real life) and the other participants (dancers and listeners) only hear finished music at the same time as all the other participants.

The latency is in the audience/performer energy.

sneak 9 hours ago|||
If you want other people to carry it further, release your work as free software.
AdammadA 1 hour ago||
I'll look into doing this. I'm not sure how things work legally with the unity engine and relinquishing my assets using their game engine as free. I assume all my assets etc are clearly mine to give away without conflicting with unity's terms and conditions. I'll have to do some research and find out what is the best way to share this in hope of progression.
geod_of_ix 6 hours ago||
Publish to github or radicle. If you're not sure how, just have an AI CLI help.
keepamovin 7 minutes ago||
That is super cool. I think that's probably the longest I've played with anything I've seen on Hacker News. That is super cool. :)
stagas 15 hours ago||
The GitHub repository is https://github.com/stagas/hallucinate - License is MIT - All contributions are welcome.
stagas 5 hours ago||
Now that I have your attention, I've made this and I've been unemployed for a very long time -due to health issues- but now I'm fine and I'm looking for a job, creative frontend development in TypeScript is my specialization. Remote preferrably - European timezones. My email is in my HN profile if anyone's got any offer it would be amazing. Tysm everyone!
haggy 3 hours ago||
First, congrats on getting healthy!

Secondly, since you're presenting this as a portfolio entry, I have some open, honest feedback. I quickly reviewed the repository and there are some pretty major orange-red flags that would dissuade employers from reaching out. Some of them include:

- Lack of coherent repository structure. All files under src/ with no sense of modularity

- The commit messages are very poor. Messages like "cool" and "jump jump" and "perf" do not provide any context to anyone outside of yourself (and probably not even you will remember what those changes were days/weeks from now)

- There are magic numbers everywhere. The biggest offender I found was in shaders.ts

There are more but those are the top ones I saw from my quick review. Again this isn't meant to discourage you. I wanted to provide the feedback to help you be more successful with potential employers. Cheers!

keepamovin 4 minutes ago||
Why not just send this as an email rather than poisoning the whole thread and dissuading people from being interested/looking more? It's not a very nice thing to do.

I bet there's probably a bunch of things that are worth looking at. Focus on that to get other people seeing the obvious talent of this person who is asking for help.

You're the one who good do better here.

jackb4040 5 hours ago|||
This is unhinged, I love it! Just a flat hierarchy of like a hundred ts files.

It see some mixamo references. How are you playing animations? Is it optimized in any way for that many characters?

stagas 5 hours ago||
The animation player is made by the AI and there have been many optimization passes but the AI did them so I can't help you really with that question. I'm using GPT 5.5. I initially tried Three.js but it was way too slow, so I went building shaders directly. I figured the fastest paths will need to be tailored to the use-cases and a framework is good for humans at the expense of performance but since now we can just write the specific code directly that's better.
madanparas 15 hours ago||
Add a README file, bro
stagas 15 hours ago|||
I don't want to push now because it will restart the server and break all connections :/
nemothekid 15 hours ago||
add [skip ci] to your commit message
vaylian 11 hours ago|||
docs: https://docs.github.com/en/actions/how-tos/manage-workflow-r...
stagas 15 hours ago|||
I added.
FrankSansC 14 hours ago|||
And at least one screenshot
stagas 7 hours ago||
I added.
starshadowx2 3 hours ago||
This reminds me of the 2021 Secret Sky online music festival put on by Porter Robinson. The 2020 one was similar but the 2021 version had little human-like avatars. Some other people and me were messing around with the browser console to do things like change our accent colours or change the location text above our heads to whatever else we wanted.

https://www.webbyawards.com/crafted-with-code/secret-sky-202...

https://www.webbyawards.com/crafted-with-code/secret-sky-202...

Jordan-117 15 hours ago||
Shout-out to the dearly departed theclub.zone, which did this with a bit more panache (as well as a punishingly difficult secret platformer puzzle).

https://www.youtube.com/watch?v=MAXY_bZvWUU

https://www.youtube.com/watch?v=U9I_zfQrfzM

But imho, the truest club experience is the short game SLAVE OF GOD by Increpare:

https://www.youtube.com/watch?v=OSmlqOorQqk

https://www.increpare.com/2012/12/slave-of-god/

1e1a 4 hours ago||
I made a player motion heat map from ~5 hours of data: https://i.imgur.com/7lDuJI6.png
stagas 3 hours ago|
Very interesting! Thank you.
grvdrm 10 hours ago||
So fun. Long-time fan of electronic music and am heading to my first DJ-centered concerts this year.

I think that scene is overrun with influencer types and various types of recreational substance use. Maybe I'm wrong.

Bookmarking for background while I do other things!

datsci_est_2015 2 hours ago||
Varies heavily by venue and subgenre. All of the shows that I can remember offhand I saw absolutely minimal phones / videos / picture taking. It was usually me (briefly) because I love going back through a decade plus of videos and reminiscing, usually 1-3 per show depending on how important the show was to me.

There’s a sampling bias that occurs if you rely on social media to inform you how rampant “influencing” is - of course shows with more influencers will be the ones that show up in your feed, because they’re the ones with the influencers!

bitwize 8 hours ago|||
The scene has always been overrun with recreational substance use, dawg. Partake or not as suits your vibe and life goals, but get ready for it to be a prominent thing among others.

"Influencer types" are new; social media has been corrosive even to this scene as well. A number of clubs in the UK and elsewhere are implementing no-phones policies as a result, so you can dodge some of it by picking venues.

grvdrm 4 hours ago||
Fair points all around. I am now flashing back to jam/funk shows that occurred in smoke clouds.
barbs 10 hours ago||
Not sure what part of the world you're from but I'm sure you can find some decent authentic gigs around where people aren't doing it for the likes and follows :)

Honestly, going to a rave with a dancefloor and cool people is kind of lifechanging. It's kind of the environment that a lot of (most?) dance music is made for. Have a great time!

grvdrm 8 hours ago||
NYC (area). So - fortunately, plenty of folks come through here!
fapi1974 5 hours ago||
I just had more fun here than doing anything online for years. Thank you.
montag 1 hour ago||
Suggestions:

- make the controls work like a typical FPS (i.e. WASD controls should not rotate the player but just strafe)

- make spacebar jump, and a different key to talk, like T

- make the jump work like a platformer where you start falling as soon as you release the button. so people can make small hops to the beat

- stop dancing after a few seconds of inactivity

stagas 1 hour ago|
1) It's not an FPS though, you don't need aiming and you need to rotate without having to touch a mouse.

2) Maybe

3) Maybe

4) Everybody dancing forever is crucial for the feeling. You don't stop dancing in a rave. If you want that you sit down or change to standing motion.

schaefer 15 hours ago|
I think allowing jumping would add a lot. looking over the top of a whole crowd would be more visually dynamic.
stagas 6 hours ago||
Added! b for bounce!
stagas 15 hours ago||
Good idea. PR will be accepted.
More comments...