Skip to content

guanyang/open-agent-hub / skills/remotion-maps

remotion-maps

Verified

Remotion Map animation knowledge

FileKindSize
SKILL.mdskill md1.0 KB
agents/openai.yamlconfig293 B
assets/remotion-icon.pngbinary1.3 KB
assets/remotion-icon.svgother1.3 KB
techniques/cesium/TECHNIQUE.mdmarkdown3.9 KB
techniques/cesium/assets/CesiumFlythrough.tsxother8.2 KB
techniques/cesium/assets/cesium-path.jsonconfig12.0 KB
techniques/cesium/assets/city-path.jsonconfig223 B
techniques/cesium/assets/example-Root.tsxother923 B
techniques/cesium/assets/flight-path.tsscript1.2 KB
techniques/cesium/assets/sample-river.geojsonother6.3 KB
techniques/cesium/references/3d-data-sources.mdmarkdown1.6 KB
techniques/cesium/references/3d-flyover-architecture.mdmarkdown7.8 KB
techniques/cesium/references/3d-troubleshooting.mdmarkdown6.6 KB
techniques/cesium/scripts/prep-cesium-path.mjsscript5.4 KB
techniques/mapbox/TECHNIQUE.mdmarkdown12.7 KB
techniques/mapbox/references/render-stability.mdmarkdown3.6 KB
techniques/maplibre/TECHNIQUE.mdmarkdown13.5 KB
techniques/maplibre/references/render-stability.mdmarkdown3.6 KB
techniques/maptiler/TECHNIQUE.mdmarkdown3.5 KB
techniques/maptiler/assets/CountryLabel.tsxother1.8 KB
techniques/maptiler/assets/MapTilerVectorElement.tsscript1.5 KB
techniques/maptiler/assets/RiverReveal.tsxother10.6 KB
techniques/maptiler/assets/example-Root.tsxother1.0 KB
techniques/maptiler/assets/sample-data/country-meta.jsonconfig325.3 KB
techniques/maptiler/assets/sample-data/yarlung-flow.jsonconfig12.8 KB
techniques/maptiler/assets/tokens.tsscript1.2 KB
techniques/maptiler/references/map-data-sources.mdmarkdown4.6 KB
techniques/maptiler/references/map-explainer-architecture.mdmarkdown6.7 KB
techniques/maptiler/references/map-geo-prep.mdmarkdown4.0 KB
techniques/maptiler/references/render-stability.mdmarkdown3.6 KB
techniques/maptiler/scripts/prep-geo.mjsscript7.4 KB
techniques/static-map/TECHNIQUE.mdmarkdown1.1 KB

techniques/maptiler/assets/CountryLabel.tsx

View on GitHub
import React from 'react';
import {Easing, interpolate} from 'remotion';

// Reusable country label. Supply typography and final values from the consuming project; the CSS custom
// properties below provide neutral fallbacks. Positioned by its centre (x,y in screen px).
export const CountryLabel: React.FC<{
	name: string;
	color: string;
	reveal: number;
	x: number;
	y: number;
}> = ({name, color, reveal, x, y}) => {
	const e = interpolate(reveal, [0, 1], [0, 1], {
		extrapolateLeft: 'clamp',
		extrapolateRight: 'clamp',
		easing: Easing.bezier(0.3333333333333333, 1, 0.6666666666666666, 1),
	});
	return (
		<div
			style={{
				position: 'absolute',
				left: x,
				top: y,
				transform: 'translate(-50%, -50%)',
				pointerEvents: 'none',
				display: 'flex',
				flexDirection: 'column',
				alignItems: 'center',
				opacity: e,
			}}
		>
			<div
				style={{
					transform: `translateY(${(1 - e) * 16}px)`,
					display: 'flex',
					flexDirection: 'column',
					alignItems: 'center',
				}}
			>
				{/* accent rule — draws out from the centre in the country's colour */}
				<div
					style={{
						width: 64,
						height: 3,
						borderRadius: 2,
						background: color,
						transform: `scaleX(${e})`,
						boxShadow: `0 0 10px ${color}`,
					}}
				/>
				<div
					style={{
						fontFamily: 'var(--map-label-font, system-ui, sans-serif)',
						fontWeight: 'var(--map-label-weight, 600)',
						fontSize: 'var(--map-label-size, 34px)',
						letterSpacing: 'var(--map-label-tracking, 0.16em)',
						textTransform: 'uppercase',
						color: 'var(--map-label-color, #ffffff)',
						textShadow: 'var(--map-label-shadow, 0 2px 18px rgba(0,0,0,0.9))',
						marginTop: 13,
						paddingLeft: 'var(--map-label-tracking, 0.16em)',
						whiteSpace: 'nowrap',
					}}
				>
					{name}
				</div>
			</div>
		</div>
	);
};
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall