This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$0 = 10 (Step pulse time, microseconds) | |
$1 = 25 (Step idle delay, milliseconds) | |
$2 = 0 (Step pulse invert, mask) | |
$3 = 1 (Step direction invert, mask) | |
$4 = 0 (Invert step enable pin, boolean) | |
$5 = 1 (Invert limit pins, boolean) | |
$6 = 0 (Invert probe pin, boolean) | |
$10 = 2 (Status report options, mask) | |
$11 = 0.010 (Junction deviation, millimeters) | |
$12 = 0.002 (Arc tolerance, millimeters) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://www.smashingmagazine.com/2016/07/improving-user-flow-through-page-transitions/ | |
You can copy paste this code in your console on smashingmagazine.com | |
in order to have cross-fade transition when change page. | |
*/ | |
var cache = {}; | |
function loadPage(url) { | |
if (cache[url]) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const drawille = require('drawille') | |
const bunny = require('bunny') | |
const glmatrix = require('gl-matrix') | |
const width = 200 | |
const height = 200 | |
const canvas = new drawille(width, height) | |
const mat4 = glmatrix.mat4 | |
const vec3 = glmatrix.vec3 | |
let points = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
To use it, simply declare: | |
`const post = new PostFX(rendering);` | |
Then on update, instead of: | |
`rendering.render(scene, camera);` | |
replace with: | |
`post.render(scene, camera);` | |
*/ | |
import { |
OlderNewer