PHPNews

InVision Studio

Written by Bram.us - Published on Bram.us
Aggregated on Wednesday October 18, 2017 - Permalink

Stunning new work by the folks over at InVision: Coming January 2018 InVision Studio →

Continue reading »


Stealing your browser history with the W3C Ambient Light Sensor API

Written by Bram.us - Published on Bram.us
Aggregated on Tuesday October 17, 2017 - Permalink

A few years ago window.getComputedStyle and the like where adjusted to return the default color of links, instead of the actual color on screen. Security and privacy were the driving factors behind that decision: by styling :visited links with a different color than their non-visited counterparts, a hacker could easily determine which sites a user has visited by simply checking the color …

Continue reading »


Luna Display’s “Camera Button”

Written by Bram.us - Published on Bram.us
Aggregated on Tuesday October 17, 2017 - Permalink

What do you do when Apple keeps on taking away buttons from their devices (and when swipe gestures from nearly all edges are already taken by something else) ? Well, you invent a new button: So when we ran out of buttons to hide our software’s UI behind, it really forced us to use our imagination. Instead of squeezing UI in where it didn’t fit, we built a new button to conceal it: it’s called …

Continue reading »


Browsershot: Convert a webpage to an image or PDF using headless Chrome

Written by Bram.us - Published on Bram.us
Aggregated on Monday October 16, 2017 - Permalink

The folks over at Spatie have just release Browsershot v3: Browsershot is a PHP package which can convert a webpage to an image or pdf. The conversion is done behind the scenes by Puppeteer which controls a headless version of Google Chrome. Conversion is easy-peasy, hence this example: use Spatie\Browsershot\Browsershot; // an image will be saved Browsershot::url('https://example.com…

Continue reading »


BADASS

Written by Bram.us - Published on Bram.us
Aggregated on Sunday October 15, 2017 - Permalink

Nice scroll effect on the BADASS Films website: The effect is achieved by placing a duplicate (but clipped) list on top of another one, in combination with scroll velocity calculation to define the slant of the list. BADASS &rarr

Continue reading »


Building a desktop application with Electron

Written by Bram.us - Published on Bram.us
Aggregated on Sunday October 15, 2017 - Permalink

Good introductory tutorial on getting started with Electron. A detailed guide on building your very own sound machine using JavaScript, Node.js and Electron Building a desktop application with Electron →

Continue reading »