Skip to content

Commit

Permalink
update spiral example
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Aug 16, 2024
1 parent 8ac0c6b commit 359d872
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions site/src/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ const CHORD: &str = "\
∿×τ ⊞× ÷⟜⇡&asr. # Generate
÷⧻: ≡/+ # Mix";
const SPIRAL: &str = "\
⇌×τ÷⟜⇡20 # Frame times
⊸⍉↯⟜(×20-1×2÷⟜⇡)200 # x and y
-≡⊃∠(-π◿τ+⍜∩°√+)∩¤ # Generate
<0.2⌵ # Threshold";
↯⟜(×20-1×2÷⟜⇡)200 # Xs
-≡⊃∠(⍜∩°√+)⊸⍉ # Spiral field
-π◿τ⊞-×τ÷⟜⇡20 # Animate";
const QUADRATIC: &str = "\
Disc ← -⊃(××4⊙⋅∘)⋅(×.)
Quad ← ÷⊃(×2|-⊃⋅∘(⊟¯.√ℂ0 Disc))
Expand Down

0 comments on commit 359d872

Please sign in to comment.