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

Multitouch #9

Closed
stuartpb opened this issue Apr 29, 2015 · 3 comments
Closed

Multitouch #9

stuartpb opened this issue Apr 29, 2015 · 3 comments

Comments

@stuartpb
Copy link
Contributor

It would be cool if touch were changed to be an array of (up to 10)? touches on-screen, for recognizing multi-touch. Each touch could be a vec2, with touches that aren't down set to (-1, -1).

(I had some crazier ideas about representing touch state, including the vec3 pattern Shadertoy uses for mouse input where z acts as an up/down boolean, but ultimately the best ideas I had were just awkward gestures at an incomplete persistence model.)

@stuartpb
Copy link
Contributor Author

That said, one sensible value for a z attribute, with regard to shaders, would be that touch's touch size.

@markusfisch
Copy link
Owner

Cool idea! I was already planing to support multitouch with the next release but haven't thought about the touch size in z. Will come!

@markusfisch
Copy link
Owner

Landed in master.

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