Frontend & UI

WebGL 3D Object

A lit Three.js hero mesh with PBR material and real shadows.

What it is

A Three.js recipe for one faceted hero object: icosahedron geometry, MeshStandardMaterial, perspective camera, key and rim lights, shadow plane, slow float rotation.

Create a real 3D WebGL object with geometric mesh depth, physically based material, directional and ambient lighting, perspective camera, subtle rotation, and floating motion. Use when a page needs a faceted 3D hero obje
From the upstream SKILL.md

Why it matters for design

  • Real geometry and lighting produce edges, highlights, and shadows CSS transforms cannot fake.
  • Material presets cover premium metal, soft ceramic, and glow-tinted tech looks.
  • Motion is limited to slow rotation and small bobbing, so copy stays primary.

What it covers

  • Rules
  • HTML and CSS
  • Three.js object recipe
  • Material defaults
  • Lighting defaults
  • Quick checks

How to install

WebGL 3D Object

  1. Clone the repo.

    git clone https://github.com/MengTo/Skills
  2. Point Codex at the skill file.

    agent-skills/web-design/webgl-3d-object/SKILL.md
  3. Then describe the UI you want. Codex follows the skill.

How to run it with Codex

  1. Add the square canvas shell, then run the Three.js initializer on it.

  2. Set color, metalness, roughness, and emissive to match brand mood.

  3. Confirm resize handling and teardown of geometry, material, and renderer.

Every plugin here is free, open source, and links to its real upstream source.

More on the codex-design list ↗

Next step

Design with NEXGERCORE, without the setup

Install this plugin yourself, or run a whole curated design layer around Codex with NEXGERCORE. Bring your own key, own your output.

NEXGERCORE เดสก์ท็อป

ดีไซน์ซิสเต็มเดียว ทุกงานที่ออกมาคือแบรนด์ของคุณ

ใน NEXGERCORE IDE ฉบับเต็ม ใช้กฎแบรนด์ชุดเดียวกันได้ทั้งเว็บไซต์ สไลด์ โปรโตไทป์ที่กดเล่นได้ แดชบอร์ด รูปภาพ และวิดีโอ HTML เชื่อม Codex, Claude Code, Cursor และ coding agent ตัวอื่นที่มีอยู่ในเครื่องคุณแล้ว จากนั้นสร้างงานในเครื่องได้ฟรี

  • เว็บ สไลด์ โปรโตไทป์ แดชบอร์ด รูปภาพ และวิดีโอ
  • ดีไซน์ซิสเต็มกว่า 140 ชุด พร้อมคลังเทมเพลตและสกิลครบ
  • เชื่อม Codex ในเครื่องและ coding agent อีกกว่า 21 ตัว · ใช้ฟรี
ดาวน์โหลดฟรี

รองรับ macOS, Windows และ Linux