News for hackers. Stuff that matters.
Re:Lego Mosaics Using R by garyclarke27 on Saturday March 23, 2019 @06:07AM (#19469841)
Looks cool, just wondering (I don’t know R but plan to learn it soon) - Could this be a base, to build something like Minecraft in R?
Re:Lego Mosaics Using R by Macuyiko on Saturday March 23, 2019 @08:34AM (#19470176)
Like, playable and all? Very unlikely. It's not going to be fast enough and R is not typically the language you'd use for games.

But to e.g. import a Minecraft world and render it with the rayshader package? That might actually be a fun idea!

Re:Lego Mosaics Using R by javierluraschi on Saturday March 23, 2019 @01:29PM (#19471371)
Got your back! I've been working on a JS voxels side project which I just made available for R: https://github.com/javierluraschi/voxels

I still need to add support to add voxels from R and retrieve them, but should be straightforward, the hard part was putting together the rendering engine.