This document has a more accessible location, here:
http://nickporcino.com/posts/last_mile_interchange.html
I'll maintain a copy here too, this is a nice place to support discussion.
/** | |
* To apply the theme: | |
* 1) Open dev tools with CTRL + SHIFT + I | |
* 2) Go to the console | |
* 3) Paste the following code | |
* Note: You will have to do this again whenever Github Desktop updates | |
*/ | |
const fs = require('fs'); | |
const path = require('path'); |
This document has a more accessible location, here:
http://nickporcino.com/posts/last_mile_interchange.html
I'll maintain a copy here too, this is a nice place to support discussion.
// Processing code by Etienne JACOB | |
// motion blur template by beesandbombs | |
// opensimplexnoise code in another tab might be necessary | |
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e | |
int[][] result; | |
float t, c; | |
float ease(float p) { |
// Only export the things that are actually needed, cut out everything else | |
export { WebGLRenderer } from 'three/src/renderers/WebGLRenderer.js' | |
export { ShaderLib } from 'three/src/renderers/shaders/ShaderLib.js' | |
export { UniformsLib } from 'three/src/renderers/shaders/UniformsLib.js' | |
export { UniformsUtils } from 'three/src/renderers/shaders/UniformsUtils.js' | |
export { ShaderChunk } from 'three/src/renderers/shaders/ShaderChunk.js' | |
export { Scene } from 'three/src/scenes/Scene.js' | |
export { Mesh } from 'three/src/objects/Mesh.js' | |
export { LineSegments } from 'three/src/objects/LineSegments.js' |
export const createNewPhysicsLoopWebWorker = (stepRate: number) => { | |
return new Worker('data:application/javascript,' + | |
encodeURIComponent(` | |
var start = performance.now(); | |
var updateRate = ${stepRate}; | |
function getNow() { | |
return start + performance.now(); | |
} |
"platforms": [ | |
{ | |
"platform": "Camera-ffmpeg", | |
"name": "Camera FFmpeg", | |
"cameras": [ | |
{ | |
"name": "Curiosity NAVCAM", | |
"videoConfig": { | |
"source": "-f image2 -loop 1 -s 720x480 -pix_fmt yuvj422p -i /homebridge/cams/curiosity-NAVCAM-curr.jpg" | |
} |