Skip to content
项目

关于

Claude skill that draws interactive isometric figures in a single HTML file

网站与应用开发

这些数字如何统计

实测星标增长

24小时
+3
7天
+14
15天
+23
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

iso-figure

A skill for Claude that draws interactive isometric figures. Name an object and you get back one HTML file: a hairline isometric drawing on a numbered plate, with parts that work when you press them.

Fig 4, a desk synth, holding a C major chord while the waveform switches from saw to square, triangle and sine

Fig 5, a pocket calculator, working out 12.5 × 8 and then 100 ÷ 3

Both were made with the skill. Click either one to play with it, or open the files in examples.

How it works

The figures are plain SVG with no libraries. About 15 lines of projection code turn each face of a box into an SVG matrix(), so ordinary rects, text and paths drawn flat land on the right isometric plane, text and rounded corners included. Paint order handles depth. One state object and one render() drive the interaction, and CSS does the motion.

Before drawing anything, the skill has Claude decide what pressing a part produces: typed text, a number, a note. If the object has nothing to press, it picks a different object.

SKILL.md has the kernel, the procedure, and the rules for the look.

Install

Claude Code, as a plugin:

/plugin marketplace add MrBongoC/ai-iso-skill
/plugin install iso-figure@ai-iso-skill

Or copy the skill folder in by hand:

git clone https://github.com/MrBongoC/ai-iso-skill.git
cp -r ai-iso-skill/skills/iso-figure ~/.claude/skills/

On Claude.ai, download iso-figure.skill from the latest release and upload it in your skill settings.

Using it

Ask for a figure of something with parts you can press:

iso figure of a kitchen timer with minute buttons and a display that counts down
fig 6, a wall light switch that turns a lamp on and off

License

MIT

探索相关项目

加载中…