illusion¶
6 motifs. Import them from geomotif.motifs, or build one by name
with registry.create("illusion.cafe-wall").
illusion.cafe-wall¶
Parallel mortar lines that refuse to look parallel.
Parameters
| Name | Type | Default |
|---|---|---|
cols |
int |
8 |
rows |
int |
6 |
size |
float |
40.0 |
mortar |
float |
3.0 |
shift |
float |
0.5 |
hatch |
int |
4 |
center |
Point |
(0.0, 0.0) |
illusion.impossible-cube¶
The same cube, told two contradictory things about which face is nearer.
Parameters
| Name | Type | Default |
|---|---|---|
gap |
float |
0.06 |
size |
float |
180.0 |
depth |
float |
0.45 |
angle |
float |
0.7853981633974483 |
center |
Point |
(0.0, 0.0) |
illusion.moire¶
Two regular patterns laid over each other, and the fringes between them.
Parameters
| Name | Type | Default |
|---|---|---|
kind |
MoireKind |
'rings' |
count |
int |
34 |
spacing |
float |
6.0 |
offset |
float |
26.0 |
angle |
float |
0.06 |
center |
Point |
(0.0, 0.0) |
illusion.necker-cube¶
A wireframe cube with nothing to say which face is in front.
Parameters
| Name | Type | Default |
|---|---|---|
size |
float |
180.0 |
depth |
float |
0.45 |
angle |
float |
0.7853981633974483 |
center |
Point |
(0.0, 0.0) |
illusion.penrose-stairs¶
The endless staircase: four flights, every step up, back where you began.
Parameters
| Name | Type | Default |
|---|---|---|
steps |
int |
5 |
rise |
float |
0.4 |
width |
float |
1.8 |
size |
float |
280.0 |
center |
Point |
(0.0, 0.0) |
illusion.penrose-triangle¶
The tribar: three square beams meeting at three right angles.
Parameters
| Name | Type | Default |
|---|---|---|
size |
float |
240.0 |
thickness |
float |
0.25 |
center |
Point |
(0.0, 0.0) |