mesh-avatar-studio
Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Code, breed and dance 3D creatures. A small creature language and a browser app: write creatures as code or blocks, breed and morph them, give them patterns and watch them dance to music.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Code, breed and share creatures that dance to music.
GenoCode is a small language for describing creatures. A program drives a 3D turtle that lays down simple shapes, and the values marked as genes can be mutated, bred and morphed, so every program describes a whole family of related creatures. Creatures can react to music, so how they dance is part of their genes too.
You can write creatures as code or build them by dragging blocks onto a canvas, with the code
written for you. Creature files use the .genie extension.
creature Flower
gene rings = 3 in 1..6 step 1 // how many rings of petals
gene shrink = 0.7 in 0.4..0.95 // each ring's size compared with the ring outside it
gene twist = 29 in 0..180 // how far each ring turns from the last
Status: early development, heading for a first public release. The web app works: write, view, breed, morph and dance creatures, as code or as blocks.
New to GenoCode? Start with Getting started. The language is defined in the language reference.
| Folder | Contents |
|---|---|
packages/core | the language: parser, checker, formatter, interpreter and genetics |
packages/render | draws creatures, textures and backgrounds (three.js) |
packages/music | turns music into the inputs creatures react to |
packages/dance | the dance effects: morph, zoom, spin, turn, reverse and flat |
packages/blocks | the block editor |
packages/app | the web app |
creatures | the starter library of .genie creatures |
docs | documentation |
You need Node.js 22 or later (see .nvmrc).
npm install
npm run build # compile all packages
npm test # run the tests
npm run check # build, type-check, test and check formatting, as CI does
Write creatures in the browser: npm run dev, then open the address it prints. Pick a creature
from the creature menu at the top or the Library, start a new one from the File menu, or
open or drop any .genie file. In Chromium-based
browsers, a file opened from disk is watched too, so you can edit it in any editor and see the
changes (until you edit it in the app). Save keeps a creature in the browser, and
Download… writes it as a .genie file.
The creature fills the window. The six modes sit in a rail on the left (tabs along the bottom on a phone), each mode's tools float in a bar under the creature, and on a phone a sheet slides up with the genes, the code and the blocks:
[ and ] step through the creatures and the number keys through the styles.In View, Morph and Dance, the buttons at the top right of the creature turn the picture to look from each side and (or the F key) show it full screen. File › Keyboard shortcuts lists the keys.
Help in the app opens the documentation: the getting-started guide and the language reference,
made from docs/ when the app is built. npm run build puts the whole website in
packages/app/dist; on every push to main, the Site workflow publishes it on GitHub Pages.
See CONTRIBUTING.md for more.
core and render are published to npm as
@genocode/core and
@genocode/render, so tools can live in
repositories of their own:
| Repository | Contents |
|---|---|
| GenoCode-cli | genie, the command line: check, format and render creatures |
| GenoCode-vscode | the VS Code extension and language server |
A version tag (such as v0.2.0) publishes core and render to npm.
GenoCode is inspired by DancerDNA (1999) and other work in evolutionary art; see CREDITS.md. Released under the MIT License.