Author Topic: Finger Painting in QBJS  (Read 7202 times)

0 Members and 1 Guest are viewing this topic.

Offline dbox

  • Newbie
  • Posts: 80
    • View Profile
Finger Painting in QBJS
« on: April 09, 2022, 06:18:56 pm »
Hi All,

One of the features I'm working on for the next QBJS is support for touch events and more dynamic scaling/sizing when viewing QBJS programs on mobile.  I'd be very curious to hear your experience with the following example.  I've adapted a drawing program I shared earlier.  With this version you should be able to draw now with your finger on your mobile (or otherwise touch-enabled) device.

Click here to try it out!

I'd be very curious to know your experience and what kind of device you tried it on.  Were you able to draw with the various tools and change colors?  Did the scaling look appropriate for your device?

If you want to see the code you can click here.   (This is still in development so some of the syntax may change slightly.)

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Finger Painting in QBJS
« Reply #1 on: April 10, 2022, 03:39:16 pm »
Awesome, dbox! Exciting stuff! I like how it loads instantly to the running program.
Shuwatch!

Offline _vince

  • Seasoned Forum Regular
  • Posts: 422
    • View Profile
Re: Finger Painting in QBJS
« Reply #2 on: April 10, 2022, 03:53:41 pm »
going to pass this over to my cellphone:

https://v6p9d9t4.ssl.hwcdn.net/html/5574771/index.html?code=JFRvdWNoTW91c2UKRGltIFNoYXJlZCBBcyBTaW5nbGUgc3csIHNoCnN3ID0gODAwCnNoID0gNjAwzC5wacQxRG91YmxlCnBpID0gNCAqIEF0bigxKQoKU2NyZWVuIF9OZXdJbWFnZSjGUywgMzIpCiAgICDFS0FzIExvbmcgbiwgciwgbXgsIG15LCBtYiwgb8QNb215Cm4gPSAwClJlxC94KG4pyDQKcmVkaW0gecwTyFTmAJUgYngsIGJ5LCB0LCBiaW4KCnIgPSA1CkRvCuUAgW14ID0gX+UBBVjGEXnJEVnGEWIgPSAtxhJCdXR0b+YA28UcSWbGHzEgVGhlbsUTxAHkAK4xyQ7mALZfUHJlc2VydmXpAO/kAMjfJWflANrGbMQBeCgwKSA95AC1LSBzdyAvIDLJG3nGG3NoxBYgLSBteco3UFN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resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Finger Painting in QBJS
« Reply #3 on: April 10, 2022, 08:50:15 pm »
Samsung Galaxy Tab 4 runs ok. Cool...
Logic is the beginning of wisdom.

Offline dbox

  • Newbie
  • Posts: 80
    • View Profile
Re: Finger Painting in QBJS
« Reply #4 on: April 10, 2022, 10:05:56 pm »
Thanks @johnno56!