Kits
›
La máquina de fractales
RU
EN
ES
Contenido
Introduction
History: patterns that repeat themselves
Lesson 0. Gates from transistors: for those who start from scratch
0.1. The idea: a transistor is a switch
0.2. Building
0.3. Check
Lesson 0 paste (Cmd+I)
Lesson 1. Memory: the latch and the D flip-flop
1.1. The idea: a loop that holds
1.2. Building
1.3. Check
Lesson 1 paste (Cmd+I)
Lesson 2. The counter: six flip-flops count to 63
2.1. The idea: add 1 in a column
2.2. Building
2.3. Check
Lesson 2 paste (Cmd+I)
Lesson 3. The raster scan: the screen dot by dot
3.1. The idea: the beam runs along the rows
3.2. Building
Try the patterns
3.3. Check
Lesson 3 paste (Cmd+I)
Lesson 4. The Sierpinski triangle: a fractal from ten gates
4.1. The idea: not a single common bit
4.2. Building
4.3. Check
Lesson 4 paste (Cmd+I)
Lesson 5. The chaos game: a triangle from chance
5.1. The idea: a half-way step
5.2. The idea: a step is a shift
5.3. Building
5.4. Check
Lesson 5 paste (Cmd+I)
Lesson 6 (bonus). Munching Squares: a living pattern from 1962
6.1. The idea: (x XOR y) < t
6.2. Building
6.3. Check
Lesson 6 paste (Cmd+I)
Summary
All the parts
Instructions in pictures
Lesson 6 in pictures
← Back to the lesson: Lesson 6 (bonus). Munching Squares: a living pattern from 1962
6
Bonus: Munching Squares
a living pattern from 1962
kh
HB-03
t = 6
t = 20
t = 40
IN
3×
OUT
1×
NOT
2×
0
AND
2×
0
XOR
7×
0
OR
1×
0
CNT6
1×
2
1×
∞
Ctrl
+
G
CMP1
© 2026 Daniil Khanin · khanin.info · HB-03
40
CMP1
1
IN
3×
OUT
1×
NOT
1×
0
AND
1×
0
XOR
1×
0
8×
V
T
LI
LO
NOT
I0
V
O0
nv
AND
I0
nv
I1
T
O0
lt
XOR
I0
V
I1
T
O0
ne
2
NOT
1×
0
AND
1×
0
OR
1×
0
8×
NOT
I0
ne
O0
eq
AND
I0
eq
I1
LI
O0
pass
OR
I0
lt
I1
pass
O0
LO
3
Ctrl
+
G
Library
…
Chip N
2×
Library
…
CMP1
Enter
CMP1
V
T
LI
LO
© 2026 Daniil Khanin · khanin.info · HB-03
41
CANVAS
4
Dot display → ⚙: Layout Dots, 64 × 64, Port width 1 dot
5
CNT6
1×
2
10×
CNT6
CLK
CLK
EN
cy
RST
RST
Q0
t0
Q1
t1
Q2
t2
Q3
t3
Q4
t4
Q5
t5
CO
ct
6
XOR
3×
0
9×
XOR
I0
x0
I1
y0
O0
v0
XOR
I0
x1
I1
y1
O0
v1
XOR
I0
x2
I1
y2
O0
v2
7
XOR
3×
0
9×
XOR
I0
x3
I1
y3
O0
v3
XOR
I0
x4
I1
y4
O0
v4
XOR
I0
x5
I1
y5
O0
v5
© 2026 Daniil Khanin · khanin.info · HB-03
42
CANVAS …
8
CMP1
3×
12×
CMP1
V
v0
T
t0
LI
GND
LO
l1
CMP1
V
v1
T
t1
LI
l1
LO
l2
CMP1
V
v2
T
t2
LI
l2
LO
l3
9
CMP1
3×
12×
CMP1
V
v3
T
t3
LI
l3
LO
l4
CMP1
V
v4
T
t4
LI
l4
LO
l5
CMP1
V
v5
T
t5
LI
l5
LO
ms
© 2026 Daniil Khanin · khanin.info · HB-03
43
CANVAS …
10
1×
16×
Dot display
X0
x0
X1
x1
X2
x2
X3
x3
X4
x4
X5
x5
Y0
y0
Y1
y1
Y2
y2
Y3
y3
Y4
y4
Y5
y5
D0
ms
WE
VCC
CLK
nCLK
CLR
GND
© 2026 Daniil Khanin · khanin.info · HB-03
44
← Back to the lesson
Lesson 6 (bonus). Munching Squares: a living pattern from 1962