beloch
beh-LOK · /beˈlɔk/
A declarative language for origami. You name points and lines, fold along constructions that align them, and Beloch evaluates the program to an exact folded state.
1/9
fold (map .a onto .c) as --bdreverse (map .b onto .c) as --hreverse (map .d onto .c) as --v.o = --h * --v--mid = (through .c .o).sr = --ab * --hreverse (map .sr onto --mid through .c).sl = --da * --vreverse (map .sl onto --mid through .c).br = --bc * --hreverse (map .br onto --mid through .c).bl = --cd * --vreverse (map .bl onto --mid through .c)fold (perp --mid through .sr) (moving .a) as --pffold (perp --mid through .sr) (moving .c) (mountain) as --pb- 01
fold (map .a onto .c) as --bd - 02
reverse (map .b onto .c) as --h - 03
reverse (map .d onto .c) as --v - 04
.o = --h * --v--mid = (through .c .o).sr = --ab * --hreverse (map .sr onto --mid through .c) - 05
.sl = --da * --vreverse (map .sl onto --mid through .c) - 06
.br = --bc * --hreverse (map .br onto --mid through .c) - 07
.bl = --cd * --vreverse (map .bl onto --mid through .c) - 08
fold (perp --mid through .sr) (moving .a) as --pf - 09
fold (perp --mid through .sr) (moving .c) (mountain) as --pb