--- id: "6aca5b1d65e61b014a6ae335" created: "2026-10-11T00:34:54+09:00" updated: "2026-10-11T01:36:45+09:00" --- Uiua https://github.com/uiua-lang/uiua なんとメディアもできる! https://taq.hatenadiary.jp/entry/2026/06/07/103000 まさかの日本語ブログ [taq2777] キーボードが限界では?と思ったのだが、フォーマットでASCIIから記号へ変換されるようになってる `add 1 multiply 2 range 5`が`+ 1 × 2 ⇡ 5`になる 試してみて→https://www.uiua.org/ https://github.com/uiua-lang/uiua/blob/main/examples/n-body.ua ありえない code:n-body.ua # ? G VelPos Step ← ( # Calc velocity deltas ⤙(×⊙( ˙⊞- ≡⊣ # Differences ≡▽˙⊞≠°⊏ # Remove self ≡/+÷⊃(≡₁/+˙×)± # Accs )) ⍜≡⊢+ # Update velocities ≡\+ # Update positions ) # ? Steps G Starts Simulate ← ⍥⊃⟜Step⋅≡⊣ ⊙⊙(≡⊟0) Render ← ⬚0≡°⊚⁅ -⊸(¤¤/↧♭₂) Render Simulate 120 20 [0_60 150_0 30_15 80_110] ≡⌞⧈(/↥♭)3_3 # Upscale &fwa "n-body.gif" gif 16 &p "Wrote gif to n-body.gif" これ読めたらお知らせください