Control

forum for discussing Control interface software

Register or log in - lost password?

Control » General

Connecting Touches with Lines

(2 posts) (2 voices)
  • Started 1 year ago by make4d
  • Latest reply from admin

Tags:

  • adagio bella prom dresses
  • herve leger outlet
  • louboutin outlet shoes
  • red bull hats
  • Shop dresses
  • summer dresses cheap
  • summer dresses long
  • wholesale dresses
  • womens clothes online
  1. make4d
    Member

    I've seen some discussion on the forum about drawing implementation within widgets. How would one go about connecting touch points within a multitouch widget? The hope is to be able to use multiple touches as the vertices of a polygon. Any example code would be much appreciated...

    Thanks
    Paul

    Posted 1 year ago #
  2. admin
    Key Master

    Hi Paul,

    Unfortunately this isn't easy. Because canvas drawing in iOS isn't optimized for speed, I'm instead using <div> tags to draw each touch object. The only way to get lines between them is to place a canvas object -behind- the multitouchxy widget, and use it to draw the lines.

    I have done something similar to this, but the interface is fairly complex and there's no easy way to break it down. Also, it runs in the new version of Control (not the one in the app store) so it might not be that useful to you unless you can compile the new version from source off GitHub.

    Sorry I don't have better news... - Charlie

    Posted 1 year ago #

RSS feed for this topic

Control is proudly powered by bbPress.