Aetox Web 3d 标志

Aetox Web 3d

社区
Mikedev115
aetox-web-3d

ตอนงานต้องมีฉากสามมิติ shader หรือ canvas บนหน้าเว็บ ไม่ว่าจะเป็น hero ที่หมุนได้ พื้นหลังที่เคลื่อน โมเดลสินค้า หรือหน้าที่ web-templates ตัดสินว่าเป็นชั้น C

概览

发布者Mikedev115
代码仓库Aetox-Harness
技能名称aetox-web-3d
星标数
142
复刻数
28
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Mikedev115 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Aetox Web 3d AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/skill/skills/aetox-web-3d
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikedev115/Aetox-Harness.git /tmp/Aetox-Harness
mkdir -p .claude/skills
cp -r /tmp/Aetox-Harness/internal/skill/skills/aetox-web-3d .claude/skills/aetox-web-3d
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Aetox Web 3d,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Aetox Web 3d。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Aetox Web 3d 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Aetox Web 3D

Three.js r186 (8 ก.ย. 2569). Snippets in references/three-r186.md. Every public three.js skill read before writing this one stops at the API; none of them says what the page does when the GPU is not there. That is the part this file exists for.

The choices are yours: the scene, the material, the light, the motion and how far to take them. The bar is not, and it is the same bar whichever model opens this file: a piece ships when it looks finished, runs inside its frame on a slow machine, and is still a page without the GPU. Nothing below is a ceiling on the work; all of it is the floor the work stands on.

Four roads; name the one you take

One line, before any code, saying which and why:

  1. CSS 3D. perspective, rotateX/Y, transform-style: preserve-3d. A tilt, a flip, a stacked-card depth. No canvas, no script that matters.
  2. One shader in one file. Raw WebGL2 and GLSL, no library, ชั้น A. A hero background, a gradient that breathes, noise, a field of points. Usually a hundred-odd lines. When it wants a camera you steer, that is road 3.
  3. three.js. Real geometry, lights, a loaded model, post-processing. Vendored beside the page (ชั้น B) or npm (ชั้น C); import * as THREE from "three", addons from three/addons/....
  4. React Three Fiber. The same engine in components; at home when the page is already React.

Any road is right when the piece calls for it. The habit to watch is taking road 3 for something a shader draws in a hundred lines, or road 2 for something that wants a camera; either way, the header says which road and why, and a change of road mid-build is fine when it is said out loud.

The contract, before the first line

  • No GPU is still a page. WebGL.isWebGL2Available() from three/addons/capabilities/WebGL.js, or canvas.getContext("webgl2") on road 2. When it is false, the canvas is removed and what stands in its place is a real element already in the markup: a still image with width/height, a gradient, or nothing, because the canvas was decoration. The page's text, layout and every control are the same either way.
  • Reduced motion is a still scene, not a missing one. Render one frame and stop the loop. The object is there; it does not turn.
  • The rest state is the finished page (STANDARD.md ข้อ 2). Nothing behind the canvas is hidden until the scene "arrives".
  • A ?nogl=1 query param forces the fallback path. It is how the fallback is tested and how it is shown in the proof.

The bar, in numbers

  • A frame under 8 ms with the CPU throttled 4x, at the heaviest moment on the page. Over it, the piece is not done: classify first (CPU: many objects, per-frame allocation; GPU fill: resolution, post passes, overdraw; GPU vertex: triangle count; memory: textures), change one thing, measure again.
  • renderer.setPixelRatio(Math.min(devicePixelRatio, 2)).
  • Render on demand. A scene that only moves on scroll or pointer renders when those change, not in a requestAnimationFrame loop. A scene that breathes uses renderer.setAnimationLoop and stops it when the tab is hidden (visibilitychange) or the canvas is out of view (IntersectionObserver).
  • One loop per page. Two setAnimationLoops is the first thing to check when the frame time doubles.
  • Read renderer.info.render.calls and say the number, and what each call is for. A hero lands under ~100; past that, instancing and merged static meshes come before any other change.
  • Textures: say the total bytes. 2048 on the long side; KTX2 or WebP for a photo. A texture the eye cannot resolve at the size it is drawn is cost without a picture.
  • Shadows and post-processing are each a full extra draw of the scene or the screen. Take them when they are the point of the piece, say what they buy, and they count inside the 8 ms.

The bar, in craft

  • Light is placed, not defaulted: a key with a direction and a reason, a fill that says where the room is, nothing at intensity 1 because the tutorial had it. Materials read as a material (paper, glass, brushed metal), not as the constructor's grey.
  • Colour comes from the page's tokens, so the scene belongs to the page in both themes and does not float over it.
  • The object is composed with the copy: beside it on a wide screen, above it on a narrow one, never behind the words.
  • The still image for the no-GPU page is drawn from the same scene (a render, or an SVG of its silhouette in the same colours), not a placeholder gradient. Someone on that page gets the same idea.
  • Motion has a reason the header can name: a turn that shows the form, a camera walk that follows the copy. Ambient motion with no reason reads as a screensaver.

r186 facts that old snippets get wrong

  • Import paths: three, three/addons/<folder>/<File>.js. There is no three/examples/jsm in an app import.
  • Colour: renderer.outputColorSpace is sRGB by default; colour textures need texture.colorSpace = THREE.SRGBColorSpace, data textures do not.
  • Lights are physical since r155. A tutorial PointLight(0xfff, 1) is near black now; intensities are candela and lux, so start around 3 for a point light in a small scene and scale to taste.
  • WebGL1 is gone (r163). isWebGL2Available() is the only capability question left.
  • three/webgpu and three/tsl exist and the WebGPU renderer falls back to WebGL2 on its own. For a page, WebGL is still the road unless the brief names WebGPU; TSL is a different language to learn.

Lifecycle

  • Resize with ResizeObserver on the canvas's box, not window.resize: set camera.aspect, camera.updateProjectionMatrix(), renderer.setSize(w, h, false).
  • Leaving the scene (route change, component destroy): dispose every geometry, material and texture you created, then renderer.dispose(), then stop the loop. The GPU holds what JS forgot.
  • THREE.Timer (update() then getDelta()) for anything time-based; Clock is deprecated in r186. Never += 0.01 per frame.

Prove it, then say what was measured

Before saying it works: the canvas is not blank (pixels vary), draw calls and frame time at the heaviest moment under 4x CPU throttle, the ?nogl=1 page, the prefers-reduced-motion: reduce page, and a narrow viewport. Five screenshots or it is a guess, and a guess does not ship. Five, taken once at the end, at reduced scale; the numbers (renderer.info, frame times, the pixel check) are text and carry every iteration before that. The numbers go in the file header next to the road and its reason (STANDARD.md ข้อ 6); a header without them is the header of a page that was not measured. aetox-verify before the sentence "it runs".

Hand-offs

  • Scroll or a timeline driving the camera, pinned copy beside the canvas: aetox-motion.
  • The page around the canvas: aetox-web-templates. The look: aetox-frontend-design.
  • A game, physics, XR, IFC viewers: out of scope for a page skill; say so and reach for the project's own dependencies with aetox-brainstorm.

What is not an exit

"Every modern device has WebGL" is true of the devices on the desk and false of the one the client will open the file on, in a webview, behind a GPU blocklist. "The fallback can come later" is a page that is blank today. "It runs at 60 on my machine" is a number from a machine nobody else has; throttle it.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Aetox Web 3d AI 技能有什么作用?

ตอนงานต้องมีฉากสามมิติ shader หรือ canvas บนหน้าเว็บ ไม่ว่าจะเป็น hero ที่หมุนได้ พื้นหลังที่เคลื่อน โมเดลสินค้า หรือหน้าที่ web-templates ตัดสินว่าเป็นชั้น C

为什么在 TypingMind 中使用 Aetox Web 3d?

因为您只需安装一次,就能搭配任何模型使用。Aetox Web 3d 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Aetox Web 3d?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/skill/skills/aetox-web-3d。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Aetox Web 3d?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Aetox Web 3d 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Aetox Web 3d 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Aetox Web 3d AI 技能免费吗?

是的。Mikedev115 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇