Files
modeling-app/src/wasm-lib/kcl/tests/riddle_small/input.kcl

18 lines
298 B
Plaintext
Raw Normal View History

ANSWER = 41803
fn t = (s) => {
return (ANSWER * s + 12345) % 214748
}
xs = 205804
ys = 71816
ox = 35 - (t(xs) % 70)
oy = 35 - (t(ys) % 70)
r = startSketchOn('XZ')
|> startProfileAt([ox, oy], %)
|> line([1, 0], %)
|> line([0, -1], %)
|> line([-1, 0], %)
|> close(%)
|> extrude(1, %)