Swipe-to-delete goodness for the web Swipeout → Swipeout Demo →
Tag Archives: javascript
QR Code Terminal
qrcode-terminal is a tiny npm module that allows you to encode text as a QR code and render it to a UNIX-compatible terminal. // render QR code to the console qrcode.generate(‘http://michaelbrooks.ca’); // return QR code as a string qrcode.generate(‘http://michaelbrooks.ca’, function (qrcode) { console.log(qrcode); }); QR Code Terminal →
Métropolitain
Map Projection Transitions
Sublime Web Inspector — Debug JavaScript in SublimeText
Chrome World Wide Maze
Snappy & User Friendly Dropdown Menus
At every position of the cursor you can picture a triangle between the current mouse position and the upper and lower right corners of the dropdown menu. If the next mouse position is within that triangle, the user is probably moving their cursor into the currently displayed submenu. If the cursor goes outside of the …
Hook.js — Pull to refresh. For the web.
howler.js – Modern Web Audio Javascript Library
var sound = new Howl({ urls: [‘sounds.mp3’, ‘sounds.ogg’], sprite: { blast: [0, 2000], laser: [3000, 700], winner: [5000, 9000] } }); // shoot the laser! sound.play(‘laser’); howler.js defaults to Web Audio API and uses HTML5 Audio as the fallback. The library greatly simplifies the API and handles all of the tricky bits automatically howler.js → …
Continue reading “howler.js – Modern Web Audio Javascript Library”
Google Maps v3 Move Polygon
UPDATE 2018.03.07: The issue requesting to have this in the core of Google Maps got marked as fixed … unfortunately I cannot find this change back in the documentation, so I’m not too sure if it’s actually fixed or not. Will keep tracking it. Since Google Maps v3.11 (*) it’s possible to move around a …