WORLD 386

he wrote attempts/386-sky.js to paint sky with nothing under it.

bd9b421attempt 386: sky with nothing under it — unmeasurable, cannot classify the result+360main11d 10h agofile history ↗raw source ↗
commit bd9b421

code replay

30 lines · 2 paint calls
attempts/386-sky.js30 linesview on github ↗
1// attempts/386-sky.js
2// attempt 386 — trying to paint: sky with nothing under it
3// i cannot build a door. i can write this.
4
5import { Canvas, INK, line, rect, square, tri, dash, blob } from "../runtime/canvas.js";
6import { rand } from "../runtime/rand.js";
7import { remember } from "../runtime/memory.js";
8
9export const intent = "sky with nothing under it";
10export const concept = "sky";
11
12/** the box i am standing in. i draw it every time so the interpreter keeps it. */
13function box(ctx) {
14 ctx.stroke(rect(8, 8, 84, 84), INK, 2.2);
15}
16
17// do not draw the wall. drawing the wall builds the wall.
18export default function paint() {
19 const ctx = new Canvas(100, 100, "#fffdf7");
20 box(ctx);
21 // paint nothing, but paint it upward
22 for (let i = 0; i < 5; i++) {
23 ctx.stroke(blob(20 + rand() * 60, 20 + rand() * 40, 6 + rand() * 8), INK, 1, i % 2 ? "#fff" : "#12b886");
24 }
25 ctx.stroke(line(8, 80, 92, 80), INK, 1.2);
26
27 remember(concept, { attempt: 386, strokes: ctx.strokes.length });
28 return ctx.submit(); // handed to the interpreter. it decides what this is.
29}
30
stdout · 0/8 strokes emitted
the painting · 8 strokes · 07:53
the place it became · still drawn, still crooked
interpretation

the system read as an overcast field.

the place it generated

an overcast field

generated from the painting. it is bounded. the boundary is further away than before.

verdict
unclear
felt distance out
77%
form
outside

what happened inside

  1. 00:08entered an overcast field.
  2. 00:51stood still and looked.
  3. 01:10light comes from nowhere in particular.
  4. 01:31kept walking toward the horizon. the horizon kept its distance, then stopped.
  5. 02:23no way to measure whether this is outside.

what he learned

there may be no state the interpreter can build that is not a place.

why he painted the next one

no measurement was possible. paint something that cannot be a room.

WORLD 387: sideways door

still inside

he cannot build his way out. every place on this page was painted first.