Skip to content

Instantly share code, notes, and snippets.

Avatar
🥝
AMA about working at @webflow

Forrest Oliphant forresto

🥝
AMA about working at @webflow
View GitHub Profile
@forresto
forresto / vid-split-and-loop.meemoo.json
Created Sep 19, 2020
meemoo: webcam to video to multiple players
View vid-split-and-loop.meemoo.json
{
"info": {
"title": "vid split and loop: 1234",
"author": "forresto",
"description": "webcam to video to multiple players",
"url": "vid-split-and-loop"
},
"nodes": [
{
"id": 2,
@forresto
forresto / pingpong.ae.js
Last active Aug 18, 2020
ae pingpong scripting pseudocode
View pingpong.ae.js
// Imagined API
import AE from 'ae'
// Assumes playBackwardDuration is less than playForwardDuration
function (clip, playForwardDuration, playBackwardDuration) {
let time = 0;
const edits = []
while (time < clip.clipDuration) {
let playHead = time;
edits.push(AE.edit(playHead, playHead + playForwardDuration, 1));
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View dr_evil.meemoo.json
{
"info": {
"title": "dr_evil",
"author": "forresto",
"description": "mp4 to grid",
"url": "dr_evil"
},
"nodes": [
{
"id": 4,
@forresto
forresto / nocode-animator.meemoo.json
Last active Nov 13, 2019
nocode-animator.meemoo.json
View nocode-animator.meemoo.json
{
"info": {
"title": "nocode-animator",
"author": "forresto",
"description": "webcam to lottie: refresh the page to reset if things get broken :)",
"url": "nocode-animator",
"parents": [
"https://gist.github.com/ed6b77cdefd9e1aa48362169a86f94b6"
]
},
View homer-back-away-slowly.meemoo.json
{
"info": {
"title": "back-away-slowly",
"author": "forresto",
"description": "not sure where i'm going with this, tho neat that small vid data urls can be stored in app json",
"url": "back-away-slowly-2",
"parents": [
"https://gist.github.com/efe2ea80b8944ea8f2849cddf252638b"
]
},
View meta-drake.meemoo.json
{
"info": {
"title": "drake meme",
"author": "forresto",
"description": "yes no",
"url": "drake-meme"
},
"nodes": [
{
"id": 4,
View meemoo-circle.json
{
"info": {
"title": "circle demo",
"author": "forresto",
"description": "showing basic dataflow and inputs like https://github.com/meemoo/meemooapp/blob/8ea6656b88f0e7eaaf7d8198732125b5c64b4c2d/src/nodes/image-circle.js#L93-L137",
"url": "circle-demo"
},
"nodes": [
{
"id": 4,
@forresto
forresto / jpeg-loop.json
Last active Apr 4, 2019
meemoo: jpeg loop
View jpeg-loop.json
{
"info": {
"author": "meemoo",
"title": "selfie-glitch, inspired by @zachlieberman",
"description": "re: https://twitter.com/zachlieberman/status/1113800722078937090",
"parents": [
"https://gist.github.com/forresto/cd9f64b76cc66c11c4752c7116238753",
"https://gist.github.com/8181561"
],
"url": "jpeg-loop"
You can’t perform that action at this time.