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

Use SVG to create setups #1

Open
jgraycar opened this issue May 23, 2016 · 3 comments
Open

Use SVG to create setups #1

jgraycar opened this issue May 23, 2016 · 3 comments

Comments

@jgraycar
Copy link
Owner

Canvas and SVG appear to be the two best options, but since Canvas doesn't support element interaction out of the box, SVG looks like the better choice.

@jgraycar
Copy link
Owner Author

jgraycar commented May 23, 2016

@jgraycar
Copy link
Owner Author

jgraycar commented Jun 4, 2016

If canvas turns out to be easier, here's an example of how it can be done: http://html5.litten.com/how-to-drag-and-drop-on-an-html5-canvas/

@jgraycar
Copy link
Owner Author

Upon further investigation, it looks like the correct way to do this would be for each instrument to be a draggable SVG element, all contained within one parent div (or something), using something like the interact.js library.

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

1 participant