68ae62527f
The noise node previously displaced each path point's XYZ independently, which stretched/compressed segments and produced kinked edges. After displacement, re-project each point onto the sphere of radius seg_lens[i-1] centered at the previous point — same pattern used by the gravity node. Total path length is now preserved; noise bends the path rather than stretching it. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
15 lines
343 B
TOML
15 lines
343 B
TOML
[package]
|
|
name = "noise"
|
|
version = "0.1.0"
|
|
authors = ["Max Richter <jim-x@web.de>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
glam = "0.30.10"
|
|
nodarium_macros = { version = "0.1.0", path = "../../../../packages/macros" }
|
|
nodarium_utils = { version = "0.1.0", path = "../../../../packages/utils" }
|
|
noise = "0.9.0"
|