Skip to content

Commit 9dd4f95

Browse files
committed
Regenerate README with streamline tool API change
1 parent 2e671d6 commit 9dd4f95

3 files changed

Lines changed: 37 additions & 33 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,9 @@ $ point-cloud \
468468
--max-y=1 \
469469
--delta-h=0.1 \
470470
--time-steps=20 \
471-
--function "let temp = sqrt(x ** 2.0 + y ** 2.0 + 4.0); x = -sin(x) / temp; y = y / temp;" \
471+
--function "let temp = f64::sqrt(x.powf(2.0) + y.powf(2.0) + 4.0);" \
472+
--function "let x_new = -f64::sin(x) / temp;" \
473+
--function "let y_new = y / temp;" \
472474
--draw-vector-field \
473475
--vector-field-style="STROKE(gray)" \
474476
--vector-field-style="STROKEDASHARRAY(1)" \

0 commit comments

Comments
 (0)