返回顶部
s

scaffold-art-script脚手架艺术脚本

Build or convert Art Blocks generative art scripts using artblocks-mcp. Use when helping a user create, scaffold, port, or convert an art script for Art Blocks, or when working with tokenData, hash-based PRNG, FLEX dependencies, PostParams, window.$features traits, p5.js, Three.js, or the Art Blocks generator format.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
135
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

scaffold-art-script

脚手架化艺术区块项目

始终优先获取生成器规范

在进行任何艺术脚本工作之前,请先获取此MCP资源:

artblocks://generator-spec

它包含以下内容的权威参考:tokenData结构、基于哈希的PRNG模式、FLEX依赖类型(IPFS、Arweave、ONCHAIN、依赖注册表)、支持的脚本类型和库版本、HTML结构要求以及window.$features。它还包含用于移植现有脚本的逐步转换指南。

脚手架化新项目

使用scaffoldartblocksproject生成一个可直接运行的index.html + 初始艺术脚本。

参数

参数选项/说明
scriptTypejs(原生)、p5js、threejs — 必填
dependencyVersion
p5.js:1.0.0 或 1.9.0(默认)。Three.js:0.124.0、0.160.0、0.167.0(默认)。js类型时忽略。 | | includePostParams | true — 在tokenData中添加ONCHAIN/PostParams(PMP)存根及示例用法 | | includeFlexDependencies| true — 添加IPFS和Arweave依赖存根及使用模式 | | includeFeatures | true — 添加window.$features特征赋值存根 |

关于Three.js v0.167.0的说明:使用ES模块导入映射而非全局

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large