Minecraft Oval Generator
Enter a width and a depth to get the block grid for an oval, with row counts and the stacks to gather.
The plan above is the last valid one, dimmed. Fix the input to update it.
- Blocks
- blocks
- Stacks to gather
- stacks
- Full stacks of 64
- stacks
- Left over
- blocks
Row readout
The rule for an oval
The grid is W blocks wide and H blocks deep. A block is included when its centre falls inside the ellipse that touches the middle of each edge of the grid; a block exactly on the edge is included. In whole numbers that is (2i + 1 − W)² × H² + (2j + 1 − H)² × W² ≤ W² × H², with i counting columns and j counting rows from the top.
When width and depth are equal the rule is the same as the circle generator, so a 5 by 5 oval is the 21-block circle of diameter 5. A 4 by 2 oval is a full 4 × 2 rectangle of 8 blocks, because with so few blocks every one of them is inside.
Outline or filled
Filled keeps every included block. Outline keeps the included blocks that touch empty space on one of their four sides. The row readout gives each row’s length and column range.
Odd and even sizes
As with circles, an odd width or depth gives a single middle column or row, and an even one gives a pair. The even or odd comparison shows the difference for circles, and the same idea holds in each direction here.
Most placeable blocks stack to 64, and some items differ (Minecraft Wiki). A block grid only approximates a curve.
Questions
Which way is width and which is depth?
Width is the number of columns, left to right. Depth is the number of rows, top to bottom.
Where is the circle chart?
The circle chart lists circles by diameter. This page is for shapes where width and depth differ.
Not an official Minecraft product, and not affiliated with Mojang or Microsoft.