Random Platform Generator
Place 2D platforms at seeded positions and widths inside a level width, printed as x, y and width triples.
Positions inside a fixed width
For each platform the page draws a width from 3 to 8 columns, a height from 1 to 18 rows and an x from the whole free span, computed as a draw over level width minus platform width plus one. That last step is why a platform can never overhang the right edge of the level.
The page places platforms independently: it does not check reachability, does not keep a minimum gap, and does not know your jump height, so two platforms can sit at the same height and overlap in y. The level width must be a whole number from 10 to 200, the platform count from 1 to 20, and the seed from 0 to 4294967295.
The three draws per platform come from one 32-bit mulberry32 stream read in order, so the same count, width and seed always print the same layout. Nothing is uploaded.
Places a requested number of platforms inside a level width, each as an x, y and width triple, from a seeded draw.
It guarantees only that a platform fits inside the width — it does not check that your character can jump between them.
How to use it
Set the platform count, the level width in columns and a seed, then press Run. Each line is one platform in placement order, with x measured from the left edge.
The x draw is bounded by the level width minus the platform width, so the overhang case never arises. Overlap between platforms is not prevented, because a sketch is usually easier to nudge than to generate perfectly.
What to Expect
Best for
- a platform sketch
- a prototype jump course
- filling a vertical slice
What this tool keeps
- platforms that fit the level width
- one line per platform
- the seed for a redraw
Frequently asked questions
How do I use the random platform generator?
Enter a platform count, a level width and an integer seed, then press Run. Each line prints one platform as x=, y= and w= in placement order.
Is anything uploaded or stored when I press Run?
No. The draw happens in this tab with JavaScript: no request leaves the page, nothing is stored and a reload clears the form.
What are the limits and bounds?
The level width must be a whole number from 10 to 200, the platform count from 1 to 20, and the seed from 0 to 4294967295; anything outside is refused rather than clamped.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.