Epicycle Studio
Turn a picture into a sketch, draw it with spinning circles, and get its equation.
- Outline editor with smart edges, down to 1 px
- Every layer drawn at once: circles, gears, cranes or polygons
- Poster, equation and MP4 video export
A small suite of tools for shapes, math and data. Each tool works on its own, and they pass work to each other: use Send to in the top bar, or Open file to drop in a photo or a saved Orrery file.
Turn a picture into a sketch, draw it with spinning circles, and get its equation.
Open any JSON, however large, as a graph or tree. Coefficient files redraw their shape.
Analyse an image's colors and turn it into stencil layers, ready to print, cut and spray.
← Part of the Bourzik lab · 3 tools · version 0.0.3 Beta · About and what's new
Orrery is a small suite of tools for shapes, maths and making things. Each tool works on its own, and they pass work to each other.
Orrery is part of the Bourzik lab of small, free browser tools.
The name comes from the orrery, a clockwork model of the solar system in which gears turn arms and small planets circle on the ends of those arms: circles riding on circles. That is exactly how Epicycle Studio draws a shape, and the suite grew out of it.
Epicycle Studio turns a picture into an outline, then redraws that outline with chains of spinning arms, the same "circles on circles" astronomers once used for the planets. Fourier showed that any closed shape can be built this way, and the app gives you the exact recipe as an equation.
Good for: math lessons, logos and portraits drawn by circles, social videos, starting points for stencils.
JSON Atlas opens any JSON file, however large, as a map of cards or as a tree you can scroll. When the file holds Fourier coefficients, such as an Epicycle Studio export, it redraws the shape from the numbers alone and checks them.
Good for: checking exports, exploring API data, explaining data structures.
Pochoir reads the colours of an image and splits it into stencil layers, one per paint colour, ready to print, cut and spray. It can also make a colour poster, or a full-colour DTF transfer file for t-shirts, hoodies, caps and mugs.
Good for: street-art stencils, screen-print separations, pop-art posters, custom apparel and drinkware.
| From | Gives | Goes to |
|---|---|---|
| Epicycle Studio | the design, the equation, the traced photo | Pochoir, JSON Atlas |
| JSON Atlas | an equation or design found in the JSON | Epicycle Studio, Pochoir |
| Pochoir | the stencil result, the colour sheet | Epicycle Studio, JSON Atlas |
Everything runs in your browser. Photos and designs are never uploaded; files are only saved when you choose to save them.
Open-source libraries, loaded only when needed: jsPDF and JSZip (PDF and ZIP files), color-name-list (colour names), Delaunator (low-poly facets) and mp4-muxer (video), all MIT or ISC licensed.
Bump for a significant new feature (0.0.x) or a huge update (0.x.0). Small fixes and visual touch-ups do not change the version. Newest release first.
Fourier epicycles are a way to draw any closed outline using nothing but spinning circles. Each circle is pinned to the edge of the one before it, like a chain of clock hands of different lengths turning at different speeds. A pen sits at the tip of the last circle, and as everything spins, the pen traces your shape.
Big circles turn slowly and give the rough outline. Small circles turn fast and add the fine details. The more circles you stack, the closer the drawing gets to the real shape.
The idea comes from two places. Ancient astronomers used “circles on circles” (epicycles) to describe how planets move across the sky. In 1807, the mathematician Joseph Fourier showed that any repeating motion can be built by adding up simple rotations. This app puts the two together.
Upload a photo or drawing, or paste or drop one on the canvas. An editor opens where you can move and zoom the photo, loosely circle the shape you want, and fix tricky edges. The outline then becomes a sketch of straight lines.
0 points in the selected layer. Drag a point to move it, tap a line to add one, double-tap a point to remove it.
Add the eyes, the glasses or the hair as their own layers: each layer is drawn by its own circles and gets its own color.
Pochoir turns each layer into one stencil, in this order, ready to print and cut.
A build-up adds circles each turn, from 1 to 300 on each arm. When it reaches the most accurate level, the circles stop and the view settles on the finished shape and its equation.
Units are normalized: the shape is centered at the origin, its larger side spans −1 to 1, and y points up.
| k | ak | bk | ck | dk |
|---|
Saving files isn’t available in this view. Press and hold the image (or right-click it) to save it.
The video follows the arm style and layers chosen in the studio. It is rendered frame by frame, so it is smooth even on a slow device.
Rebuilt from the numbers in this file, independently of the app that made it.
rootSaving files isn’t available in this view. Press and hold (or right-click) to save the image.