Logo Aetox Web 3d

Aetox Web 3d

Cộng đồng
Mikedev115
aetox-web-3d

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

Tổng quan

Nhà phát hànhMikedev115
Kho mãAetox-Harness
Tên kỹ năngaetox-web-3d
Sao
142
Bản fork
28
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Mikedev115 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Aetox Web 3d trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/skill/skills/aetox-web-3d
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Aetox Web 3d trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Aetox Web 3d ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Aetox Web 3d với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Aetox Web 3d làm được gì?

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

Vì sao nên dùng Aetox Web 3d trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Aetox Web 3d là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Aetox Web 3d trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Mikedev115/Aetox-Harness/tree/main/internal/skill/skills/aetox-web-3d. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Aetox Web 3d?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Aetox Web 3d với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Aetox Web 3d với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Aetox Web 3d có miễn phí không?

Có. Kỹ năng này được Mikedev115 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇