Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lights, Camera, Action : Présentation de Remotion
Search
jojmaht
November 25, 2021
Programming
0
98
Lights, Camera, Action : Présentation de Remotion
Présentation de Remotion en passant par un peu de théorie des images
jojmaht
November 25, 2021
Tweet
Share
Other Decks in Programming
See All in Programming
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
110
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
420
Catch Up: Go Style Guide Update
andpad
0
250
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
610
マンガアプリViewerの大画面対応を考える
kk__777
0
220
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
200
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
900
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
190
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
14
45k
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
240
モテるデスク環境
mozumasu
3
1.3k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
Raft: Consensus for Rubyists
vanstee
140
7.2k
How to Ace a Technical Interview
jacobian
280
24k
For a Future-Friendly Web
brad_frost
180
10k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
600
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Transcript
Lights Camera Action
None
None
None
None
VIDEO example 1
VIDEO example 2
VIDEO example 3
Développeur front-end freelance Putain de Code (h tt p://putaindecode.io)
The problem Knowledge to make videos Knowledge I have
What Is A picture?
None
None
2 dimensions
2 dimensions 1. Width 2. Height
function picture(width, height) { return Array.from({length: height}).map(y => Array.from({length: width}).map(x
=> getColorAtPosition(x, y)) ) }
1 2 3 4 5 6 7 8 1 2
3 4 5 6 7 8
1 2 3 4 5 6 7 8 1 2
3 4 5 6 7 8 picture[y][x]
1 2 3 4 5 6 7 8 1 2
3 4 5 6 7 8 picture[4][x]
1 2 3 4 5 6 7 8 1 2
3 4 5 6 7 8 picture[4][x]
1 2 3 4 5 6 7 8 1 2
3 4 5 6 7 8 picture[4][6]
1 2 3 4 5 6 7 8 1 2
3 4 5 6 7 8 picture[4][6]
What Is A video?
None
None
None
None
None
None
VIDEO IS 3D
time Is a dimension
None
function video(frames, width, height) { return Array.from({length: frames}).map(frame => picture(width,
height) ) }
Videos are state machines.
Enter Remotion
In a nutshell
remotion
remotion $ npm init video $ yarn create video
remotion
function Video() { let frame = useCurrentFrame() return <Picture frame={frame}
/> }
Idempotency
Use current frame const frame = useCurrentFrame()
interpolate const height = interpolate( frame, [frame1, frame100], [value1, value2]
)
random const randomValue = random(seed)
None
A primer about noise "White" noise perlin noise
Real world applications
using randomness
using Perlin noise
using Perlin noise (twice)
Let's try Live coding A video
Aide À COMPRENDRE COMMENT FONCTIONNE L'ANIMATION takeaways 1.
PERMET D'ITÉRER RAPIDEMENT SUR DES IDÉES takeaways 2.
Permet d'automatiser la production vidéo takeaways 3.
partageable directement sur un support web takeaways 4.
takeaways
C’est fun takeaways 5.
Merci ! questions ? Twi tt er: @jojmaht GitHub: @jojmaht