Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

threejs-data-visualization

БесплатноБез исполняемых скриптовНе проверен

Render WebGL-accelerated data visualizations with Three.js, raw WebGL, deck.gl, luma.gl, PixiJS, Sigma.js, Plotly WebGL traces, ECharts GL, CesiumJS…

openaiот openai★ 8 494 звезды на GitHub

Об этом скилле

Three.js and WebGL Data Visualization

Overview

Use this skill when the user truly benefits from 3D, GPU-heavy 2D, shader-driven animation, or WebGL-accelerated interaction. Three.js is appropriate for volumetric data, 3D point clouds, spatial trajectories, surfaces, scientific or immersive scenes, and custom particle systems. WebGL or WebGL-backed libraries are also appropriate for dense 2D scatterplots, animated networks, flow maps, particle trails, GPU aggregation, or custom shader effects that exceed practical SVG/DOM limits and are not a good fit for Canvas2D.

Default assumption: use the simplest truthful renderer that meets the scale and interaction requirements. 3D is justified only when depth carries analytical meaning. WebGL is justified when GPU throughput, shader control, large mark counts, or animation quality matter enough to offset accessibility, export, debugging, bundle, and GPU-memory costs. Cosmetic 3D or decorative particles are regressions.

Mobile GPUs, touch gestures, battery, thermal limits, and permissions can change the renderer choice. Use ../../references/foundations/mobile-first-responsive-visualization.md for mobile portrait/landscape contracts, AR/camera/motion/vibration decisions, visual viewport behavior, spotty connection handling, and touch-first controls.

Choose WebGL When

  • the data is inherently spatial, volumetric, trajectory-based, or surface-based
  • depth, orbit, slicing, or perspective reveals structure unavailable in 2D
  • an editorial story needs camera states to reveal a meaningful surface, volume, terrain, or multiaxis relationship
  • GPU instancing, texture-backed data, or shader-based rendering materially improves scale
  • dense 2D plots, networks, or maps need hundreds of thousands to millions of marks, continuous pan or zoom, or real-time filtering
  • animated flow, trips, particles, or transitions must remain smooth without generating thousands of DOM or SVG elements
  • the view needs GPU picking, custom blending, post-processing, or shader effects tied to data attributes
  • the experience needs immersive or exploratory navigation
  • AR or camera-backed spatial inspection adds analytical value and has a non-permission fallback

Avoid WebGL When

  • the same comparison is clearer in 2D
  • labels and exact values dominate the task
  • the chart will mostly be consumed as a static document
  • a declarative grammar, D3/SVG, or Canvas2D can handle the mark count with less maintenance and better export/accessibility
  • the required effect is mostly decoration, novelty, or attention capture without a specific analytical verb
  • the page will show many small charts where WebGL context pressure and GPU memory would outweigh per-chart speed

Library Selection

  • Three.js: custom 3D scenes, point clouds, instancing, particles, shader materials, camera-led stories, and 3D analytical surfaces.
  • deck.gl: high-volume geospatial and non-geospatial layers, GPU aggregation, picking, animated trips, arcs, paths, point clouds, and overlays on MapLibre, Mapbox, Google Maps, or ArcGIS.
  • luma.gl: low-level WebGL2 or WebGPU-leaning GPU programming when deck.gl abstractions are too high-level but raw WebGL would be too much boilerplate.
  • raw WebGL2: maximum control for custom shaders, data textures, transform feedback, framebuffers, or unusual render pipelines; reserve for teams comfortable owning GPU lifecycle and debugging.
  • regl or TWGL: lighter low-level WebGL wrappers when custom shaders are needed without a full scene engine; regl is especially good for command-style, state-minimized rendering.
  • PixiJS: GPU-accelerated 2D sprites, particles, texture atlases, labels-as-sprites, playful dashboards, and 2D editorial animation where a scene graph helps.
  • Sigma.js: large interactive node-link graphs where WebGL rendering, graph layouts, hover states, and graph-specific affordances matter more than custom shader freedom.
  • Plotly WebGL traces: fast scientific or product charts when a high-level declarative API is more important than custom rendering control.
  • ECharts GL: configuration-driven 3D charts, globe views, and WebGL acceleration inside an ECharts product stack.
  • MapLibre GL JS or Mapbox GL JS: vector-tile product maps, data-driven style layers, camera motion, heatmaps, and custom layers.
  • CesiumJS: 3D globe, terrain, 3D Tiles, time-dynamic geospatial visualization, and high-precision WGS84 scenes.
  • Babylon.js: full 3D engine features such as GPU particles, physics, rich materials, large-world rendering, and WebXR when the work is closer to an interactive simulation than a chart.

Particle and Flow Effects

Use particle effects only when they make movement, accumulation, attention, or state more legible:

  • flow particles along network edges, routes, pipes, links, or migration paths when direction and rate are the story
  • trip trails or fading path segments when temporal progression matters
  • pulsing, halo, shimmer, ember, or sparkle effects for selected,
Полный SKILL.md на GitHub

Установить threejs-data-visualization в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/cutaway-terrain-and-domain-scenes.mdreferences/gpu-scaling-and-interaction.mdreferences/particle-effects-and-flow.mdreferences/scene-architecture-and-encodings.mdreferences/scene-readiness-and-interaction-qa.mdreferences/webgl-2d-animation-patterns.mdreferences/webgl-library-selection.mdreferences/when-3d-is-justified.md

FAQ

Что делает скилл threejs-data-visualization?

Render WebGL-accelerated data visualizations with Three.js, raw WebGL, deck.gl, luma.gl, PixiJS, Sigma.js, Plotly WebGL traces, ECharts GL, CesiumJS, Babylon.js, or related GPU libraries. Use when the visualization needs true spatial structure, dense 2D or 3D GPU rendering, particle or flow animation, volumetric views, or interactive exploration that adds real analytical value.

Как установить скилл threejs-data-visualization?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл threejs-data-visualization запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить threejs-data-visualization с