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

Speed/Accel parameters #16

Open
mathiasbourgoin opened this issue Mar 3, 2014 · 1 comment
Open

Speed/Accel parameters #16

mathiasbourgoin opened this issue Mar 3, 2014 · 1 comment

Comments

@mathiasbourgoin
Copy link
Contributor

Missing feature?
It would be nice to add parameters to modify speed/accel of a whole pattern.

@emillon
Copy link
Owner

emillon commented Mar 6, 2014

Bulletml's spec is quite light on details. Speed has no unit, etc. So there are two choices:

  • do the computation in terms of abstract units and let the calling code do the math (mostly a matrix multiplication)
  • put those constants in env and to the math in real units (screen pixels)

To simplify the library code I'd go for the first one. It is also possible to provide a module that does the math.

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