Voxel Shape Generator

Written 11:36 am 7/4/2012 Modifed 10:09 pm 2/8/2015

Use this tool to make spheres for Minecraft and the like. Idea originally stolen from Neil Fraser, but more recently inspired by friendly competition with my friend Jesse, whose Circle Generator seems a little two dimensional.

Update (2/8/2015) Attempting to make this a little more bad-ass. See here

Update (3/14/2013) GUI makeover- I'm attempting to speed everything up by only rendering tables when you're ready for them. I also added isometric modeling (with culling this time) in canvas that should let you preview the shape.

Update (3/12/2013) You can now draw your own shape with Bezier curves! Adding SVG rendering methods for speed, although it's not as easy to read as tables. I'll try to make that work a bit better.

Update (9/30/2012) The script has been updated to generate cones and domes. If you have any suggestions, add them to the comments.

Posted by Anonymous on April 25th, 2017, 2:49 pm Reply
Posted by Jeremy on April 25th, 2017, 5:52 am Reply

I appreciate all effort that you put into this. Get export option as WaveFront /obj file / or LDraw Model will be handful.

Posted by Mo Fliggy on April 21st, 2017, 4:48 pm Reply

This is super handy thanks so much. It would be really cool if there was a way to save the schematics for some of the bigger projects.

Posted by Mo Fliggy on April 21st, 2017, 4:50 pm Reply

Hahaha! When I posted this comment it refreshed the page, making the schematics for Beizer Cube I was working on vanish.

Posted by Mo Fliggy on April 21st, 2017, 4:50 pm Reply

Hahaha! When I posted this comment it refreshed the page, making the schematics for Beizer Cube I was working on vanish.

Posted by JohanBrough on April 8th, 2017, 12:26 am Reply

Love this! I bookmarked it for future use. I only have one question though. I generated a 52 by 25 by 52 hollow dome, and there is a missing layer on top where there is a hole in the roof. This is no issue, I can easily patch it up, was just wondering why.

Posted by The_Sir_Logan on March 15th, 2017, 4:43 pm Reply

Any way to export these to a schematica file? Maybe have a generic drop down box to select your material of choice then export the object.

Posted by C on March 8th, 2017, 3:18 am Reply

Make it so its full screen and you can actually scroll and fit it to your screen properly its too small when working with 300+ block spheres

Posted by nordal on February 14th, 2017, 10:56 pm Reply

Great tool! Thank You!

Posted by Aj on January 27th, 2017, 3:16 pm Reply

Love it, but it takes a long time to build but... I did build it in survival????

Posted by Aj on January 27th, 2017, 3:18 pm Reply

No emojis ;(

Posted by no name on January 21st, 2017, 3:06 pm Reply

Is there any way you could turn up the contrast a little?

Posted by Random Guy on December 2nd, 2016, 11:41 pm Reply

You need to add tutorial on how to use bezier cube

Posted by Kyle on November 28th, 2016, 10:01 am Reply

I feel like a cool idea would be a user can enter cube dimensions and it would generate a dome/sphere etc large enough to fit said object.

Posted by Inchman on January 12th, 2017, 11:10 am Reply

I agree. I could use the same thing for times where I want to turn my existing square'ish building into a circle. I could calculate it but if you looking for useful tools to put on your site this would be one. I have tried a little to search one out that does this but cannot find one.

Posted by Ray on February 26th, 2017, 1:53 pm Reply

I'm not sure how that's different from what I have. Could you explain more?

Posted by GrifterMage on March 25th, 2017, 11:20 am Reply

Let's say you have a cube, and want to put a sphere or dome around it. How big do you need to make the circle so that the cube fits perfectly within it?

Using the same X/Y/Z dimension as your cube gives you a sphere/dome that fits within your cube, not one that fits around it; it needs to be bigger. But how much bigger, exactly? Kyle's asking for a tool that he can plug the dimensions of his cube into that will then do the required geometry math for him and spit out a sphere/dome of the necessary dimensions to contain said cube.