Skip to content

Examples: Add new path demo. #31209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 1, 2025
Merged

Examples: Add new path demo. #31209

merged 3 commits into from
Jun 1, 2025

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 31, 2025

Related issue: -

Description

I was always a fan of three's curve and path classes. The PR adds a small example that shows how to generate (instanced) objects along a path and how to animate them with the parametric path factor t. This factor lies in the range [0,1] and defines the (normalized) position on the curve. Since you can do some fun things with it, I've though an additional example might be educational.

@sunag sunag added this to the r178 milestone Jun 1, 2025
@sunag sunag merged commit 19816c7 into mrdoob:dev Jun 1, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants