Stylus - это препроцессор CSS, который был написан на JavaScript для Node.js.
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
float decel(float x) { // as an easing function | |
return 1-(x-1)*(x-1); | |
} | |
void setup() { | |
background(255); | |
size(750,750,P2D); | |
PImage img = loadImage("image.png"); | |
strokeWeight(2); | |
noFill(); |
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
# Слоумо | |
ffmpeg -i 'input.mp4' -f rawvideo -b 100000000 -vcodec rawvideo -s 1280x720 -y - | ffmpeg -f rawvideo -r 100 -s 1280x720 -i - -b 8000000 -y output.mp4 | |
# Таймлапс из видео (ускорить видео) | |
## 0.125 — в 8 раз | |
ffmpeg -i input.mp4 -filter:v "setpts=0.125*PTS" -r 60 -an output.mp4 |