Comments

Comments is a small demo I wrote to play around with three.js and socket.io. It gives you a procedurally-generated practically infinite world for you to roam about in, and you can leave comments for other players to see.

Both the client and server are written in pure JavaScript. Comments are stored in a MySQL database, because it’s faster than the pure node.js sqlite3 database I was using before. The client only uses the server for retrieving comments: everything else – movement, world generation – are done clientside. The world is generated by using a simple 8-octave OpenSimplex noise algorithm.

Check it out at https://csnxs.uk/comments.

One thought on “Comments”

Leave a Reply