webOS Nation Forums >  webOS Devices >  HP TouchPad > Any chance to get this working on HP TouchPad?
Any chance to get this working on HP TouchPad?
  Reply
Like Tree8Likes
  • 3 Post By mivoligo
  • 2 Post By RumoredNow
  • 1 Post By Remy X
  • 2 Post By RumoredNow

 
Thread Tools Display Modes
Old 11/17/2012, 09:06 AM   #1 (permalink)
Member
 
mivoligo's Avatar
 
Posts: 60
Check this awesome site: Silk — Interactive generative art
Unfortunately it does not work in HP TouchPad or Pre3. Is there any workaround to make it working?
mivoligo is offline   Reply With Quote
Liked by Rnp, OldSkoolVWLover and RumoredNow like this.
Thanked by Rnp, RumoredNow
Old 11/17/2012, 11:00 AM   #2 (permalink)
Member
 
RumoredNow's Avatar
 
Posts: 1,856
Cool toy. Looks like it doesn't take touch input. That's a shame; it would be a great time waster on a tablet or phone...
__________________
LG Nexus 4 rooted, unlocked, running Pure Google Jelly Bean 4.2.2 w/ franco.Kernel M2
Samsung Galaxy Nexus rooted, unlocked, testing Ubuntu Touch Developer Preview (dailies)
HP TouchPad running webOS 3.0.5 + UberKernel + LunaCE 4.9.5 Beta
RumoredNow is online now   Reply With Quote
Old 11/17/2012, 01:58 PM   #3 (permalink)
Homebrew Developer
 
pattyland's Avatar
 
Posts: 100
Quote:
Originally Posted by RumoredNow View Post
Cool toy. Looks like it doesn't take touch input. That's a shame; it would be a great time waster on a tablet or phone...
Don't use see the phone version? ImageUploadedByTapatalk1353182293.991326.jpg


Sent from my iPhone using Tapatalk
__________________
pattyland is offline   Reply With Quote
Old 11/17/2012, 02:19 PM   #4 (permalink)
Member
 
RumoredNow's Avatar
 
Posts: 1,856
Quote:
Originally Posted by pattyland View Post
Don't use see the phone version?
Nope. Not on TouchPad (advanced browser) or Pre 2 (stock browser).
__________________
LG Nexus 4 rooted, unlocked, running Pure Google Jelly Bean 4.2.2 w/ franco.Kernel M2
Samsung Galaxy Nexus rooted, unlocked, testing Ubuntu Touch Developer Preview (dailies)
HP TouchPad running webOS 3.0.5 + UberKernel + LunaCE 4.9.5 Beta
RumoredNow is online now   Reply With Quote
Old 11/17/2012, 02:34 PM   #5 (permalink)
Member
 
RumoredNow's Avatar
 
Posts: 1,856
BTW - works beautifully in Chrome, but the GF on IE9 can't get it working.

Now she's mad at me.
__________________
LG Nexus 4 rooted, unlocked, running Pure Google Jelly Bean 4.2.2 w/ franco.Kernel M2
Samsung Galaxy Nexus rooted, unlocked, testing Ubuntu Touch Developer Preview (dailies)
HP TouchPad running webOS 3.0.5 + UberKernel + LunaCE 4.9.5 Beta
RumoredNow is online now   Reply With Quote
Liked by OldSkoolVWLover and Vistaus like this.
Old 11/17/2012, 02:47 PM   #6 (permalink)
Homebrew Developer
 
pattyland's Avatar
 
Posts: 100
Works wonderful with Safari on my iPhone and Stock ICS Browser :/ Probably the useragent from webOS isn't recognized, maybe you can contact the author to add it?

Edit: @RumoredNow IE doesn't count xD



Sent from my iPhone using Tapatalk
__________________
pattyland is offline   Reply With Quote
Thanked By: RumoredNow
Old 11/18/2012, 01:33 AM   #7 (permalink)
Member
 
Remy X's Avatar
 
Posts: 749
Wanna know why it's not working? Ok... i'll try to make this not too complicated...

Like dignitary said above, the webOS core web browser is becoming outdated as more things are being added by the other browser projects. It's stuck in a time warp. The web browser is the backbone of webOS, so this means that as time goes on, the whole OS starts to rot a little, even with all our effort in the Homebrew community, because the problem is in the binary, the compiled code.


Anyway, the app here uses an HTML 5 Canvas element to draw the colored ribbons. The Touchpad supports Canvas, so that's not the problem. Even the Pre does. However, you may have noticed that if you layer many ribbons one on top of the other, it increases brightness without increasing color saturation, so the orange fades to yellow fades to white, like sunlight...

And the way that's done is by editing the individual pixels on Canvas and rendering the image on-the-fly (instead of stacking image objects one on top of the other, which would have yielded solid orange segments instead of the incandescent brightness we see...)

And the image compositing method used here to produce that luminescence in the layered shapes, relies on something called "Uint8Array". Uint8Array is a data type (unsigned integer) and this object type is being used used to interface with the pixels (which have four color channels: red, green, blue and alpha transparency). Uint8Array is what makes it possible to animate the shapes so quickly, because without it, if the old way was used, the rendering speed would be dead slow... like dead rat stuck in molasses... i mean it. So the app could be written to work on the Touchpad, but it wouldn't be as enjoyable as it is in a browser that supports ArrayBuffer and Uint8Array, which are needed for faster graphics rendering... when you are blending and manipulating different color channels...

I don't think i did a very good job explaining because i'm sleepy, but if you like to check it out for yourself and read more on that, then have a look...

https://hacks.mozilla.org/2011/12/fa...-typed-arrays/

and here's one of the script files from the app...

http://new.weavesilk.com/js/noise.js

Last edited by Remy X; 11/18/2012 at 01:40 AM.
Remy X is online now   Reply With Quote
Liked by dignitary likes this.
Thanked by mivoligo, RumoredNow
Old 11/18/2012, 11:49 AM   #8 (permalink)
Member
 
RumoredNow's Avatar
 
Posts: 1,856
Quote:
Originally Posted by dignitary View Post
Just a note: Advanced Browser is the stock browser with some added utility tacked on. Fundamentally, it's no different than opening the stock browser when viewing a site. Same browser.
Oh ayup, of course Advanced is just a skin on top of stock. However, it is extra code over stock and that extra code itself might cause issues so I reported trying both versions... Pardon my accuracy of reporting.

And lest you quote my other post in a frenzy of over-correctness - I am aware that IE and Chrome are not iterations of the same browser.
__________________
LG Nexus 4 rooted, unlocked, running Pure Google Jelly Bean 4.2.2 w/ franco.Kernel M2
Samsung Galaxy Nexus rooted, unlocked, testing Ubuntu Touch Developer Preview (dailies)
HP TouchPad running webOS 3.0.5 + UberKernel + LunaCE 4.9.5 Beta
RumoredNow is online now   Reply With Quote
Liked by OldSkoolVWLover and Vistaus like this.
Old 11/19/2012, 12:42 PM   #9 (permalink)
Moderator
 
OldSkoolVWLover's Avatar
 
Posts: 7,653
That is freaking cool
OldSkoolVWLover is offline   Reply With Quote
Old 11/28/2012, 11:28 PM   #10 (permalink)
Member
 
Posts: 249
This works well on the touchpad using chrome in ubuntu chroot!!
Just thought I'd let ya know.
creepingmee is offline   Reply With Quote
Thanked By: RumoredNow
Old 11/29/2012, 01:11 AM   #11 (permalink)
Member
 
Posts: 249
This works well on the touchpad using chrome in ubuntu chroot!!
Just thought I'd let ya know.
creepingmee is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0