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

Animate plots #12

Open
codeOfRobin opened this issue May 16, 2016 · 3 comments
Open

Animate plots #12

codeOfRobin opened this issue May 16, 2016 · 3 comments

Comments

@codeOfRobin
Copy link
Contributor

Like change data points and stuff?

@alejandro-isaza
Copy link
Owner

Not right now, but that would be a nice feature to have.

@alejandro-isaza alejandro-isaza changed the title Is there any way to animate plots? Animate plots May 16, 2016
@codeOfRobin
Copy link
Contributor Author

I'm gonna give it a shot, but one thing that really bugs me is that Core Animation in AppKit isn't as fully featured as UIKit. Is there any drop in replacement for

UIView.animate(duration:,delay.....{
// Add final states here in the closure
})

?

Meanwhile, any good resources on Core Animation in OSX?

@alejandro-isaza
Copy link
Owner

I don't think that would be right approach anyway. PlotView has it's own drawing code and it's own way of specifying plots. I think it would have to be something like

plotView.animate(fromPointSet: a, toPointSet: b)

and then have something that interpolates between points in a and points in b 60 times a second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants