Skip to content

Commit 9d55c28

Browse files
committed
Increase external spline resolution
1 parent 9d4df90 commit 9d55c28

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

src/bru_9/geom/tag.cljs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,7 @@
5656
(fn [t]
5757
(u/pow (+ (u/sin (* m/PI (u/pow t inner-power)))
5858
(u/sin (* m/PI (u/pow (- 1 t) inner-power))))
59-
exaggeration)))
60-
61-
;(fn [t]
62-
; (if (< t 0.79)
63-
; (+ 0.2 (u/pow (* 1.12 t) 2.0))
64-
; (- 5.0 (* 5.0 t))))
65-
66-
;(fn [t] (+ 0.3 (* 0.7 (u/sin (* 3.5 (u/pow t 2.0))))))
67-
68-
;(fn [t] (+ 0.2 (u/pow (* 0.9 t) 2.0)))
69-
70-
;(fn [t] (+ 0.2 (* 0.8 t)))
71-
)
59+
exaggeration))))
7260
(defmethod envelope :outward [_]
7361
(fn [t] (- 1.0 t)))
7462
(defmethod envelope :default [_]

src/bru_9/scenes/main.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
:external-tightness-max 0.3
7979
:external-x-wobble 1.8
8080
:external-node-count 5
81-
:external-spline-resolution 14
81+
:external-spline-resolution 16
8282
:url-spline-tightness 0.2
8383
:url-spline-hops 4
8484
:url-spline-multiplier 4.0

0 commit comments

Comments
 (0)