commit 4ccf565cb6a69412130c32b41786b798779ce549 Author: fredrikr79 Date: Sun Sep 21 18:11:00 2025 +0200 half-toning attempt diff --git a/main.ua b/main.ua new file mode 100644 index 0000000..47105de --- /dev/null +++ b/main.ua @@ -0,0 +1,41 @@ +# C ← ( +# ⨬([0_0_0 0_0_0 0_0_0] +# | [0_0_0 0_0_0 0_0_1] +# | [1_0_0 0_0_0 0_0_1] +# | [1_0_0 0_0_0 1_0_1] +# | [1_0_0 0_1_0 1_0_1] +# | [1_0_1 0_1_0 1_0_1] +# | [1_0_1 0_1_0 1_1_1] +# | [1_0_1 0_1_1 1_1_1] +# | [1_0_1 1_1_1 1_1_1] +# | [1_1_1 1_1_1 1_1_1] +# ) ⌊×10 +# ) ÷⊃⧻/+ + +C ← ( + ⨬([0_0 0_0] + | [0_0 0_1] + | [1_0 0_1] + | [1_0 1_1] + | [1_1 1_1] + ) ⌊×5 +) ÷⊃⧻/+ + +HalfTone ← ( + ↯△⟜( + △⟜(⊜C⊸(▽⟜≡▽2°△ ↙2 ⌈÷2△)) + ⊂∩(↯⍜⊢÷₂)⊃(⊙≡⊢|⊙≡⊣) + /⊟⊕∘⊸(◿2≡\+ ˜↯1△) + ) +) + +GrayScale ← ≡₁(÷⊃⧻/+) + +AntiAlias ← ⧈₃(÷⊃⧻/+) + +# gen 12_12_3 0 +Cats +GrayScale +HalfTone +AntiAlias +# (▽⟜≡▽10)