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

Using Animations.jl #42

Closed
Wikunia opened this issue Aug 4, 2020 · 1 comment · Fixed by #125
Closed

Using Animations.jl #42

Wikunia opened this issue Aug 4, 2020 · 1 comment · Fixed by #125
Assignees
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@Wikunia
Copy link
Member

Wikunia commented Aug 4, 2020

Regarding #22 where we discuss an easier way of defining frames.

Actually we might want to just define them as animations:
See https://jkrumbiegel.github.io/Animations.jl/stable/

What do you think about:

Action(anim, (args...)->line(O, Point(10,20), :stroke))

where anim is:

Animation(1, Translation(O), sineio(), 30, Translation(Point(20, 50))

but this might be a bit confusing so we should define short hands for it like

Action([1, Translation(O), sineio(), 30, Translation(Point(20, 50)], (args...)->line(O, Point(10,20), :stroke))

or

Action(1:30, sineio, (args...)->line(O, Point(10,20), :stroke), Translation(O, Point(20, 50))

to define a simple animation.

Additionally I'm wondering whether the Translation should be in front of the function as this is the order of execution.

@Wikunia Wikunia added enhancement New feature or request question Further information is requested labels Aug 4, 2020
@Wikunia Wikunia added this to the v0.2.0 milestone Aug 5, 2020
@Wikunia
Copy link
Member Author

Wikunia commented Aug 5, 2020

Example of a new idea

Action(1:30, (args...)->line(O, Point(10,20), :stroke); subactions = [
   SubAction(10, sineio, appear),
   SubAction(10, Translation(Point(10,10)),
   SubAction(10, polyin, disappear),
])

@Wikunia Wikunia mentioned this issue Aug 25, 2020
1 task
@Wikunia Wikunia self-assigned this Aug 27, 2020
@Wikunia Wikunia mentioned this issue Aug 27, 2020
7 tasks
@Wikunia Wikunia linked a pull request Aug 27, 2020 that will close this issue
7 tasks
@Wikunia Wikunia closed this as completed Sep 7, 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

Successfully merging a pull request may close this issue.

1 participant