Skip to content
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

Allow User to Create Object Path #132

Closed
TheCedarPrince opened this issue Aug 31, 2020 · 3 comments
Closed

Allow User to Create Object Path #132

TheCedarPrince opened this issue Aug 31, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@TheCedarPrince
Copy link
Member

Is your feature request related to a problem? Please explain.
One thought is to enable a user to create an arbitrary path that an object could follow.

Describe the solution you'd like
Luxor and Cairo has many methods which support path creation. Using those would be the starting point to creating a proof of concept.

@TheCedarPrince TheCedarPrince added enhancement New feature or request question Further information is requested labels Aug 31, 2020
@Wikunia
Copy link
Member

Wikunia commented Sep 9, 2020

I think I have an idea for this one.
We basically need the following two lines to get an interpolated point on a path:
https://github.com/JuliaGraphics/Luxor.jl/blob/2318620ec1098bae002d1052d36f0fb5e9cae472/src/polygons.jl#L695-L696

I am thinking about SubAction(1:10, animation, follow_path(circle(O, 20))) what do you think @TheCedarPrince ?

@Wikunia Wikunia mentioned this issue Sep 11, 2020
8 tasks
@TheCedarPrince TheCedarPrince added this to the v0.2.0 milestone Sep 12, 2020
@Wikunia
Copy link
Member

Wikunia commented Sep 17, 2020

Can this be closed @TheCedarPrince ?

@TheCedarPrince
Copy link
Member Author

Yes! Feel free to close it @Wikunia . 😄

@Wikunia Wikunia closed this as completed Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants