Source
1size 1200 800
2background #0a0e1a
3timeline 24 132
4
5// Un calque-GUIDE : son tracé n'est pas dessiné, il sert de chemin. La fusée posée dessus le suit d'une
6// image-clé à l'autre et s'oriente sur sa tangente (`orient`) ; sa flamme est une petite animation qui
7// boucle dans son propre symbole. La traînée est le même tracé, dessiné au fil du vol (`draw`) avec la même
8// courbe que les images-clés : `easeInOut` du paquet `easing` est celle de `ease easeInOut`.
9scene {
10 layer "Ciel" {
11 rect 0 0 1200 800 fill radial(0.45, 0.4, 0.8, 0:#172056, 1:#05070f)
12 repeat i from 0 to 90 { circle $(mod(i * 433, 1200)) $(mod(i * 257, 800)) $(0.5 + mod(i, 3) * 0.6) fill #ffffff opacity $(0.15 + mod(i, 5) * 0.12) }
13 }
14 layer "Astres" {
15 circle 70 620 190 fill radial(0.5, 0.5, 0.5, 0:#4aa3ff30, 0.8:#4aa3ff10, 1:#4aa3ff00)
16 circle 70 620 150 fill radial(0.38, 0.32, 0.75, 0:#9fd6ff, 0.55:#2f7fd8, 1:#0e2f6a)
17 path "M-10 520 C30 500 80 510 96 540 C108 566 70 580 40 572 C10 566 -20 548 -10 520 Z" fill #4fb36a
18 path "M110 600 C140 590 180 610 176 640 C170 666 130 664 112 646 Z" fill #4fb36a
19 circle 1120 380 96 fill radial(0.5, 0.5, 0.5, 0:#fff4d630, 1:#fff4d600)
20 circle 1120 380 74 fill radial(0.38, 0.32, 0.75, 0:#ffffff, 0.6:#d9dce8, 1:#8a8fa3)
21 circle 1094 352 13 fill #00000018
22 circle 1140 404 18 fill #00000014
23 circle 1112 430 8 fill #00000018
24 }
25 layer "Trajet" {
26 path "M170 470C380 170 460 700 600 420C820 190 880 720 1040 450" nofill stroke #ffffff30 3 cap round dash 2,12 nohit
27 path "M170 470C380 170 460 700 600 420C820 190 880 720 1040 450" nofill stroke #ffb45a26 14 cap round draw "easeInOut(clamp(frame / 108, 0, 1))" nohit
28 path "M170 470C380 170 460 700 600 420C820 190 880 720 1040 450" nofill stroke #ffd08a 3 cap round draw "easeInOut(clamp(frame / 108, 0, 1))" nohit
29 }
30 layer "Titre" {
31 text "FUSÉE & GUIDE" at 40,36 font "Geist, system-ui, sans-serif" size 30 bold align left line 1.2 color #e8ecff box 400 40
32 text "la fusée suit un tracé invisible, de la Terre à la Lune" at 40,76 font "Geist, system-ui, sans-serif" size 17 align left line 1.2 color #8f9cc8 box 520 24
33 }
34 guide layer "Guide" {
35 path "M170 470C380 170 460 700 600 420C820 190 880 720 1040 450" nofill
36 layer "Fusée (suit le guide)" orient {
37 group "Fusée" at 170,470 pivot 0,0 {
38 timeline 24 12
39 layer "Flamme" {
40 group "Flamme" pivot 0,0 {
41 layer "c" {
42 path "M-34 -10L-34 10L-64 0Z" fill linear(180, 0:#ffe08a, 1:#ff5a3d)
43 }
44 }
45 cel 0 tween {
46 pose "Flamme" at 0,0 opacity 1
47 }
48 cel 6 tween {
49 pose "Flamme" matrix(0.55,0,0,0.55,0,0) opacity 0.7
50 }
51 cel 12 {
52 pose "Flamme" at 0,0 opacity 1
53 }
54 }
55 layer "Corps" {
56 path "M-34 -12L-34 -30L-16 -12Z" fill #ff5a5f
57 path "M-34 12L-34 30L-16 12Z" fill #ff5a5f
58 path "M-34 -14L22 -14L40 0L22 14L-34 14Z" fill linear(0, 0:#ffffff, 1:#9aa7bd)
59 path "M17 0L16.31 3.44L14.36 6.36L11.44 8.31L8 9L4.56 8.31L1.64 6.36L-0.31 3.44L-1 0L-0.31 -3.44L1.64 -6.36L4.56 -8.31L8 -9L11.44 -8.31L14.36 -6.36L16.31 -3.44Z" fill radial(0.5, 0.5, 0.5, 0:#bfe0ff, 1:#1f6fd6)
60 }
61 }
62 cel 0 tween ease easeInOut {
63 pose "Fusée" at 170,470
64 }
65 cel 108 {
66 pose "Fusée" at 1040,450
67 }
68 }
69 }
70}
Galerie
FR
FrançaisEnglish

Fusée & guide

Scène animée · 1200×800 · 24 img/s
FlatInk
GuideAnimation
Gérer (admin)
Informations
Type
Scène animée
Dimensions
1200 × 800
Cadence
24 img/s
Durée
5.5 s · 132 images
Téléchargements
Page web autonome Ouvrir dans l'éditeur
FlatInk