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/MapTilerVectorElement.ts

View on GitHub
// Surface an existing MapTiler Planet feature without maintaining duplicate GeoJSON.
// Paint animation is deterministic; geometry slicing is not. For a source-to-end line draw,
// bake the selected feature to ordered GeoJSON first.

type VectorLayerType = 'fill' | 'line' | 'circle' | 'symbol';

export type MapTilerVectorElement = {
	id: string;
	sourceLayer: string;
	type: VectorLayerType;
	filter?: unknown[];
	minzoom?: number;
	maxzoom?: number;
	layout?: Record<string, unknown>;
	paint: Record<string, unknown>;
};

const SOURCE_ID = 'maptiler-planet';

export const addMapTilerVectorElement = (
	map: any,
	element: MapTilerVectorElement,
	beforeId?: string,
) => {
	if (!map.getSource(SOURCE_ID)) {
		map.addSource(SOURCE_ID, {
			type: 'vector',
			url: 'https://api.maptiler.com/tiles/v3/tiles.json?key=YOUR_API_KEY',
		});
	}

	if (map.getLayer(element.id)) return;

	map.addLayer(
		{
			id: element.id,
			type: element.type,
			source: SOURCE_ID,
			'source-layer': element.sourceLayer,
			...(element.filter ? {filter: element.filter} : {}),
			...(element.minzoom === undefined ? {} : {minzoom: element.minzoom}),
			...(element.maxzoom === undefined ? {} : {maxzoom: element.maxzoom}),
			...(element.layout ? {layout: element.layout} : {}),
			paint: element.paint,
		},
		beforeId,
	);
};

export const setVectorElementPaint = (
	map: any,
	layerId: string,
	paint: Record<string, unknown>,
) => {
	for (const [property, value] of Object.entries(paint)) {
		map.setPaintProperty(layerId, property, value);
	}
};
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