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

Documentation of the JSONP format? #11

Open
mgamache opened this issue Mar 7, 2013 · 7 comments
Open

Documentation of the JSONP format? #11

mgamache opened this issue Mar 7, 2013 · 7 comments

Comments

@mgamache
Copy link

mgamache commented Mar 7, 2013

I love the framework, it's a really cool bit of software. I would like some info if it's available:

It looks like all the animation info is in a byte array (Base64 encoded) for each frame. I can kind of see what's going on, but knowing what the data is and how it's used would help. I would like to translate the Javascript to another language and knowing the file format and general animation approach would be helpful.

@mikewoodworth
Copy link
Member

Yeah, we have a format doc, I'll clean it up and publish it ASAP.

@mgamache
Copy link
Author

mgamache commented Mar 7, 2013

That would be fantastic, thanks.

@mgamache
Copy link
Author

bump

@mikewoodworth
Copy link
Member

Take a look at this branch https://github.com/mikewoodworth/phosphorframework/tree/feature/jsonformat

I've added a txt file describing the format... I'd appreciate any feedback you may have. I can clarify anything that is still confusing.

@mgamache
Copy link
Author

Thanks for posting the document. I am having a a difficult time generating any animations with pframes (Or I miss-understand the code and can't detect them). Does the encoding program generate pframes?

@mikewoodworth
Copy link
Member

The encoder generates pFrames when the interactive checkbox is not checked. I just tested here, and I'm getting frametype 1 regularly.

@mgamache
Copy link
Author

That makes sense, pframes would make the interactive mode more complex. Actually I don't want pframes for my application (it will be interactive) so that's good to know.

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

No branches or pull requests

2 participants