Engine redraws have been specifically addressed and improved in the next release and are many times faster. I think if you just wait a bit the new release will fix this for you.wolfkillshepard wrote:Hey guy's I know this thread hasn't been visited in a while but after doing some more testing, this drawing function isn't as smooth as I would like it to be on iOS. When signing your name its a lot less smooth on the actual phone than when on a computer. If you have an idea about how to make it good enough to the extent where I can sign a legible signature with a stylus I would really appreciate it!
Thanks!
Tracing Function Help
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Tracing Function Help
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Tracing Function Help
Wilfskillshepard...
Does this work for you ?
be well
Dixie
Does this work for you ?
be well
Dixie
- Attachments
-
- draw.livecode.zip
- (1.69 KiB) Downloaded 266 times
Re: Tracing Function Help
Hi Wolf, Dixie
I was just playing around with Dixie's code and modified it a bit when basically the same question was brought up in another thread by Kaubs
http://forums.runrev.com/phpBB2/viewtop ... 289#p44289
What I did is try to get the sampling rate of x,y coordinates a little up for a little better resolution. I introduced a redraw delay which can be set from 10 to 200 milliseconds just to experiment with this. Also I added a slieder for the linesize of the graphic since I had the impression the the larger the linesize the slower the graphic redraw. Also I reduced the querying of properties which in earlier stack helped a little. I keep the x,y in a script local variable and just set the graphic.
On my iPhone G3 which is slooow, it worked somehow OK. Not really snappy or super resolution but ok. But Dixie's script did that also.
Here is my take on the signature thing:
(same stack as posted over in the other thread)
Kind regards
Bernd
I was just playing around with Dixie's code and modified it a bit when basically the same question was brought up in another thread by Kaubs
http://forums.runrev.com/phpBB2/viewtop ... 289#p44289
What I did is try to get the sampling rate of x,y coordinates a little up for a little better resolution. I introduced a redraw delay which can be set from 10 to 200 milliseconds just to experiment with this. Also I added a slieder for the linesize of the graphic since I had the impression the the larger the linesize the slower the graphic redraw. Also I reduced the querying of properties which in earlier stack helped a little. I keep the x,y in a script local variable and just set the graphic.
On my iPhone G3 which is slooow, it worked somehow OK. Not really snappy or super resolution but ok. But Dixie's script did that also.
Here is my take on the signature thing:
(same stack as posted over in the other thread)
Kind regards
Bernd
- Attachments
-
- Draw2.livecode.zip
- (2.27 KiB) Downloaded 257 times
Last edited by bn on Mon May 27, 2013 10:02 am, edited 1 time in total.
Re: Tracing Function Help
That is great! You guys are awesome! I am going to look over the code and see how its all done to try and have a better understanding. What you two have provided is certainly more stable and responsive than the setup I currently have. Thanks!!
-
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Re: Tracing Function Help
Nice!
Works on Android and HTC HD2.
The double click takes about 10 goes to work.
I don't know why.
Works on Android and HTC HD2.
The double click takes about 10 goes to work.
I don't know why.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Re: Tracing Function Help
Hi Berry,
the doubleclick is not the best way to erase the graphic on a mobile device because most of the time as you noticed one makes also a move since fingers are large and often also trigger a mouseMove. On the desktop with a mouse no problem. It is kind of an inherent problem of all touch devices. On iOS the system waits for more the 9 pixel "move" before it decides that you want to scroll, exactly for that reason.
It is probably better to use a button, or a shake or click outside of the drawing area to erase the graphic.
Kind regards
Bernd
the doubleclick is not the best way to erase the graphic on a mobile device because most of the time as you noticed one makes also a move since fingers are large and often also trigger a mouseMove. On the desktop with a mouse no problem. It is kind of an inherent problem of all touch devices. On iOS the system waits for more the 9 pixel "move" before it decides that you want to scroll, exactly for that reason.
It is probably better to use a button, or a shake or click outside of the drawing area to erase the graphic.
Kind regards
Bernd
Re: Tracing Function Help
Anyone know what happened to the 2 Draw examples that are linked to in this topic but don't seem to be available any more?
Just wondering - if anyone still has one of these they could send me, that'd be great!
cheers
Alan
Just wondering - if anyone still has one of these they could send me, that'd be great!
cheers
Alan

Re: Tracing Function Help
Hi strongbow,
I think this is the stack in attachment
Best regards
Jean-Marc
I think this is the stack in attachment
Best regards
Jean-Marc
- Attachments
-
- DrawBN.livecode.zip
- (2.28 KiB) Downloaded 366 times
https://alternatic.ch
Re: Tracing Function Help
Thanks!
-
- Posts: 55
- Joined: Sat Sep 10, 2011 12:22 pm
Re: Tracing Function Help
Just a thought, RunRev produced a simple painting application which consisted of a small blackboard and pull-out pallett. From memory, it was on their web site to advertise and demonstrate either the web software or the graphics software, introduced several years ago. If someone has this very simple app, I am sure it would provide the ideal solution for this problem.
The blackboard could be shaped to become the input area and be used to capture the signature. The pallett would be shaped to the style of the users application.
I was amazed at how few instructions (script length) was needed to do what it did.
If anyone finds the link, let me know as well because I could do with it for a photo mark up feature in my own application.
The blackboard could be shaped to become the input area and be used to capture the signature. The pallett would be shaped to the style of the users application.
I was amazed at how few instructions (script length) was needed to do what it did.
If anyone finds the link, let me know as well because I could do with it for a photo mark up feature in my own application.
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Contact:
Re: Tracing Function Help
I really like what was discovered in this app. Although after Runrev changed their website, the links don't work anymore. Could someone who has the file please repost it for the community? Thank you!