HNHacker News
TopNewBestAskShowJobs

rikschennink

409 karma · joined February 9, 2018

Indie product developer • Freelancer • Web enthusiast • Runs a tiny web plugin company named Pqina • Hi!
submissionscomments
rikschennink··on Show HN: Shiny.js simulates reflections on the web for mobile devices
Oh no! Hope to fix this by the end of next week (with some additional test devices). Thanks for shooting a video!
rikschennink··on Show HN: Shiny.js simulates reflections on the web for mobile devices
Thanks for testing! Code is not really optimized at this point in time, I'm looking in to switching to GPU acceleration which should improve performance a lot.
rikschennink··on Show HN: Shiny.js simulates reflections on the web for mobile devices
It does that once, and it does it to prevent having to ship an image or base64 encoded string to create a noise effect. It's a balancing act between a bigger library and CPU usage. It takes the CPU 15 milliseconds (it's more than I expected, but it's on page load). Good to know that putImageData is faster, will look into that.

What is most likely causing the chopiness is that it's animating background gradients. There is a lot of room for improvement there, instead of animating the background gradient we could transform a layer instead.

Anyway, PR's are always welcome.

rikschennink··on Show HN: Shiny.js simulates reflections on the web for mobile devices
Thanks! Indeed it does use the gyroscope. Unfortunately (as always on the web) the implementation apparently differs a lot per device so I'm now gathering test devices to make it respond the same on iOS and Android.
rikschennink··on Show HN: Shiny.js simulates reflections on the web for mobile devices
I'm kinda hesitant to do this as it's not really what you expect to happen on a device that is stable? Where on mobile it responds to the tiniest twist or turn of your hand which results in familiar reflection behavior.
rikschennink··on Show HN: Doka.js – A vanilla JavaScript image editor
Hi! Developer here, I've build Doka over the past months as an extension to FilePond.js. When I was half way I decided it would be better as a standalone editor. It's super fast, can crop, resize, rotate, and flip images (also SVGs).
← PreviousPage 4 of 4