Huge thanks to Ani for showing me this
nano /etc/hostname # Write your machine's IP| [{ | |
| "sites": [{ | |
| "title": "Route Fifty", | |
| "url": "https://routefifty.caffeina.com/", | |
| "video": "https://player.vimeo.com/play/1271931823?s=325216846_1553860022_a73bd6a89b37aae36983c3e71e080100&loc=external&context=Vimeo%5CController%5CClipController.main", | |
| "awards": "Mobile Excellence, AWWW Honors, CSSDA WOTD, UI / UX / Innovation CSSDA" | |
| }, { | |
| "title": "Evert 45", | |
| "url": "https://www.evert45.com/", | |
| "video": "https://assets.awwwards.com/awards/external/2017/06/594157429f5d9.mp4", |
| const input = [ | |
| { type: 'a', distance: 5 }, | |
| { type: 'c', distance: 3 }, | |
| { type: 'b', distance: 6 }, | |
| { type: 'c', distance: 12 }, | |
| { type: 'b', distance: 1 }, | |
| { type: 'a', distance: 5 }, | |
| { type: 'b', distance: 6 }, | |
| { type: 'a', distance: -1 }, | |
| { type: 'c', distance: 9 }, |
| import EventEmitter from 'eventemitter3' | |
| export default class DragNormalizer extends EventEmitter { | |
| constructor(el) { | |
| super() | |
| this.el = el | |
| this.autoBind() | |
| this.addEventListeners() | |
| } |
Huge thanks to Ani for showing me this
nano /etc/hostname # Write your machine's IP| ffmpeg -i $1 -filter_complex "[0:v] fps=40,scale=800:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" ${1%.*}.gif |
Creative Character Design
Vintage Games 2.0: An Insider Look at the Most Influential Games of All Time
Becoming a Video Game Artist: From Portfolio Design to Landing the Job
Digital Mayhem 3D Landscape Techniques: Where Inspiration, Techniques and Digital Art Meet
Honoring the Code: Conversations with Great Game Designers
| const server = require('./server.js') | |
| const numCPUs = require('os').cpus().length | |
| const cluster = require('cluster') | |
| function makeCluster() { | |
| return new Promise((resolve, reject) => { | |
| if (cluster.isMaster) { | |
| for (let i = 0; i < numCPUs; i++) { | |
| cluster.fork() | |
| } |
| import {on, off} from '@okiba/dom' | |
| const outlineClass = 'is-outline-hidden' | |
| function disableOutline() { | |
| on(window, 'keydown', enableOutline) | |
| off(window, 'mousemove', disableOutline) | |
| document.body.classList.add(outlineClass) | |
| } |