We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f366d9 commit 45271b7Copy full SHA for 45271b7
notebooks/logo.clj
@@ -86,8 +86,7 @@
86
[:ellipse {:cx 500 :cy 300 :rx 11 :ry 11 :stroke "none" :fill "rgb(147.0 189.0 154.0)"}] ; the pupil
87
[:ellipse {:cx 490 :cy 300 :rx 11 :ry 11 :stroke "none" :fill "rgb(147.0 189.0 154.0)"}]
88
[:ellipse {:cx 510 :cy 300 :rx 11 :ry 11 :stroke "none" :fill "rgb(147.0 189.0 154.0)"}]
89
- (let [
90
- points (map #(-> [(- (first %) 400) (- (second %) 400)] ; -[½w ½h] to center the curve
+ (let [points (map #(-> [(- (first %) 400) (- (second %) 400)] ; -[½w ½h] to center the curve
91
complex-square ; square each vector as a complex number
92
(v* 0.0015)) ; scale those squared vectors down
93
hilbert-points)]
0 commit comments