@ genocode/ cli (英语)
genie时,命令行 基因代码: 检查,格式,
绘图、变异、品种和形态 .genie 没有浏览器的生物文件 .
npm install -g @genocode/cli
genie check Flower.genie # report problems, or OK and what the file holds
genie format --write *.genie # put files in the standard layout
genie genes Flower.genie # list a creature's genes
genie variants Cobra.genie # list its variants and the genes each one sets
genie build Flower.genie # build a creature and report its shapes (--json for all of them)
genie render Flower.genie out.png # draw it (--size=N, default 512; --time=T seconds)
genie render --variant=Spotty --music=bass:0.8,note:90 --beat=0.25 Flower.genie out.png
# a variant, at a moment of a song
genie mutate Flower.genie New.genie # a variation (--strength=S, --seed=N, --lock=a,b)
genie breed A.genie B.genie C.genie # a child of two creatures, with A's code
# (creatures that say `breed off` are refused)
genie morph --at=0.3 A.genie B.genie M.genie # the creature 30% of the way from A to B
genie jumps Cobra.genie # where colours jump as it morphs through its variants
genie translate Cobra.pop Cobra.genie # a DancerDNA population as GenoCode
genie --version # genie's version, and the language and renderer it uses
genie translate 将DancerDNA (1999年) 人口档案变成一个基因编码生物:第一个
成员的程序, 及其基因命名, 和所有其他成员作为一个 variant见
仓库 为了更多.
需要节点.js 22或后. 虽然版本为"0.x",但任何小放出都可能会更改命令.
麻省理工学院有执照.