HNHacker News
TopNewBestAskShowJobs

masterspy7

474 karma · joined May 30, 2013

submissionscomments
masterspy7··on Show HN: Browse Reddit in 3D
I just added WebVR support! You can enable it by clicking on the headset icon in the bottom right
masterspy7··on Show HN: Browse Reddit in 3D
I just added WebVR support! You can enable it by clicking on the headset icon in the bottom right
masterspy7··on Show HN: Browse Reddit in 3D
Shift to sprint is done!
masterspy7··on Show HN: Browse Reddit in 3D
Just added Shift to sprint, enjoy!
masterspy7··on Show HN: Browse Reddit in 3D
Yes, I have multiple servers running and each room is limited to 12 players, so it's likely that each device is connecting to a different room.
masterspy7··on Show HN: Browse Reddit in 3D
Right now it just loads whatever the subreddit returns. I'm working on adding an option for that. If you want to browse a SFW one you can just pick a subreddit you know is SFW:

https://3dforreddit.com/r/aww

masterspy7··on Show HN: Browse Reddit in 3D
It's definitely possible, I just didn't have time to implement clipping properly haha.
masterspy7··on Show HN: Browse Reddit in 3D
Sorry about that! I haven't tested across all browsers yet. It should look like this though:

https://imgur.com/a/Lm1ipGm

masterspy7··on Show HN: Browse Reddit in 3D
How to use it Desktop: Click to start, WASD and mouse to move

Mobile: Dragging on left half of screen is move, right have is look

Append any subreddit to the url to switch subreddits

Tech stack - Babylon.js for the 3d rendering engine

- Google Cloud Function which queries Reddit Api and then transforms the data depending on the data type

- For images: Transform and serve through https://images.weserv.nl

- For videos (try /r/gifs, experimental) gets a url which can be played through a <video> tag, which is later copied frame by frame to a texture

- For websites, use puppeteer to take a screenshot

- For multiplayer (you can see other people in the same subreddit as you) https://colyseus.io/ and App Engine Flexible

- For chat, Firestore

Also, apologies for only having one avatar option! I wanted to add different genders, characters etc but didn't have time for the MVP!

Discord for more discussion: https://discord.gg/nrxQnT

masterspy7··on Show HN: The last person to use this button gets $200+ USD, via Smart Contracts
Yea, all the money is gone forever... :( I added that code in last minute and wasn't even thinking when I did it.
masterspy7··on Show HN: The last person to use this button gets $200+ USD, via Smart Contracts
Fixed the contract and will refund anyone who clicked on the old contract
masterspy7··on Show HN: The last person to use this button gets $200+ USD, via Smart Contracts
Oh god, I messed up horribly. Will refund everyone who paid
masterspy7··on Show HN: The last person to use this button gets $200+ USD, via Smart Contracts
Sorry! I changed the message. To interact with smart contracts, you need some kind of wallet. A really common one is the MetaMask wallet, which is a chrome extension. Other options are Mist (the official Ethereum wallet), Parity, and there is even a web wallet called myetherwallet.com
masterspy7··on Show HN: The last person to use this button gets $200+ USD, via Smart Contracts
Good point, I'll change the message. MetaMask is a common browser extension which allows you to interact with Smart Contracts on the web. Other alternatives are Mist, Parity, or myetherwallet.com
masterspy7··on Show HN: The last person to use this button gets $200+ USD, via Smart Contracts
Thanks, yea I've realized that there is little incentive to share this out, upvote, etc. I think Smart Contracts are a great way to test out some of these game theory scenarios though :)
masterspy7··on Show HN: King of the Hill Billboard via Ethereum Smart Contracts (+tutorial)
Hey HN, here is the tutorial which documents how I built this: https://medium.com/@neelrao_51658/step-by-step-how-to-write-... I hope it's helpful!
masterspy7··on Show HN: I synced 1 million pixels in real-time on Android to make a MMO canvas
Yea, that's where I got the idea from. I wanted to improve it though. His system had people sending him entire images, and you had to go through him to pay.

In this app, you can control it pixel by pixel through in-app purchases, and you get 1,000 for free so you can actually participate without paying.

masterspy7··on Show HN: I synced 1 million pixels in real-time on Android to make a MMO canvas
Some technical details: The backend runs on Google App Engine. The server keeps a concept of the 'freshest' canvas. I have a cron job that aggregates all pixel changes and creates a fresh canvas. When you download the app, you initially download the fresh canvas. After that, you only download a very small amount of JSON which represents the pixel changes.
masterspy7··on Show HN: Appcubator - Easy way to Prototype Web Apps
Looks nice. Building web apps doesn't have to be hard and these guys prove it.
← PreviousPage 2 of 2