Replies: 1 comment 1 reply
-
it would be much easier to do it like you would on the web, by controlling dash offset https://codesandbox.io/s/bezier-curves-nodes-3k4g6 if you make dash scale and gap as wide as the line itself it's a one liner since you're only rolling the offset up. i think you need the line length for that which you can get inside useLayoutEffect, computeLineDistances or something like that https://threejs.org/docs/index.html?q=line#api/en/objects/Line.computeLineDistances |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm trying to make a line appear and disappear, meaning it will start drawing the full line then from to start removing from the start to the end. Like the one in GitHub's globe.
Beta Was this translation helpful? Give feedback.
All reactions