dsh-remotion 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +7 -5
- package/README.md +3 -3
- package/lib/index.d.ts +2 -2
- package/lib/index.js +15 -2
- package/package.json +1 -1
- package/skills/remotion-best-practices/SKILL.md +59 -0
- package/skills/remotion-best-practices/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-captions/SKILL.md +36 -0
- package/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/display-captions.md +9 -3
- package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/import-srt-captions.md +5 -1
- package/skills/remotion-best-practices/remotion-create/SKILL.md +68 -0
- package/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-create}/tailwind.md +1 -1
- package/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
- package/skills/remotion-best-practices/remotion-docs/SKILL.md +46 -0
- package/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-interactivity/SKILL.md +247 -0
- package/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/remotion-best-practices/remotion-markup/SKILL.md +365 -0
- package/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/audio.md +4 -2
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/calculate-metadata.md +4 -2
- package/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
- package/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
- package/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
- package/skills/{remotion/rules/videos.md → remotion-best-practices/remotion-markup/embedding-videos.md} +6 -4
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/ffmpeg.md +5 -1
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/gifs.md +55 -9
- package/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
- package/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
- package/skills/remotion-best-practices/remotion-markup/images.md +73 -0
- package/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
- package/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/lottie.md +4 -1
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/measuring-dom-nodes.md +5 -1
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/measuring-text.md +8 -2
- package/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/parameters.md +3 -1
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/sequencing.md +63 -12
- package/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
- package/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
- package/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/transitions.md +49 -7
- package/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/voiceover.md +2 -2
- package/skills/remotion-best-practices/remotion-multimedia/SKILL.md +20 -0
- package/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-audio-duration.md +1 -3
- package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-video-dimensions.md +1 -3
- package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-video-duration.md +1 -3
- package/skills/remotion-best-practices/remotion-render/SKILL.md +27 -0
- package/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-saas/SKILL.md +33 -0
- package/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
- package/skills/remotion-best-practices/remotion-saas/player.md +33 -0
- package/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
- package/skills/remotion-best-practices/remotion-studio/SKILL.md +24 -0
- package/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-upgrade/SKILL.md +31 -0
- package/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
- package/skills/remotion-captions/SKILL.md +36 -0
- package/skills/remotion-captions/agents/openai.yaml +7 -0
- package/skills/remotion-captions/assets/remotion-icon.png +0 -0
- package/skills/remotion-captions/display-captions.md +190 -0
- package/skills/remotion-captions/import-srt-captions.md +73 -0
- package/skills/remotion-captions/transcribe-captions.md +70 -0
- package/skills/remotion-create/SKILL.md +68 -0
- package/skills/remotion-create/agents/openai.yaml +7 -0
- package/skills/remotion-create/assets/remotion-icon.png +0 -0
- package/skills/remotion-create/tailwind.md +11 -0
- package/skills/remotion-create/video-layout.md +9 -0
- package/skills/remotion-docs/SKILL.md +46 -0
- package/skills/remotion-docs/agents/openai.yaml +7 -0
- package/skills/remotion-docs/assets/remotion-icon.png +0 -0
- package/skills/remotion-interactivity/SKILL.md +247 -0
- package/skills/remotion-interactivity/agents/openai.yaml +7 -0
- package/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
- package/skills/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/remotion-markup/3d.md +86 -0
- package/skills/remotion-markup/SKILL.md +365 -0
- package/skills/remotion-markup/agents/openai.yaml +7 -0
- package/skills/remotion-markup/assets/remotion-icon.png +0 -0
- package/skills/remotion-markup/audio-visualization.md +198 -0
- package/skills/remotion-markup/audio.md +171 -0
- package/skills/remotion-markup/calculate-metadata.md +136 -0
- package/skills/remotion-markup/compositions.md +117 -0
- package/skills/remotion-markup/cropping.md +34 -0
- package/skills/remotion-markup/effects.md +251 -0
- package/skills/remotion-markup/embedding-videos.md +173 -0
- package/skills/remotion-markup/ffmpeg.md +38 -0
- package/skills/remotion-markup/gifs.md +187 -0
- package/skills/remotion-markup/google-fonts.md +76 -0
- package/skills/remotion-markup/html-in-canvas.md +128 -0
- package/skills/remotion-markup/images.md +73 -0
- package/skills/remotion-markup/light-leaks.md +106 -0
- package/skills/remotion-markup/local-fonts.md +69 -0
- package/skills/remotion-markup/lottie.md +73 -0
- package/skills/remotion-markup/measuring-dom-nodes.md +38 -0
- package/skills/remotion-markup/measuring-text.md +146 -0
- package/skills/remotion-markup/multi-scene-video.md +81 -0
- package/skills/remotion-markup/parameters.md +111 -0
- package/skills/remotion-markup/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/remotion-markup/sequencing.md +169 -0
- package/skills/remotion-markup/sfx.md +51 -0
- package/skills/remotion-markup/silence-detection.md +71 -0
- package/skills/remotion-markup/text-highlights.md +56 -0
- package/skills/remotion-markup/timing.md +111 -0
- package/skills/remotion-markup/transitions.md +239 -0
- package/skills/remotion-markup/video-editing.md +90 -0
- package/skills/remotion-markup/voiceover.md +99 -0
- package/skills/remotion-multimedia/SKILL.md +20 -0
- package/skills/remotion-multimedia/agents/openai.yaml +7 -0
- package/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
- package/skills/remotion-multimedia/get-audio-duration.md +56 -0
- package/skills/remotion-multimedia/get-video-dimensions.md +66 -0
- package/skills/remotion-multimedia/get-video-duration.md +58 -0
- package/skills/remotion-render/SKILL.md +27 -0
- package/skills/remotion-render/agents/openai.yaml +7 -0
- package/skills/remotion-render/assets/remotion-icon.png +0 -0
- package/skills/remotion-render/transparent-videos.md +106 -0
- package/skills/remotion-saas/SKILL.md +33 -0
- package/skills/remotion-saas/agents/openai.yaml +7 -0
- package/skills/remotion-saas/assets/remotion-icon.png +0 -0
- package/skills/remotion-saas/framework.md +21 -0
- package/skills/remotion-saas/player.md +33 -0
- package/skills/remotion-saas/rendering.md +69 -0
- package/skills/remotion-studio/SKILL.md +24 -0
- package/skills/remotion-studio/agents/openai.yaml +7 -0
- package/skills/remotion-studio/assets/remotion-icon.png +0 -0
- package/skills/remotion-upgrade/SKILL.md +31 -0
- package/skills/remotion-upgrade/agents/openai.yaml +7 -0
- package/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
- package/skills/remotion/SKILL.md +0 -95
- package/skills/remotion/rules/animations.md +0 -31
- package/skills/remotion/rules/assets.md +0 -78
- package/skills/remotion/rules/can-decode.md +0 -81
- package/skills/remotion/rules/charts.md +0 -120
- package/skills/remotion/rules/compositions.md +0 -154
- package/skills/remotion/rules/extract-frames.md +0 -229
- package/skills/remotion/rules/fonts.md +0 -152
- package/skills/remotion/rules/images.md +0 -134
- package/skills/remotion/rules/light-leaks.md +0 -73
- package/skills/remotion/rules/maps.md +0 -412
- package/skills/remotion/rules/sfx.md +0 -30
- package/skills/remotion/rules/subtitles.md +0 -36
- package/skills/remotion/rules/text-animations.md +0 -20
- package/skills/remotion/rules/timing.md +0 -136
- package/skills/remotion/rules/trimming.md +0 -51
- /package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/transcribe-captions.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/3d.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/audio-visualization.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/silence-detection.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-render}/transparent-videos.md +0 -0
package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
[
|
|
2
|
+
[94.986139893537, 29.76417312959953],
|
|
3
|
+
[94.98637054463002, 29.764163024004816],
|
|
4
|
+
[94.98661427422437, 29.764153025681516],
|
|
5
|
+
[94.9868698103708, 29.764142908388347],
|
|
6
|
+
[94.98713600736019, 29.764132461562934],
|
|
7
|
+
[94.98741179569139, 29.76412145291623],
|
|
8
|
+
[94.9876962466277, 29.764109663422126],
|
|
9
|
+
[94.98798853462426, 29.764096898390772],
|
|
10
|
+
[94.98828790834106, 29.764082995679242],
|
|
11
|
+
[94.98859364523021, 29.764067827511347],
|
|
12
|
+
[94.98890509685035, 29.764051279216236],
|
|
13
|
+
[94.98922167960325, 29.76403324759024],
|
|
14
|
+
[94.98954294512464, 29.76401367774424],
|
|
15
|
+
[94.9898685550894, 29.76399255290906],
|
|
16
|
+
[94.99019820264337, 29.76396985787546],
|
|
17
|
+
[94.9905316178847, 29.763945606334815],
|
|
18
|
+
[94.9908685732739, 29.763919866576575],
|
|
19
|
+
[94.99120886105722, 29.763892700951896],
|
|
20
|
+
[94.99155229116181, 29.7638641665054],
|
|
21
|
+
[94.99189872300363, 29.76383429811986],
|
|
22
|
+
[94.99224811692223, 29.763803085651237],
|
|
23
|
+
[94.99260053337049, 29.763770509641105],
|
|
24
|
+
[94.99295601118384, 29.76373658086857],
|
|
25
|
+
[94.99331456742908, 29.763701322339223],
|
|
26
|
+
[94.99367598745215, 29.763664830647013],
|
|
27
|
+
[94.99404000156176, 29.763627219082974],
|
|
28
|
+
[94.99440635968021, 29.763588592698778],
|
|
29
|
+
[94.99477481502787, 29.76354905236459],
|
|
30
|
+
[94.9951451006731, 29.763508748648892],
|
|
31
|
+
[94.99578766204738, 29.763462125646818],
|
|
32
|
+
[94.99643710580968, 29.763412119743368],
|
|
33
|
+
[94.99709296623192, 29.763358988682928],
|
|
34
|
+
[94.99775479298779, 29.763302979031952],
|
|
35
|
+
[94.99842214521965, 29.763244327404465],
|
|
36
|
+
[94.99909470569231, 29.763183258547627],
|
|
37
|
+
[94.9997722961385, 29.76312010454948],
|
|
38
|
+
[95.00045474013422, 29.763055184243758],
|
|
39
|
+
[95.00114189582168, 29.762988795623112],
|
|
40
|
+
[95.00183368970049, 29.762921207778405],
|
|
41
|
+
[95.0025300799095, 29.76285270023514],
|
|
42
|
+
[95.00323103443773, 29.762783549665084],
|
|
43
|
+
[95.00393658318124, 29.76271400155497],
|
|
44
|
+
[95.00464681949704, 29.76264432424487],
|
|
45
|
+
[95.00536183331896, 29.76257477740286],
|
|
46
|
+
[95.00608171146906, 29.762505612813378],
|
|
47
|
+
[95.00680653793428, 29.762437075077955],
|
|
48
|
+
[95.00753639864557, 29.762369398844733],
|
|
49
|
+
[95.00827137837749, 29.762302811854063],
|
|
50
|
+
[95.00901153006761, 29.762237519590354],
|
|
51
|
+
[95.00975680776318, 29.76217368790719],
|
|
52
|
+
[95.01050716875933, 29.762111478518566],
|
|
53
|
+
[95.0112626067996, 29.76205102042169],
|
|
54
|
+
[95.01202312290016, 29.761992432502932],
|
|
55
|
+
[95.01278871942189, 29.76193583156792],
|
|
56
|
+
[95.01355940108247, 29.761881333165324],
|
|
57
|
+
[95.01433525277555, 29.761829093407865],
|
|
58
|
+
[95.01511636205572, 29.761779224166457],
|
|
59
|
+
[95.01590278872715, 29.76173180995877],
|
|
60
|
+
[95.0166868810408, 29.76168612055982],
|
|
61
|
+
[95.01746871725406, 29.761642332250204],
|
|
62
|
+
[95.0182483756254, 29.76160062131038],
|
|
63
|
+
[95.01902596675926, 29.761561177619345],
|
|
64
|
+
[95.019801682618, 29.761524238306453],
|
|
65
|
+
[95.02057570378254, 29.76149004865798],
|
|
66
|
+
[95.02134818878243, 29.761458838563573],
|
|
67
|
+
[95.02211921065114, 29.761430763930672],
|
|
68
|
+
[95.02288888930805, 29.761405973069504],
|
|
69
|
+
[95.02365734467304, 29.761384614290225],
|
|
70
|
+
[95.02442469666667, 29.761366835902948],
|
|
71
|
+
[95.02519095257038, 29.761352731197437],
|
|
72
|
+
[95.02595602043016, 29.761342344990513],
|
|
73
|
+
[95.02671980829304, 29.761335722099044],
|
|
74
|
+
[95.02748221022355, 29.76133286485609],
|
|
75
|
+
[95.02824308111781, 29.761333684556867],
|
|
76
|
+
[95.02900227020879, 29.761338090875398],
|
|
77
|
+
[95.02975960629327, 29.76134599002589],
|
|
78
|
+
[95.03051480114966, 29.76135728786741],
|
|
79
|
+
[95.03126749207338, 29.761371921751238],
|
|
80
|
+
[95.03201723576402, 29.761389829130785],
|
|
81
|
+
[95.03276363398774, 29.761410893146387],
|
|
82
|
+
[95.03350632277824, 29.761434973117545],
|
|
83
|
+
[95.03424521675927, 29.76146183394706],
|
|
84
|
+
[95.03498037607913, 29.761491215377145],
|
|
85
|
+
[95.035711917426, 29.761522866578012],
|
|
86
|
+
[95.03643998610582, 29.761556530192124],
|
|
87
|
+
[95.03716475930274, 29.761591886465347],
|
|
88
|
+
[95.03788653744915, 29.761628566185358],
|
|
89
|
+
[95.03860571883365, 29.76166618469001],
|
|
90
|
+
[95.03932258585421, 29.76170436456548],
|
|
91
|
+
[95.04003738892985, 29.76174273062808],
|
|
92
|
+
[95.04075025083816, 29.76178094997509],
|
|
93
|
+
[95.0414610559133, 29.76181870813213],
|
|
94
|
+
[95.04216961904287, 29.761855638407084],
|
|
95
|
+
[95.04287591713418, 29.761891331889718],
|
|
96
|
+
[95.04357986124926, 29.761925397709096],
|
|
97
|
+
[95.04428137757625, 29.761957488479126],
|
|
98
|
+
[95.04498041854592, 29.76198725048925],
|
|
99
|
+
[95.04567682817188, 29.762014317811357],
|
|
100
|
+
[95.04637032968634, 29.762038376323694],
|
|
101
|
+
[95.04706059416637, 29.762059099770216],
|
|
102
|
+
[95.04774726432963, 29.762076162373777],
|
|
103
|
+
[95.0484300050609, 29.762089241174117],
|
|
104
|
+
[95.04910871445378, 29.762098042845082],
|
|
105
|
+
[95.04978328153793, 29.762102280852183],
|
|
106
|
+
[95.05045359964508, 29.76210167552205],
|
|
107
|
+
[95.05111966253706, 29.76209602004179],
|
|
108
|
+
[95.05178153406797, 29.762085106891018],
|
|
109
|
+
[95.05243927503516, 29.762068731547185],
|
|
110
|
+
[95.05309287649075, 29.762046750046103],
|
|
111
|
+
[95.0537422946664, 29.762019099359485],
|
|
112
|
+
[95.05438748396233, 29.761985721609257],
|
|
113
|
+
[95.05502839823626, 29.76194655859307],
|
|
114
|
+
[95.05566488201883, 29.761901557942874],
|
|
115
|
+
[95.05629656919591, 29.761850805510885],
|
|
116
|
+
[95.05692313234233, 29.761794428680094],
|
|
117
|
+
[95.0575442743842, 29.761732580860688],
|
|
118
|
+
[95.0581596433054, 29.761665348138973],
|
|
119
|
+
[95.05876888708963, 29.761592816601354],
|
|
120
|
+
[95.05937164047754, 29.761515065256333],
|
|
121
|
+
[95.05996759228947, 29.761432144038746],
|
|
122
|
+
[95.06055643134583, 29.761344102883623],
|
|
123
|
+
[95.06113793491645, 29.761251010034922],
|
|
124
|
+
[95.06171214230999, 29.761153046649387],
|
|
125
|
+
[95.06227907948092, 29.761050389948267],
|
|
126
|
+
[95.06283877238438, 29.760943217152814],
|
|
127
|
+
[95.06339127381165, 29.760831691663462],
|
|
128
|
+
[95.06393669678933, 29.760716002374487],
|
|
129
|
+
[95.06447520396281, 29.76059636241658],
|
|
130
|
+
[95.06500695797821, 29.760472984920362],
|
|
131
|
+
[95.06553212847378, 29.760346104258282],
|
|
132
|
+
[95.0660508986937, 29.760216015040477],
|
|
133
|
+
[95.06656344194985, 29.760083025494016],
|
|
134
|
+
[95.06707002648291, 29.75994741412334],
|
|
135
|
+
[95.06757112978441, 29.759809440866206],
|
|
136
|
+
[95.06806722979658, 29.759669344181514],
|
|
137
|
+
[95.06855878142073, 29.759527354008487],
|
|
138
|
+
[95.06904617625263, 29.759383697903765],
|
|
139
|
+
[95.06952978875404, 29.75923861533451],
|
|
140
|
+
[95.07000993080214, 29.759092371156385],
|
|
141
|
+
[95.07048679175114, 29.758945227682446],
|
|
142
|
+
[95.07096044787545, 29.75879742836973],
|
|
143
|
+
[95.07143096114058, 29.758649219939148],
|
|
144
|
+
[95.0718984144853, 29.758500858117706],
|
|
145
|
+
[95.07236278188816, 29.7583525823887],
|
|
146
|
+
[95.07282412506945, 29.758204644682806],
|
|
147
|
+
[95.07328275575983, 29.75805728963777],
|
|
148
|
+
[95.07373905641253, 29.757910760813612],
|
|
149
|
+
[95.07419366476313, 29.757765217208473],
|
|
150
|
+
[95.07464735762416, 29.757620800921966],
|
|
151
|
+
[95.07510085345471, 29.757477677507868],
|
|
152
|
+
[95.07555467766437, 29.757336168750566],
|
|
153
|
+
[95.07600940811365, 29.757196598118206],
|
|
154
|
+
[95.07646537399586, 29.75705931280275],
|
|
155
|
+
[95.0769228207089, 29.756924677394206],
|
|
156
|
+
[95.07738220221682, 29.756793075496777],
|
|
157
|
+
[95.07784401968648, 29.75666487927172],
|
|
158
|
+
[95.07830874492939, 29.756540496044202],
|
|
159
|
+
[95.07877690647402, 29.756420332181715],
|
|
160
|
+
[95.07924898851259, 29.75630478841808],
|
|
161
|
+
[95.07972503722137, 29.756194196891926],
|
|
162
|
+
[95.08020511490892, 29.756088882533362],
|
|
163
|
+
[95.0806891403115, 29.75598918720403],
|
|
164
|
+
[95.08117690920173, 29.75589531641115],
|
|
165
|
+
[95.08166835685006, 29.755807414283098],
|
|
166
|
+
[95.08216335868525, 29.75572566824862],
|
|
167
|
+
[95.08266177736347, 29.755650250535062],
|
|
168
|
+
[95.08316349491537, 29.75558120546187],
|
|
169
|
+
[95.08366839703267, 29.755518567048284],
|
|
170
|
+
[95.08417639041532, 29.75546236367944],
|
|
171
|
+
[95.08468755179344, 29.755412571989652],
|
|
172
|
+
[95.08520236790308, 29.755369015997044],
|
|
173
|
+
[95.08572134650697, 29.75533148313236],
|
|
174
|
+
[95.0862450098908, 29.755299740305322],
|
|
175
|
+
[95.08677390781156, 29.75527358808779],
|
|
176
|
+
[95.08730861289804, 29.755252808551163],
|
|
177
|
+
[95.08784970300886, 29.755237175354623],
|
|
178
|
+
[95.08839755885471, 29.755226476280296],
|
|
179
|
+
[95.08895256438073, 29.755220494902016],
|
|
180
|
+
[95.089514993805, 29.755219019351184],
|
|
181
|
+
[95.09008489086116, 29.7552217729881],
|
|
182
|
+
[95.09066229928165, 29.75522847917293],
|
|
183
|
+
[95.09124726342738, 29.755238870403907],
|
|
184
|
+
[95.09183976966378, 29.755252726598844],
|
|
185
|
+
[95.09243978867215, 29.75526985018834],
|
|
186
|
+
[95.09304723439128, 29.755290065097345],
|
|
187
|
+
[95.09366184648091, 29.75531326126932],
|
|
188
|
+
[95.09428337414857, 29.755339326723966],
|
|
189
|
+
[95.09491171647382, 29.755368102171502],
|
|
190
|
+
[95.09554680939114, 29.75539940595205],
|
|
191
|
+
[95.09618846028675, 29.755433126230766],
|
|
192
|
+
[95.09683632409143, 29.75546923335011],
|
|
193
|
+
[95.09749004228215, 29.75550775219342],
|
|
194
|
+
[95.09814924669702, 29.755548754655436],
|
|
195
|
+
[95.0988136358514, 29.755592374644042],
|
|
196
|
+
[95.09948290826172, 29.755638746066982],
|
|
197
|
+
[95.1001568080277, 29.75568798494813],
|
|
198
|
+
[95.10083517891061, 29.75574017449467],
|
|
199
|
+
[95.10151797539464, 29.75579531974171],
|
|
200
|
+
[95.1022051519645, 29.755853425724286],
|
|
201
|
+
[95.10289664375364, 29.755914488290983],
|
|
202
|
+
[95.10359258928374, 29.755978570204803],
|
|
203
|
+
[95.10429306658138, 29.756045742645284],
|
|
204
|
+
[95.10499798654989, 29.756116067070348],
|
|
205
|
+
[95.10570717321444, 29.75618958016383],
|
|
206
|
+
[95.10642032295875, 29.75626636089044],
|
|
207
|
+
[95.10713711848761, 29.756346492746122],
|
|
208
|
+
[95.10785729025027, 29.75643004436662],
|
|
209
|
+
[95.10858043622838, 29.75651688160893],
|
|
210
|
+
[95.10930611534633, 29.75660684892344],
|
|
211
|
+
[95.11003407093642, 29.756699686157475],
|
|
212
|
+
[95.11076414467685, 29.756795123665622],
|
|
213
|
+
[95.1114960914754, 29.756892893838618],
|
|
214
|
+
[95.11222971288655, 29.756992700238396],
|
|
215
|
+
[95.1129649452222, 29.75709420093414],
|
|
216
|
+
[95.11370170201873, 29.75719709582746],
|
|
217
|
+
[95.11443986012442, 29.757301125099488],
|
|
218
|
+
[95.11517935555177, 29.7574061249826],
|
|
219
|
+
[95.11592009761476, 29.757511940391662],
|
|
220
|
+
[95.11666232015585, 29.75761835330566],
|
|
221
|
+
[95.11740624233691, 29.757725222810585],
|
|
222
|
+
[95.11815181076378, 29.75783253698326],
|
|
223
|
+
[95.11889913308254, 29.757940178669305],
|
|
224
|
+
[95.11964841222917, 29.758048000558695],
|
|
225
|
+
[95.12039993276164, 29.758155854652614],
|
|
226
|
+
[95.12115399312397, 29.75826357999786],
|
|
227
|
+
[95.1219108497459, 29.75837102690515],
|
|
228
|
+
[95.1226706293697, 29.758478081829693],
|
|
229
|
+
[95.12343325561484, 29.758584686897258],
|
|
230
|
+
[95.12419857627997, 29.758690818430438],
|
|
231
|
+
[95.12496638982559, 29.75879646083105],
|
|
232
|
+
[95.12573649209446, 29.7589015818837],
|
|
233
|
+
[95.12650863318528, 29.75900618637391],
|
|
234
|
+
[95.12728253192327, 29.759110282431784],
|
|
235
|
+
[95.12805798566751, 29.75921386162033],
|
|
236
|
+
[95.12883477913662, 29.759316919371038],
|
|
237
|
+
[95.12961273528985, 29.759419445656786],
|
|
238
|
+
[95.13039166301432, 29.759521458216526],
|
|
239
|
+
[95.13117134363408, 29.759622963323043],
|
|
240
|
+
[95.13195155721434, 29.759723948972997],
|
|
241
|
+
[95.13273211930314, 29.759824349786275],
|
|
242
|
+
[95.13351286507051, 29.759924061406032],
|
|
243
|
+
[95.13428648274362, 29.76002351015658],
|
|
244
|
+
[95.1350533298064, 29.760122544307915],
|
|
245
|
+
[95.1358137532818, 29.760221010686855],
|
|
246
|
+
[95.13656784419986, 29.760318809952974],
|
|
247
|
+
[95.13731567503761, 29.76041584848236],
|
|
248
|
+
[95.1380573752464, 29.760511990985425],
|
|
249
|
+
[95.13879310931623, 29.76060704815151],
|
|
250
|
+
[95.13952306473344, 29.760700794123938],
|
|
251
|
+
[95.14024751710419, 29.7607929520901],
|
|
252
|
+
[95.14096671686433, 29.760883206230545],
|
|
253
|
+
[95.14168092332761, 29.76097123202995],
|
|
254
|
+
[95.14239029599311, 29.761056732470486],
|
|
255
|
+
[95.14309486625548, 29.761139484506582],
|
|
256
|
+
[95.14379454089128, 29.761219462160696],
|
|
257
|
+
[95.14448922306659, 29.76129664046317],
|
|
258
|
+
[95.14517882147311, 29.76137100941381],
|
|
259
|
+
[95.14586312132259, 29.761442532574584],
|
|
260
|
+
[95.14654188135431, 29.761511168945386],
|
|
261
|
+
[95.14721489938523, 29.761576901934955],
|
|
262
|
+
[95.14788204807155, 29.761639772673718],
|
|
263
|
+
[95.14854319868547, 29.76169982923195],
|
|
264
|
+
[95.14919822095698, 29.761757127412878],
|
|
265
|
+
[95.14984699116548, 29.76181173598209],
|
|
266
|
+
[95.15048960377052, 29.761863851723042],
|
|
267
|
+
[95.15112617637942, 29.761913696049017],
|
|
268
|
+
[95.15175681293137, 29.761961561816054],
|
|
269
|
+
[95.15238148064795, 29.762007691856205],
|
|
270
|
+
[95.15300009096235, 29.762052309028526],
|
|
271
|
+
[95.1533539374323, 29.762086082676035],
|
|
272
|
+
[95.15370650809008, 29.762118928860186],
|
|
273
|
+
[95.15405759583123, 29.762150875711065],
|
|
274
|
+
[95.15440704121897, 29.76218191319173],
|
|
275
|
+
[95.1547548321985, 29.762211967913583],
|
|
276
|
+
[95.15510097264206, 29.762240955288657],
|
|
277
|
+
[95.15544525415498, 29.762268829619945],
|
|
278
|
+
[95.15578751039571, 29.76229553455492],
|
|
279
|
+
[95.15612769998111, 29.762320941845203],
|
|
280
|
+
[95.15646565712565, 29.762344985615734],
|
|
281
|
+
[95.156801142589, 29.76236761294652],
|
|
282
|
+
[95.1571338046714, 29.76238883654028],
|
|
283
|
+
[95.15746323934037, 29.76240869370805],
|
|
284
|
+
[95.15778903282519, 29.762427217766984],
|
|
285
|
+
[95.15811077257146, 29.762444433666733],
|
|
286
|
+
[95.15842800577592, 29.762460368791256],
|
|
287
|
+
[95.15874028837707, 29.76247502889767],
|
|
288
|
+
[95.15904716834646, 29.76248842410003],
|
|
289
|
+
[95.1593481499996, 29.762500590502704],
|
|
290
|
+
[95.15964271930007, 29.76251153961251],
|
|
291
|
+
[95.1599303416933, 29.76252129267978],
|
|
292
|
+
[95.16021045104225, 29.762529892932115],
|
|
293
|
+
[95.16048243037355, 29.762537389252305],
|
|
294
|
+
[95.16074559672008, 29.762543832974302],
|
|
295
|
+
[95.1609993202866, 29.762549265122786],
|
|
296
|
+
[95.16124294069552, 29.762553753099137],
|
|
297
|
+
[95.16147571071544, 29.762557390653928],
|
|
298
|
+
[95.16169677155058, 29.762560323342807]
|
|
299
|
+
]
|
package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {Composition} from 'remotion';
|
|
3
|
+
import {CesiumFlythrough, type CesiumFlythroughProps} from './CesiumFlythrough';
|
|
4
|
+
import cityPath from './city-path.json';
|
|
5
|
+
|
|
6
|
+
export const RemotionRoot: React.FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<Composition
|
|
9
|
+
id="LandscapeFlyover"
|
|
10
|
+
component={CesiumFlythrough}
|
|
11
|
+
defaultProps={{mode: 'landscape'} satisfies CesiumFlythroughProps}
|
|
12
|
+
durationInFrames={24 * 30}
|
|
13
|
+
fps={30}
|
|
14
|
+
width={1920}
|
|
15
|
+
height={1080}
|
|
16
|
+
/>
|
|
17
|
+
<Composition
|
|
18
|
+
id="CityFlyover"
|
|
19
|
+
component={CesiumFlythrough}
|
|
20
|
+
defaultProps={
|
|
21
|
+
{
|
|
22
|
+
mode: 'city',
|
|
23
|
+
path: cityPath as [number, number][],
|
|
24
|
+
altitudeStart: 700,
|
|
25
|
+
altitudeEnd: 500,
|
|
26
|
+
lookAheadKm: 0.7,
|
|
27
|
+
travelKm: 4.5,
|
|
28
|
+
pitchFromNadir: 72,
|
|
29
|
+
verticalExaggeration: 1,
|
|
30
|
+
maximumScreenSpaceError: 6,
|
|
31
|
+
} satisfies CesiumFlythroughProps
|
|
32
|
+
}
|
|
33
|
+
durationInFrames={18 * 30}
|
|
34
|
+
fps={30}
|
|
35
|
+
width={1920}
|
|
36
|
+
height={1080}
|
|
37
|
+
/>
|
|
38
|
+
</>
|
|
39
|
+
);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type LngLat = [number, number];
|
|
2
|
+
|
|
3
|
+
// Chaikin corner cutting turns a sparse route into a continuous curve. Repeated passes round
|
|
4
|
+
// direction changes into deliberate swerves instead of left-right heading bumps.
|
|
5
|
+
export const smoothFlightPath = (source: LngLat[], passes = 3): LngLat[] => {
|
|
6
|
+
if (source.length < 2)
|
|
7
|
+
throw new Error('Flyover path needs at least two points');
|
|
8
|
+
|
|
9
|
+
// Keep adjacent longitudes continuous for routes that cross the antimeridian.
|
|
10
|
+
const unwrapped: LngLat[] = [source[0]];
|
|
11
|
+
for (let index = 1; index < source.length; index++) {
|
|
12
|
+
const [lng, lat] = source[index];
|
|
13
|
+
const previous = unwrapped[index - 1][0];
|
|
14
|
+
let adjusted = lng;
|
|
15
|
+
while (adjusted - previous > 180) adjusted -= 360;
|
|
16
|
+
while (adjusted - previous < -180) adjusted += 360;
|
|
17
|
+
unwrapped.push([adjusted, lat]);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
let curve = unwrapped;
|
|
21
|
+
for (let pass = 0; pass < Math.max(0, passes); pass++) {
|
|
22
|
+
const next: LngLat[] = [curve[0]];
|
|
23
|
+
for (let i = 0; i < curve.length - 1; i++) {
|
|
24
|
+
const a = curve[i];
|
|
25
|
+
const b = curve[i + 1];
|
|
26
|
+
next.push(
|
|
27
|
+
[a[0] * 0.75 + b[0] * 0.25, a[1] * 0.75 + b[1] * 0.25],
|
|
28
|
+
[a[0] * 0.25 + b[0] * 0.75, a[1] * 0.25 + b[1] * 0.75],
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
next.push(curve[curve.length - 1]);
|
|
32
|
+
curve = next;
|
|
33
|
+
}
|
|
34
|
+
return curve;
|
|
35
|
+
};
|
package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "FeatureCollection",
|
|
3
|
+
"features": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Feature",
|
|
6
|
+
"properties": {"name": "Yarlung Tsangpo (OSM, gorge way)"},
|
|
7
|
+
"geometry": {
|
|
8
|
+
"type": "LineString",
|
|
9
|
+
"coordinates": [
|
|
10
|
+
[94.8794306, 29.5453548],
|
|
11
|
+
[94.880058, 29.5500259],
|
|
12
|
+
[94.8804545, 29.5529773],
|
|
13
|
+
[94.8872806, 29.559007],
|
|
14
|
+
[94.8902386, 29.5645817],
|
|
15
|
+
[94.8945618, 29.5651505],
|
|
16
|
+
[94.8985437, 29.5703839],
|
|
17
|
+
[94.8978611, 29.5758448],
|
|
18
|
+
[94.9077237, 29.5843086],
|
|
19
|
+
[94.9107706, 29.5872382],
|
|
20
|
+
[94.9136749, 29.5879042],
|
|
21
|
+
[94.9208424, 29.5864253],
|
|
22
|
+
[94.9243692, 29.5890419],
|
|
23
|
+
[94.9243692, 29.5945028],
|
|
24
|
+
[94.9268508, 29.597544],
|
|
25
|
+
[94.9331942, 29.6000111],
|
|
26
|
+
[94.9350913, 29.6024165],
|
|
27
|
+
[94.9359736, 29.6042869],
|
|
28
|
+
[94.9354367, 29.6064452],
|
|
29
|
+
[94.9350634, 29.608155],
|
|
30
|
+
[94.9343462, 29.6094434],
|
|
31
|
+
[94.9295695, 29.6113703],
|
|
32
|
+
[94.9288061, 29.6124782],
|
|
33
|
+
[94.9268721, 29.6194181],
|
|
34
|
+
[94.9273809, 29.6276608],
|
|
35
|
+
[94.9274409, 29.6286334],
|
|
36
|
+
[94.9263783, 29.6303683],
|
|
37
|
+
[94.9250518, 29.6304537],
|
|
38
|
+
[94.922744, 29.6299103],
|
|
39
|
+
[94.9170292, 29.6256472],
|
|
40
|
+
[94.9144757, 29.6243553],
|
|
41
|
+
[94.9115439, 29.6243318],
|
|
42
|
+
[94.9008302, 29.6273853],
|
|
43
|
+
[94.8972905, 29.6276085],
|
|
44
|
+
[94.8897112, 29.6252949],
|
|
45
|
+
[94.8827398, 29.6253184],
|
|
46
|
+
[94.8806998, 29.6268686],
|
|
47
|
+
[94.8777241, 29.6317051],
|
|
48
|
+
[94.8768493, 29.6342436],
|
|
49
|
+
[94.8768641, 29.6346894],
|
|
50
|
+
[94.8769277, 29.6365972],
|
|
51
|
+
[94.8775677, 29.6391137],
|
|
52
|
+
[94.8804943, 29.6418187],
|
|
53
|
+
[94.8821969, 29.6438716],
|
|
54
|
+
[94.8877263, 29.6456718],
|
|
55
|
+
[94.8903366, 29.6468971],
|
|
56
|
+
[94.8959561, 29.6481151],
|
|
57
|
+
[94.9032857, 29.6528729],
|
|
58
|
+
[94.9113869, 29.6568592],
|
|
59
|
+
[94.9162734, 29.6587881],
|
|
60
|
+
[94.9182022, 29.6625172],
|
|
61
|
+
[94.9203882, 29.670104],
|
|
62
|
+
[94.9197453, 29.6744761],
|
|
63
|
+
[94.9192644, 29.6754058],
|
|
64
|
+
[94.9178164, 29.6782052],
|
|
65
|
+
[94.915116, 29.6816771],
|
|
66
|
+
[94.9094581, 29.6810342],
|
|
67
|
+
[94.9043145, 29.6796197],
|
|
68
|
+
[94.9018712, 29.6806484],
|
|
69
|
+
[94.8976278, 29.6812914],
|
|
70
|
+
[94.8909411, 29.6856634],
|
|
71
|
+
[94.8896552, 29.6890068],
|
|
72
|
+
[94.892227, 29.6990368],
|
|
73
|
+
[94.8978849, 29.704952],
|
|
74
|
+
[94.9017426, 29.7100956],
|
|
75
|
+
[94.9061206, 29.7112788],
|
|
76
|
+
[94.9065005, 29.7113815],
|
|
77
|
+
[94.9225743, 29.7192255],
|
|
78
|
+
[94.9264023, 29.7212652],
|
|
79
|
+
[94.9267629, 29.7213678],
|
|
80
|
+
[94.9341474, 29.723469],
|
|
81
|
+
[94.9360823, 29.7245705],
|
|
82
|
+
[94.9357152, 29.7273333],
|
|
83
|
+
[94.9344915, 29.7289804],
|
|
84
|
+
[94.9323502, 29.7303263],
|
|
85
|
+
[94.9298621, 29.73339],
|
|
86
|
+
[94.9294542, 29.734665],
|
|
87
|
+
[94.9298213, 29.7382244],
|
|
88
|
+
[94.9306755, 29.739157],
|
|
89
|
+
[94.9340021, 29.7439794],
|
|
90
|
+
[94.9355331, 29.7464083],
|
|
91
|
+
[94.9364901, 29.7488664],
|
|
92
|
+
[94.9372115, 29.749423],
|
|
93
|
+
[94.937775, 29.7498579],
|
|
94
|
+
[94.939019, 29.7500527],
|
|
95
|
+
[94.9407117, 29.7501944],
|
|
96
|
+
[94.9429346, 29.7513629],
|
|
97
|
+
[94.947778, 29.7543307],
|
|
98
|
+
[94.9541921, 29.755984],
|
|
99
|
+
[94.9574551, 29.7555414],
|
|
100
|
+
[94.9603715, 29.7553644],
|
|
101
|
+
[94.9629516, 29.755488],
|
|
102
|
+
[94.9676317, 29.757489],
|
|
103
|
+
[94.9709355, 29.7587814],
|
|
104
|
+
[94.9737019, 29.7603278],
|
|
105
|
+
[94.9738572, 29.7603796],
|
|
106
|
+
[94.9844009, 29.7638941],
|
|
107
|
+
[94.9852725, 29.7649069],
|
|
108
|
+
[94.9861359, 29.7675568],
|
|
109
|
+
[94.9898232, 29.7694497],
|
|
110
|
+
[94.9917263, 29.7691954],
|
|
111
|
+
[94.9966421, 29.7688099],
|
|
112
|
+
[95.0005707, 29.7670075],
|
|
113
|
+
[95.0007566, 29.7668999],
|
|
114
|
+
[95.0028203, 29.7657056],
|
|
115
|
+
[95.0080406, 29.7614995],
|
|
116
|
+
[95.0092963, 29.7609572],
|
|
117
|
+
[95.0138378, 29.7589957],
|
|
118
|
+
[95.0160159, 29.7574362],
|
|
119
|
+
[95.0194618, 29.7553902],
|
|
120
|
+
[95.0222306, 29.7524106],
|
|
121
|
+
[95.024336, 29.7498815],
|
|
122
|
+
[95.0273932, 29.7487547],
|
|
123
|
+
[95.0324981, 29.7493557],
|
|
124
|
+
[95.0339552, 29.7496724],
|
|
125
|
+
[95.0346257, 29.7499916],
|
|
126
|
+
[95.035882, 29.7507411],
|
|
127
|
+
[95.0375964, 29.7530966],
|
|
128
|
+
[95.0386203, 29.754818],
|
|
129
|
+
[95.0383895, 29.7567272],
|
|
130
|
+
[95.038166, 29.7590432],
|
|
131
|
+
[95.0395792, 29.7618349],
|
|
132
|
+
[95.0411334, 29.7631575],
|
|
133
|
+
[95.0420532, 29.7639402],
|
|
134
|
+
[95.0467825, 29.7661735],
|
|
135
|
+
[95.0495101, 29.7673453],
|
|
136
|
+
[95.0510063, 29.7681933],
|
|
137
|
+
[95.0516577, 29.7683919],
|
|
138
|
+
[95.0560621, 29.7692331],
|
|
139
|
+
[95.0577259, 29.7690047],
|
|
140
|
+
[95.0588453, 29.7684695],
|
|
141
|
+
[95.0650773, 29.767807],
|
|
142
|
+
[95.0705737, 29.761782],
|
|
143
|
+
[95.0720258, 29.7599696],
|
|
144
|
+
[95.0736121, 29.7540856],
|
|
145
|
+
[95.0754147, 29.751782],
|
|
146
|
+
[95.0758224, 29.751042],
|
|
147
|
+
[95.0760619, 29.750314],
|
|
148
|
+
[95.0759483, 29.7495284],
|
|
149
|
+
[95.0751984, 29.7480135],
|
|
150
|
+
[95.0728911, 29.7466988],
|
|
151
|
+
[95.0724585, 29.7445327],
|
|
152
|
+
[95.0732804, 29.7429802],
|
|
153
|
+
[95.0734102, 29.740789],
|
|
154
|
+
[95.0731362, 29.7386729],
|
|
155
|
+
[95.0744382, 29.7374902],
|
|
156
|
+
[95.075294, 29.7367129],
|
|
157
|
+
[95.079535, 29.7361346],
|
|
158
|
+
[95.081745, 29.736994],
|
|
159
|
+
[95.083005, 29.737484],
|
|
160
|
+
[95.0833905, 29.7430745],
|
|
161
|
+
[95.0844421, 29.7452715],
|
|
162
|
+
[95.0871532, 29.7473749],
|
|
163
|
+
[95.0918361, 29.7499864],
|
|
164
|
+
[95.0931923, 29.7511573],
|
|
165
|
+
[95.0943202, 29.7514189],
|
|
166
|
+
[95.0965266, 29.7510558],
|
|
167
|
+
[95.0991656, 29.7494408],
|
|
168
|
+
[95.1029871, 29.7472998],
|
|
169
|
+
[95.1038668, 29.7453591],
|
|
170
|
+
[95.1063039, 29.7417406],
|
|
171
|
+
[95.1084814, 29.741365],
|
|
172
|
+
[95.111726, 29.7426671],
|
|
173
|
+
[95.1138489, 29.7452914],
|
|
174
|
+
[95.1152135, 29.7465013],
|
|
175
|
+
[95.1154175, 29.7473556],
|
|
176
|
+
[95.1158661, 29.7480506],
|
|
177
|
+
[95.1167533, 29.7482586],
|
|
178
|
+
[95.1179004, 29.7491572],
|
|
179
|
+
[95.119434, 29.7515181],
|
|
180
|
+
[95.1195997, 29.7517319],
|
|
181
|
+
[95.1214023, 29.7535598],
|
|
182
|
+
[95.1239692, 29.754987],
|
|
183
|
+
[95.1260602, 29.7556005],
|
|
184
|
+
[95.1284973, 29.7561388],
|
|
185
|
+
[95.1311663, 29.7559002],
|
|
186
|
+
[95.1323477, 29.7559385],
|
|
187
|
+
[95.1344757, 29.7564723],
|
|
188
|
+
[95.1350155, 29.7583672],
|
|
189
|
+
[95.1382746, 29.7617848],
|
|
190
|
+
[95.1400377, 29.7646815],
|
|
191
|
+
[95.1410982, 29.7654339],
|
|
192
|
+
[95.1437689, 29.7649144],
|
|
193
|
+
[95.1469991, 29.7640131],
|
|
194
|
+
[95.1503617, 29.7622343],
|
|
195
|
+
[95.1506908, 29.7620602],
|
|
196
|
+
[95.1532721, 29.7600322],
|
|
197
|
+
[95.1565312, 29.7590432],
|
|
198
|
+
[95.1584059, 29.7594063],
|
|
199
|
+
[95.1589059, 29.7599317],
|
|
200
|
+
[95.1595043, 29.7612399],
|
|
201
|
+
[95.1611602, 29.7632119],
|
|
202
|
+
[95.1635565, 29.7646136],
|
|
203
|
+
[95.1700434, 29.7649144],
|
|
204
|
+
[95.1730828, 29.7644136],
|
|
205
|
+
[95.1748094, 29.7636814],
|
|
206
|
+
[95.1765005, 29.7628339],
|
|
207
|
+
[95.1794885, 29.7589784],
|
|
208
|
+
[95.1830673, 29.7576787],
|
|
209
|
+
[95.1848212, 29.7580682],
|
|
210
|
+
[95.1869103, 29.7594603]
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
}
|
package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Flyover data sources
|
|
2
|
+
|
|
3
|
+
## Landscape
|
|
4
|
+
|
|
5
|
+
Use MapTiler for both layers:
|
|
6
|
+
|
|
7
|
+
- `terrain-quantized-mesh-v2`: elevation encoded as Cesium quantized-mesh terrain.
|
|
8
|
+
- `satellite-v2`: raster satellite imagery draped on that mesh.
|
|
9
|
+
|
|
10
|
+
CesiumJS renders the layers; it does not supply the data. Set `REMOTION_MAPTILER_KEY`.
|
|
11
|
+
|
|
12
|
+
Create a key:
|
|
13
|
+
|
|
14
|
+
- https://cloud.maptiler.com/account/keys/
|
|
15
|
+
|
|
16
|
+
Official documentation:
|
|
17
|
+
|
|
18
|
+
- https://docs.maptiler.com/cesium/
|
|
19
|
+
- https://docs.maptiler.com/schema-raster/terrain-3d/
|
|
20
|
+
|
|
21
|
+
## City
|
|
22
|
+
|
|
23
|
+
Use Google Photorealistic 3D Tiles. Google supplies one high-resolution 3D mesh already textured
|
|
24
|
+
with imagery. Disable the Cesium globe and do not add MapTiler terrain or satellite beneath it. Set
|
|
25
|
+
`REMOTION_GOOGLE_MAPS_API_KEY`.
|
|
26
|
+
|
|
27
|
+
Create and configure a key:
|
|
28
|
+
|
|
29
|
+
- https://developers.google.com/maps/documentation/tile/get-api-key
|
|
30
|
+
|
|
31
|
+
Enable the Map Tiles API in a billing-enabled Google Cloud project and restrict the key to that API.
|
|
32
|
+
The application restriction must permit the local headless Remotion request.
|
|
33
|
+
|
|
34
|
+
Official documentation:
|
|
35
|
+
|
|
36
|
+
- https://developers.google.com/maps/documentation/tile/3d-tiles
|
|
37
|
+
- https://developers.google.com/maps/documentation/tile/policies
|
|
38
|
+
|
|
39
|
+
## Why not extruded buildings
|
|
40
|
+
|
|
41
|
+
OSM-, Overture- and vector-tile building products primarily provide footprints, approximate heights
|
|
42
|
+
and optional roof attributes. They are useful for analytical or stylized maps, but they do not
|
|
43
|
+
provide the textured architecture required for a cinematic city flyover.
|