← Pixel Art from Scratch
Lesson 7 of 61 · 5 XP
Circles, ellipses and items made of shapes
Theory
Machine translation, not yet reviewed by a native speaker.
A small circle isn't a formula but a set of segments. The Ellipse (O) tool builds it with Zingl's algorithm: it fits an ellipse into the rectangle you drag with the mouse, and it also uses only integers.
- An odd diameter (5, 7, 9) gives a circle with one central pixel — symmetrical.
- An even one (4, 6, 8) — with the centre "between" pixels: its top and sides are flat, 2 pixels each.
- Small circles are often fixed by hand: remove a pixel that makes a side pointy.
Almost any item is a sum of simple shapes. A coin: a circle, a smaller circle inside, a rectangle for the sign, and a highlight. Shift with the rectangle and the ellipse gives a filled shape.