This file contains hidden or 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
r = ngon([50, 50], 40, 4) | |
r = subdivide(r, 6) | |
r = spawn(r, (seg, i) => | |
arcByPointsAngle( | |
seg.start, | |
seg.point, | |
scalar.sin(/*0*/time * 360/**/) | |
* 180 * (i % 2 ? 1 : -1) | |
) | |
) |
This file contains hidden or 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
p = ellipse([50, 50], [40, 30]) | |
debug(p, 'wheat') | |
p = trim( | |
p, | |
sinwave(time), | |
coswave(time) | |
) |
This file contains hidden or 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 c = Path.circle([50, 50], 45) | |
const cs = Path.subdiv(c, 5) | |
const p = Path.spawnVertex(cs, (s, i) => { | |
const t = scalar.coswave(i / 10 + time) | |
return Path.arcFromPointsAndAngle( | |
s.start, | |
s.point, | |
scalar.mix(36, -230, t) | |
).curves[0].vertices[1] |
This file contains hidden or 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 p = Path.arc( | |
[50, 50], // center | |
40, // radius | |
-90, | |
180, // angle range | |
time < 0.25 | |
? {count: Math.ceil(time * 4 * 8 + 1)} | |
: time < 0.5 | |
? {align: 'uniform', step: scalar.fit(time, 0.25, 0.5, 90, 12.5)} | |
: time < 0.75 |
This file contains hidden or 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 start = [80, 10] | |
const through = [50 + scalar.sin(time * 360) * 30, 50] | |
const end = [30, 90] | |
const arc = Path.arcFromPoints(start, through, end) | |
debug(arc, '#000') | |
dot(through, 'blue') |
This file contains hidden or 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
/*******************************************************************/ | |
/* */ | |
/* ADOBE CONFIDENTIAL */ | |
/* _ _ _ _ _ _ _ _ _ _ _ _ _ */ | |
/* */ | |
/* Copyright 2007-2015 Adobe Systems Incorporated */ | |
/* All Rights Reserved. */ | |
/* */ | |
/* NOTICE: All information contained herein is, and remains the */ | |
/* property of Adobe Systems Incorporated and its suppliers, if */ |
This file contains hidden or 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
for i in *.mp4; \ | |
do ffmpeg -i "$i" \ | |
-c:v prores_ks -profile:v 3 -vendor apl0 -bits_per_mb 8000 -pix_fmt yuv422p10le \ | |
-vf select='not(mod(n\,900))',setpts=N/FRAME_RATE/TB \ | |
-an \ | |
"${i%.*}".mov; \ | |
done |
This file contains hidden or 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
/* | |
{ | |
"id": "9cwrv2kxip", | |
"label": "Polyline + Arc", | |
"icon": "【", | |
"parameters": [ | |
{ | |
"name": "strokeColor", | |
"type": "color", | |
"default": "#282a2e" |
This file contains hidden or 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
/* | |
{ | |
"id": "9mpi7vhkir", | |
"label": "Cmd Pen Tool", | |
"icon": "⌘", | |
"parameters": [ | |
{ | |
"name": "strokeColor", | |
"type": "color", | |
"default": "#282a2e" |
This file contains hidden or 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
/* | |
{ | |
"id": "hreyajl6hh", | |
"label": "Arc Pen", | |
"icon": "ノ", | |
"parameters": [ | |
{ | |
"name": "strokeColor", | |
"type": "color", | |
"default": "#282a2e" |