Command Palette

Search for a command to run...

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

linejig

БесплатноЗапускает вложенные скриптыНе проверен

Draws interactive 3D line illustrations in three.js. One object is built from a few rounded solids and drawn in an isometric view (2:1 axonometric) with one…

aiskillstoreот aiskillstore★ 509 звёзд на GitHub

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

Linejig

Linejig draws one object per illustration as interactive 3D line art in three.js, on a shared engine that keeps every figure in the same style. Everything this skill needs is in this folder.

Habits that hold for every figure

  • Is there one already? Before drawing, check the gallery manifest (https://linejig.com/illustrations.json; the gallery is https://linejig.com/library.html and each figure lives at https://linejig.com//). Use one only if it shows the thing the page is about, literally.
  • Concept: one object, three options. Write three concepts, recommend one in a sentence, and wait for the user to pick, unless they said "just draw it". After the pick, do not stop again until the drawing is checked.
  • A silhouette you can name at thumbnail size, with features that change the outline, not only sit inside it.
  • Logical motion. Everything moves in the real order of cause and effect: parts assemble the way the real thing is put together, and the hero does what the real part does.
  • Name what it shows, never whose it is: no logos, companies, products or people, in the drawing or its words.
  • No long dashes anywhere in the words.

The drawing rules follow the Hairline figure kernel by Lucas Marques (MIT): https://hairline.lucasmarkes.com and the npm package @lucasmarkes/hairline.

Before you draw: think first

The user judges the idea before the execution.

  1. Say what the drawing sits beside, in one sentence.
  2. Write three concepts (references/metaphors.md): "Object Z, hero H, because ..., its intro and its one move M." If one needs a caption to be understood, drop it. Recommend one and wait for the pick.
  3. If the user sent references, explain how each works before you build.

What stays out

These hold in line art; the styles change only what ## Style says.

  • No text in the illustration. No leaders, pointer dots, numbers on parts, captions, headings, labels or "Fig." marks. If the host page needs words, they are the page's job, not the drawing's.
  • No small detail. No rivets, bands, hatching, engraving, textures, shading, gradients or glow.
  • No AI images or video, and no tracing of generated pictures. Everything is drawn in code.

The kernel

Every figure is built on the shared kernel, https://linejig.com/kernel/linejig.js (MIT; its header comment is the API; read it there, or at site/kernel/linejig.js when working in the source repo). A figure file holds only its model, its ASSEMBLY table and its HERO handlers, about 100 to 150 lines:

import { createFigure } from '../kernel/linejig.js';
createFigure({ id, center, fit: { points }, ASSEMBLY, model(K, st) { ... }, state(K) { ... }, HERO: { onHover, onLeave, onClick } });

The kernel owns the camera and fit, the palette and styles, rounded prisms and painter fill, the line width and 0.5 px widths, the tween and spring, both intros, orbit, zoom, hit testing, cursors, reduced motion, capture hooks, the embed contract, the action event (HERO.action, posted when the hero's move reaches its open state, so an empty state or onboarding step can hand off to its host page) and ?mode=turntable (no hand, a slow swing for loading screens and recorded loops). Import https://linejig.com/kernel/linejig.js and link https://linejig.com/kernel/linejig.css, with the three.js import map, as scripts/starter.html does. Every other style is an MIT add-on file beside it (Brand and Dots in linejig-pro.js, Readout in styles/readout.js, Pencil in styles/pencil.js): the kernel loads a style's file by itself, once, only when a figure asks for that style, so a line-art page never downloads it. To see finished figures, open them from the gallery and read their source.

Style

A figure draws in line art (references/styles.md), the kernel's default: white and black only, the grey ramp, hi for the hero, text-free. Four more styles restyle the same drawing with one setting; the model, the assembly and the hero stay the same, so a figure made in one style works in every style.

  1. Brand (references/brand.md): quiet grey lines, and the hero as a solid part in the user's brand colour (orange #f5821f by default) with a soft glow behind it. Short labels may sit engraved on part tops; optionally the object sits in context on a rail with a dashed footprint.
  2. Dots (references/dots.md): the same drawing as a screen-space dot matrix, tone as dot size, the hero's dots in the brand colour, with a cursor swell.
  3. Readout (references/readout.md): quiet lines on a dark grained plate, the walls printed with a band of binary digits on one side and the same data as cells
Полный SKILL.md на GitHub

Установить linejig в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/brand.mdreferences/dots.mdreferences/drawing.mdreferences/integration.mdreferences/interaction.mdreferences/metaphors.mdreferences/motion.mdreferences/pencil.mdreferences/readout.mdreferences/styles.mdreferences/verify.mdscripts/starter.htmlskill-report.json

FAQ

Что делает скилл linejig?

Draws interactive 3D line illustrations in three.js. One object is built from a few rounded solids and drawn in an isometric view (2:1 axonometric) with one fine line width, in line art (white and black, hierarchy by tone) or in the Brand, Dots, Readout and Pencil styles, so all figures keep a consistent illustration style. It builds in (stack or draw-on), then its one hero part (a needle, a lid, the keys of a keyboard) answers hover and click, and the user can drag to turn and zoom it. No captions, leader labels, logos or generated images. Use it whenever someone asks for an interactive 3D illustration, a line-art, isometric, halftone, pencil-sketch or brand-colour object illustration, an animated three.js line drawing, a draw-on or assembly animation, an illustration for an empty state, 404 page, onboarding step, slide or hero, or to add, change, restyle or embed a figure from the Linejig gallery, even if they only say "add a drawing here".

Как установить скилл linejig?

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

Скилл linejig запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить linejig с