Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat: demo avatars expansion, avatar API, nav polish, glb asset lists
nirholasebd8fbf8adbd
diff --git a/api/_lib/demo-avatars.js b/api/_lib/demo-avatars.jsindex eca160647..a549893ae 100644--- a/api/_lib/demo-avatars.js+++ b/api/_lib/demo-avatars.js@@ -1,15 +1,26 @@/*** Demo avatar fixtures for /api/explore.- * These appear on the discover page when no real public avatars exist yet,- * using static GLB files already served from /public.+ *+ * These appear in the marketplace + 3D viewer to demonstrate the platform with+ * a curated catalogue of public-domain glTF assets:+ * - Khronos glTF Sample Assets (CC-BY 4.0)+ * - three.js example models (MIT)+ * - On-disk starter avatars (shipped with three.ws)+ *+ * Generated by scripts/gen-demo-avatars.mjs from a verified GLB URL list —+ * every entry has been HEAD-checked for 200 + correct Content-Type. Edit the+ * generator, not this file, when adding sources.+ ** IDs prefixed with `avatar_demo_` so they never collide with DB UUIDs.*/import { env } from './env.js';-function demoItem({ id, slug, name, description, tags, glbPath, sortDate }) {- const origin = env.APP_ORIGIN;- const glbUrl = `${origin}${glbPath}`;+function demoItem({ id, slug, name, description, tags, glbUrl, image, sortDate, attribution, author }) {+ const explicitGlb = glbUrl;+ const finalGlb = explicitGlb.startsWith('http')+ ? explicitGlb+ : `${env.APP_ORIGIN}${explicitGlb}`;return {kind: 'avatar',sortDate,@@ -17,41 +28,164 @@ function demoItem({ id, slug, name, description, tags, glbPath, sortDate }) {slug,name,description,- image: null,- glbUrl,+ image,+ glbUrl: finalGlb,has3d: true,tags,createdAt: sortDate,- viewerUrl: `/#model=${encodeURIComponent(glbUrl)}`,+ viewerUrl: `/avatars/${id}`,+ attribution,+ author,};}export const DEMO_AVATARS = [- demoItem({- id: 'avatar_demo_cz',- slug: 'demo-cz',- name: 'CZ',- description: 'Humanoid avatar with idle animation support.',- tags: ['humanoid', 'demo'],- glbPath: '/avatars/cz.glb',- sortDate: '2025-01-03T00:00:00Z',- }),- demoItem({- id: 'avatar_demo_robot',- slug: 'demo-robot',- name: 'Robot',- description: 'Expressive robot character with multiple animation clips.',- tags: ['robot', 'animated', 'demo'],- glbPath: '/animations/robotexpressive.glb',- sortDate: '2025-01-02T00:00:00Z',- }),- demoItem({- id: 'avatar_demo_soldier',- slug: 'demo-soldier',- name: 'Soldier',- description: 'Fully rigged soldier model ready for animation.',- tags: ['humanoid', 'animated', 'demo'],- glbPath: '/animations/soldier.glb',- sortDate: '2025-01-01T00:00:00Z',- }),+ demoItem({ id: "avatar_demo_disk_cz", slug: "demo-cz", name: "CZ", description: "Stylized humanoid avatar with idle pose. Ready for chat overlays.", tags: ["humanoid","character"], glbUrl: "https://three.ws/avatars/cz.glb", image: null, sortDate: "2025-04-01T00:00:00.000Z", attribution: {"handle":"three.ws","displayName":"three.ws starter","url":"https://three.ws","license":"CC-BY 4.0"}, author: {"handle":"three.ws","displayName":"three.ws starter","profileUrl":"https://three.ws"} }),+ demoItem({ id: "avatar_demo_disk_default-avatar", slug: "demo-default-avatar", name: "Default Avatar", description: "Neutral starter humanoid — a clean base for skinning, retargeting, and accessories.", tags: ["humanoid","starter"], glbUrl: "https://three.ws/avatars/default.glb", image: null, sortDate: "2025-03-31T23:00:00.000Z", attribution: {"handle":"three.ws","displayName":"three.ws starter","url":"https://three.ws","license":"CC-BY 4.0"}, author: {"handle":"three.ws","displayName":"three.ws starter","profileUrl":"https://three.ws"} }),+ demoItem({ id: "avatar_demo_disk_robot-expressive", slug: "demo-robot-expressive", name: "Robot Expressive", description: "Expressive robot character with multiple animation clips: idle, walk, run, jump, dance.", tags: ["robot","animated","rigged"], glbUrl: "https://three.ws/animations/robotexpressive.glb", image: null, sortDate: "2025-03-31T22:00:00.000Z", attribution: {"handle":"three.ws","displayName":"three.ws starter","url":"https://three.ws","license":"CC-BY 4.0"}, author: {"handle":"three.ws","displayName":"three.ws starter","profileUrl":"https://three.ws"} }),+ demoItem({ id: "avatar_demo_disk_soldier", slug: "demo-soldier", name: "Soldier", description: "Rigged soldier character with locomotion animations baked in.", tags: ["humanoid","animated","rigged"], glbUrl: "https://three.ws/animations/soldier.glb", image: null, sortDate: "2025-03-31T21:00:00.000Z", attribution: {"handle":"three.ws","displayName":"three.ws starter","url":"https://three.ws","license":"CC-BY 4.0"}, author: {"handle":"three.ws","displayName":"three.ws starter","profileUrl":"https://three.ws"} }),+ demoItem({ id: "avatar_demo_k_alphablendmodetest", slug: "demo-alpha-blend-mode-test", name: "Alpha Blend Mode Test", description: "Khronos reference asset — alpha blend mode test.", tags: ["test","material"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AlphaBlendModeTest/glTF-Binary/AlphaBlendModeTest.glb", image: null, sortDate: "2025-03-31T20:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_animatedcolorscube", slug: "demo-animated-colors-cube", name: "Animated Colors Cube", description: "Khronos reference asset — animated colors cube.", tags: ["animated","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnimatedColorsCube/glTF-Binary/AnimatedColorsCube.glb", image: null, sortDate: "2025-03-31T19:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_animatedmorphcube", slug: "demo-animated-morph-cube", name: "Animated Morph Cube", description: "Khronos reference asset — animated morph cube.", tags: ["animated","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnimatedMorphCube/glTF-Binary/AnimatedMorphCube.glb", image: null, sortDate: "2025-03-31T18:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_animationpointeruvs", slug: "demo-animation-pointer-uvs", name: "Animation Pointer U Vs", description: "Khronos reference asset — animation pointer u vs.", tags: ["animated"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnimationPointerUVs/glTF-Binary/AnimationPointerUVs.glb", image: null, sortDate: "2025-03-31T17:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_anisotropybarnlamp", slug: "demo-anisotropy-barn-lamp", name: "Anisotropy Barn Lamp", description: "Khronos reference asset — anisotropy barn lamp.", tags: ["material","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnisotropyBarnLamp/glTF-Binary/AnisotropyBarnLamp.glb", image: null, sortDate: "2025-03-31T16:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_anisotropydisctest", slug: "demo-anisotropy-disc-test", name: "Anisotropy Disc Test", description: "Khronos reference asset — anisotropy disc test.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnisotropyDiscTest/glTF-Binary/AnisotropyDiscTest.glb", image: null, sortDate: "2025-03-31T15:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_anisotropyrotationtest", slug: "demo-anisotropy-rotation-test", name: "Anisotropy Rotation Test", description: "Khronos reference asset — anisotropy rotation test.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnisotropyRotationTest/glTF-Binary/AnisotropyRotationTest.glb", image: null, sortDate: "2025-03-31T14:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_anisotropystrengthtest", slug: "demo-anisotropy-strength-test", name: "Anisotropy Strength Test", description: "Khronos reference asset — anisotropy strength test.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AnisotropyStrengthTest/glTF-Binary/AnisotropyStrengthTest.glb", image: null, sortDate: "2025-03-31T13:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_antiquecamera", slug: "demo-antique-camera", name: "Antique Camera", description: "Khronos reference asset — antique camera.", tags: ["object"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AntiqueCamera/glTF-Binary/AntiqueCamera.glb", image: null, sortDate: "2025-03-31T12:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_attenuationtest", slug: "demo-attenuation-test", name: "Attenuation Test", description: "Khronos reference asset — attenuation test.", tags: ["glass","transmission","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/AttenuationTest/glTF-Binary/AttenuationTest.glb", image: null, sortDate: "2025-03-31T11:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_avocado", slug: "demo-avocado", name: "Avocado", description: "A photorealistic avocado — a Khronos classic for testing physically-based rendering.", tags: ["food","pbr","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/Avocado/glTF-Binary/Avocado.glb", image: null, sortDate: "2025-03-31T10:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_barramundifish", slug: "demo-barramundi-fish", name: "Barramundi Fish", description: "Detailed barramundi fish with realistic scales and PBR materials.", tags: ["animal","fish","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BarramundiFish/glTF-Binary/BarramundiFish.glb", image: null, sortDate: "2025-03-31T09:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_boombox", slug: "demo-boom-box", name: "Boom Box", description: "Retro boombox with intricate textures — a benchmark PBR asset.", tags: ["object","audio","pbr","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BoomBox/glTF-Binary/BoomBox.glb", image: null, sortDate: "2025-03-31T08:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_box", slug: "demo-box", name: "Box", description: "The simplest possible glTF: a single textured cube.", tags: ["primitive","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/Box/glTF-Binary/Box.glb", image: null, sortDate: "2025-03-31T07:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_boxanimated", slug: "demo-box-animated", name: "Box Animated", description: "A simple box with a baked transform animation.", tags: ["primitive","animated","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BoxAnimated/glTF-Binary/BoxAnimated.glb", image: null, sortDate: "2025-03-31T06:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_boxinterleaved", slug: "demo-box-interleaved", name: "Box Interleaved", description: "A box with interleaved vertex attributes — a glTF format test.", tags: ["primitive","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BoxInterleaved/glTF-Binary/BoxInterleaved.glb", image: null, sortDate: "2025-03-31T05:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_boxtextured", slug: "demo-box-textured", name: "Box Textured", description: "A box with a texture map applied.", tags: ["primitive","textured"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BoxTextured/glTF-Binary/BoxTextured.glb", image: null, sortDate: "2025-03-31T04:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_boxtexturednonpoweroftwo", slug: "demo-box-textured-non-power-of-two", name: "Box Textured Non Power Of Two", description: "A textured box demonstrating non-power-of-two textures.", tags: ["primitive","textured","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BoxTexturedNonPowerOfTwo/glTF-Binary/BoxTexturedNonPowerOfTwo.glb", image: null, sortDate: "2025-03-31T03:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_boxvertexcolors", slug: "demo-box-vertex-colors", name: "Box Vertex Colors", description: "A box with per-vertex colors instead of textures.", tags: ["primitive","colors"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BoxVertexColors/glTF-Binary/BoxVertexColors.glb", image: null, sortDate: "2025-03-31T02:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_brainstem", slug: "demo-brain-stem", name: "Brain Stem", description: "Walking humanoid figure with skinned mesh and animations.", tags: ["humanoid","rigged","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/BrainStem/glTF-Binary/BrainStem.glb", image: null, sortDate: "2025-03-31T01:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_carconcept", slug: "demo-car-concept", name: "Car Concept", description: "Concept car with sculpted bodywork and clear-coat materials.", tags: ["vehicle","concept","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CarConcept/glTF-Binary/CarConcept.glb", image: null, sortDate: "2025-03-31T00:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_carbonfibre", slug: "demo-carbon-fibre", name: "Carbon Fibre", description: "Carbon-fibre weave material test — anisotropy and clear-coat.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CarbonFibre/glTF-Binary/CarbonFibre.glb", image: null, sortDate: "2025-03-30T23:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_cesiumman", slug: "demo-cesium-man", name: "Cesium Man", description: "The iconic Cesium Man — walking animation, fully rigged.", tags: ["humanoid","rigged","animated","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CesiumMan/glTF-Binary/CesiumMan.glb", image: null, sortDate: "2025-03-30T22:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_cesiummilktruck", slug: "demo-cesium-milk-truck", name: "Cesium Milk Truck", description: "Cesium Milk Truck rolling along — wheel rotation animation.", tags: ["vehicle","animated","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CesiumMilkTruck/glTF-Binary/CesiumMilkTruck.glb", image: null, sortDate: "2025-03-30T21:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_chairdamaskpurplegold", slug: "demo-chair-damask-purplegold", name: "Chair Damask Purplegold", description: "Ornate damask chair with gold leaf and patterned upholstery.", tags: ["furniture","pbr","fabric"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ChairDamaskPurplegold/glTF-Binary/ChairDamaskPurplegold.glb", image: null, sortDate: "2025-03-30T20:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_chronographwatch", slug: "demo-chronograph-watch", name: "Chronograph Watch", description: "Detailed chronograph wristwatch with metallic finish and glass face.", tags: ["object","pbr","metal"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ChronographWatch/glTF-Binary/ChronographWatch.glb", image: null, sortDate: "2025-03-30T19:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_clearcoatcarpaint", slug: "demo-clear-coat-car-paint", name: "Clear Coat Car Paint", description: "Clear-coat car paint material test under varied lighting.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ClearCoatCarPaint/glTF-Binary/ClearCoatCarPaint.glb", image: null, sortDate: "2025-03-30T18:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_clearcoattest", slug: "demo-clear-coat-test", name: "Clear Coat Test", description: "Clear-coat extension reference test.", tags: ["material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ClearCoatTest/glTF-Binary/ClearCoatTest.glb", image: null, sortDate: "2025-03-30T17:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_clearcoatwicker", slug: "demo-clearcoat-wicker", name: "Clearcoat Wicker", description: "Wicker pattern with clear-coat layer.", tags: ["material","pbr","fabric"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ClearcoatWicker/glTF-Binary/ClearcoatWicker.glb", image: null, sortDate: "2025-03-30T16:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_commercialrefrigerator", slug: "demo-commercial-refrigerator", name: "Commercial Refrigerator", description: "Commercial glass-door refrigerator with transmission.", tags: ["object","commercial","glass"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CommercialRefrigerator/glTF-Binary/CommercialRefrigerator.glb", image: null, sortDate: "2025-03-30T15:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparealphacoverage", slug: "demo-compare-alpha-coverage", name: "Compare Alpha Coverage", description: "Khronos reference asset — compare alpha coverage.", tags: ["primitive","material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareAlphaCoverage/glTF-Binary/CompareAlphaCoverage.glb", image: null, sortDate: "2025-03-30T14:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareambientocclusion", slug: "demo-compare-ambient-occlusion", name: "Compare Ambient Occlusion", description: "Khronos reference asset — compare ambient occlusion.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareAmbientOcclusion/glTF-Binary/CompareAmbientOcclusion.glb", image: null, sortDate: "2025-03-30T13:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareanisotropy", slug: "demo-compare-anisotropy", name: "Compare Anisotropy", description: "Khronos reference asset — compare anisotropy.", tags: ["material","pbr","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareAnisotropy/glTF-Binary/CompareAnisotropy.glb", image: null, sortDate: "2025-03-30T12:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparebasecolor", slug: "demo-compare-base-color", name: "Compare Base Color", description: "Khronos reference asset — compare base color.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareBaseColor/glTF-Binary/CompareBaseColor.glb", image: null, sortDate: "2025-03-30T11:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareclearcoat", slug: "demo-compare-clearcoat", name: "Compare Clearcoat", description: "Khronos reference asset — compare clearcoat.", tags: ["material","pbr","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareClearcoat/glTF-Binary/CompareClearcoat.glb", image: null, sortDate: "2025-03-30T10:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparedispersion", slug: "demo-compare-dispersion", name: "Compare Dispersion", description: "Khronos reference asset — compare dispersion.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareDispersion/glTF-Binary/CompareDispersion.glb", image: null, sortDate: "2025-03-30T09:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareemissivestrength", slug: "demo-compare-emissive-strength", name: "Compare Emissive Strength", description: "Khronos reference asset — compare emissive strength.", tags: ["primitive","lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareEmissiveStrength/glTF-Binary/CompareEmissiveStrength.glb", image: null, sortDate: "2025-03-30T08:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareior", slug: "demo-compare-ior", name: "Compare Ior", description: "Khronos reference asset — compare ior.", tags: ["primitive","material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareIor/glTF-Binary/CompareIor.glb", image: null, sortDate: "2025-03-30T07:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareiridescence", slug: "demo-compare-iridescence", name: "Compare Iridescence", description: "Khronos reference asset — compare iridescence.", tags: ["material","pbr","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareIridescence/glTF-Binary/CompareIridescence.glb", image: null, sortDate: "2025-03-30T06:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparemetallic", slug: "demo-compare-metallic", name: "Compare Metallic", description: "Khronos reference asset — compare metallic.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareMetallic/glTF-Binary/CompareMetallic.glb", image: null, sortDate: "2025-03-30T05:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparenormal", slug: "demo-compare-normal", name: "Compare Normal", description: "Khronos reference asset — compare normal.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareNormal/glTF-Binary/CompareNormal.glb", image: null, sortDate: "2025-03-30T04:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_compareroughness", slug: "demo-compare-roughness", name: "Compare Roughness", description: "Khronos reference asset — compare roughness.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareRoughness/glTF-Binary/CompareRoughness.glb", image: null, sortDate: "2025-03-30T03:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparesheen", slug: "demo-compare-sheen", name: "Compare Sheen", description: "Khronos reference asset — compare sheen.", tags: ["material","pbr","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareSheen/glTF-Binary/CompareSheen.glb", image: null, sortDate: "2025-03-30T02:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparespecular", slug: "demo-compare-specular", name: "Compare Specular", description: "Khronos reference asset — compare specular.", tags: ["material","pbr","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareSpecular/glTF-Binary/CompareSpecular.glb", image: null, sortDate: "2025-03-30T01:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparetransmission", slug: "demo-compare-transmission", name: "Compare Transmission", description: "Khronos reference asset — compare transmission.", tags: ["glass","transmission","primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareTransmission/glTF-Binary/CompareTransmission.glb", image: null, sortDate: "2025-03-30T00:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_comparevolume", slug: "demo-compare-volume", name: "Compare Volume", description: "Khronos reference asset — compare volume.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CompareVolume/glTF-Binary/CompareVolume.glb", image: null, sortDate: "2025-03-29T23:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_cubevisibility", slug: "demo-cube-visibility", name: "Cube Visibility", description: "Khronos reference asset — cube visibility.", tags: ["primitive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/CubeVisibility/glTF-Binary/CubeVisibility.glb", image: null, sortDate: "2025-03-29T22:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_damagedhelmet", slug: "demo-damaged-helmet", name: "Damaged Helmet", description: "Battle-worn sci-fi helmet — possibly the most-rendered glTF in history.", tags: ["object","armor","pbr","iconic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DamagedHelmet/glTF-Binary/DamagedHelmet.glb", image: null, sortDate: "2025-03-29T21:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_diffusetransmissionplant", slug: "demo-diffuse-transmission-plant", name: "Diffuse Transmission Plant", description: "Botanical leaves demonstrating diffuse transmission for thin foliage.", tags: ["plant","transmission","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DiffuseTransmissionPlant/glTF-Binary/DiffuseTransmissionPlant.glb", image: null, sortDate: "2025-03-29T20:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_diffusetransmissionteacup", slug: "demo-diffuse-transmission-teacup", name: "Diffuse Transmission Teacup", description: "Bone china teacup with translucent walls.", tags: ["object","transmission","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DiffuseTransmissionTeacup/glTF-Binary/DiffuseTransmissionTeacup.glb", image: null, sortDate: "2025-03-29T19:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_diffusetransmissiontest", slug: "demo-diffuse-transmission-test", name: "Diffuse Transmission Test", description: "Khronos reference asset — diffuse transmission test.", tags: ["glass","transmission","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DiffuseTransmissionTest/glTF-Binary/DiffuseTransmissionTest.glb", image: null, sortDate: "2025-03-29T18:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_directionallight", slug: "demo-directional-light", name: "Directional Light", description: "Khronos reference asset — directional light.", tags: ["lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DirectionalLight/glTF-Binary/DirectionalLight.glb", image: null, sortDate: "2025-03-29T17:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_dispersiontest", slug: "demo-dispersion-test", name: "Dispersion Test", description: "Khronos reference asset — dispersion test.", tags: ["test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DispersionTest/glTF-Binary/DispersionTest.glb", image: null, sortDate: "2025-03-29T16:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_dragonattenuation", slug: "demo-dragon-attenuation", name: "Dragon Attenuation", description: "Glass dragon demonstrating volume attenuation and transmission.", tags: ["creature","glass","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DragonAttenuation/glTF-Binary/DragonAttenuation.glb", image: null, sortDate: "2025-03-29T15:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_dragondispersion", slug: "demo-dragon-dispersion", name: "Dragon Dispersion", description: "Glass dragon with chromatic dispersion for prismatic light.", tags: ["creature","glass","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/DragonDispersion/glTF-Binary/DragonDispersion.glb", image: null, sortDate: "2025-03-29T14:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_duck", slug: "demo-duck", name: "Duck", description: "The Khronos Duck — every 3D dev has met this duck.", tags: ["animal","iconic","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/Duck/glTF-Binary/Duck.glb", image: null, sortDate: "2025-03-29T13:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_emissivestrengthtest", slug: "demo-emissive-strength-test", name: "Emissive Strength Test", description: "Khronos reference asset — emissive strength test.", tags: ["test","lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/EmissiveStrengthTest/glTF-Binary/EmissiveStrengthTest.glb", image: null, sortDate: "2025-03-29T12:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_fox", slug: "demo-fox", name: "Fox", description: "Stylized fox with three baked animations — Survey, Walk, Run.", tags: ["animal","animated","rigged","iconic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/Fox/glTF-Binary/Fox.glb", image: null, sortDate: "2025-03-29T11:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_glamvelvetsofa", slug: "demo-glam-velvet-sofa", name: "Glam Velvet Sofa", description: "Velvet sofa demonstrating sheen for fabric materials.", tags: ["furniture","fabric","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/GlamVelvetSofa/glTF-Binary/GlamVelvetSofa.glb", image: null, sortDate: "2025-03-29T10:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_glassbrokenwindow", slug: "demo-glass-broken-window", name: "Glass Broken Window", description: "Shattered window pane with refraction and transmission.", tags: ["object","glass","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/GlassBrokenWindow/glTF-Binary/GlassBrokenWindow.glb", image: null, sortDate: "2025-03-29T09:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_glasshurricanecandleholder", slug: "demo-glass-hurricane-candle-holder", name: "Glass Hurricane Candle Holder", description: "Hurricane candle holder with thick glass and a flickering candle.", tags: ["object","glass","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/GlassHurricaneCandleHolder/glTF-Binary/GlassHurricaneCandleHolder.glb", image: null, sortDate: "2025-03-29T08:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_glassvaseflowers", slug: "demo-glass-vase-flowers", name: "Glass Vase Flowers", description: "Cut-glass vase with flowers — refraction through curved glass.", tags: ["object","glass","plant"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/GlassVaseFlowers/glTF-Binary/GlassVaseFlowers.glb", image: null, sortDate: "2025-03-29T07:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_iortestgrid", slug: "demo-iortest-grid", name: "IOR Test Grid", description: "Khronos reference asset — i o r test grid.", tags: ["test","material"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/IORTestGrid/glTF-Binary/IORTestGrid.glb", image: null, sortDate: "2025-03-29T06:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_interpolationtest", slug: "demo-interpolation-test", name: "Interpolation Test", description: "Khronos reference asset — interpolation test.", tags: ["animated","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/InterpolationTest/glTF-Binary/InterpolationTest.glb", image: null, sortDate: "2025-03-29T05:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_iridescenceabalone", slug: "demo-iridescence-abalone", name: "Iridescence Abalone", description: "Abalone shell with natural iridescence.", tags: ["object","pbr","iridescent"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/IridescenceAbalone/glTF-Binary/IridescenceAbalone.glb", image: null, sortDate: "2025-03-29T04:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_iridescencelamp", slug: "demo-iridescence-lamp", name: "Iridescence Lamp", description: "Lamp shade with iridescent thin-film effect.", tags: ["object","pbr","iridescent"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/IridescenceLamp/glTF-Binary/IridescenceLamp.glb", image: null, sortDate: "2025-03-29T03:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_iridescencesuzanne", slug: "demo-iridescence-suzanne", name: "Iridescence Suzanne", description: "Blender Suzanne with iridescent thin-film material.", tags: ["classic","iridescent"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/IridescenceSuzanne/glTF-Binary/IridescenceSuzanne.glb", image: null, sortDate: "2025-03-29T02:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_iridescentdishwitholives", slug: "demo-iridescent-dish-with-olives", name: "Iridescent Dish With Olives", description: "Iridescent ceramic dish holding olives.", tags: ["food","pbr","iridescent"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/IridescentDishWithOlives/glTF-Binary/IridescentDishWithOlives.glb", image: null, sortDate: "2025-03-29T01:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_lantern", slug: "demo-lantern", name: "Lantern", description: "Traditional lantern with intricate metalwork — a Khronos PBR benchmark.", tags: ["object","metal","pbr","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/Lantern/glTF-Binary/Lantern.glb", image: null, sortDate: "2025-03-29T00:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_lightvisibility", slug: "demo-light-visibility", name: "Light Visibility", description: "Khronos reference asset — light visibility.", tags: ["lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/LightVisibility/glTF-Binary/LightVisibility.glb", image: null, sortDate: "2025-03-28T23:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_lightspunctuallamp", slug: "demo-lights-punctual-lamp", name: "Lights Punctual Lamp", description: "Khronos reference asset — lights punctual lamp.", tags: ["lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/LightsPunctualLamp/glTF-Binary/LightsPunctualLamp.glb", image: null, sortDate: "2025-03-28T22:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_materialsvariantsshoe", slug: "demo-materials-variants-shoe", name: "Materials Variants Shoe", description: "Shoe with material variants — swap colorways at runtime.", tags: ["fashion","shoe","variants"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/MaterialsVariantsShoe/glTF-Binary/MaterialsVariantsShoe.glb", image: null, sortDate: "2025-03-28T21:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_metalroughspheres", slug: "demo-metal-rough-spheres", name: "Metal Rough Spheres", description: "Spheres demonstrating the full metallic-roughness range.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/MetalRoughSpheres/glTF-Binary/MetalRoughSpheres.glb", image: null, sortDate: "2025-03-28T20:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_metalroughspheresnotextures", slug: "demo-metal-rough-spheres-no-textures", name: "Metal Rough Spheres No Textures", description: "Untextured metallic-roughness sphere grid.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/MetalRoughSpheresNoTextures/glTF-Binary/MetalRoughSpheresNoTextures.glb", image: null, sortDate: "2025-03-28T19:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_morphprimitivestest", slug: "demo-morph-primitives-test", name: "Morph Primitives Test", description: "Morph target test for blend shapes on primitives.", tags: ["test","morph"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/MorphPrimitivesTest/glTF-Binary/MorphPrimitivesTest.glb", image: null, sortDate: "2025-03-28T18:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_morphstresstest", slug: "demo-morph-stress-test", name: "Morph Stress Test", description: "Stress test for many simultaneous morph targets.", tags: ["test","morph"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/MorphStressTest/glTF-Binary/MorphStressTest.glb", image: null, sortDate: "2025-03-28T17:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_multiuvtest", slug: "demo-multi-uvtest", name: "Multi UV Test", description: "Khronos reference asset — multi u v test.", tags: ["test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/MultiUVTest/glTF-Binary/MultiUVTest.glb", image: null, sortDate: "2025-03-28T16:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_negativescaletest", slug: "demo-negative-scale-test", name: "Negative Scale Test", description: "Negative scaling and winding-order test.", tags: ["test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/NegativeScaleTest/glTF-Binary/NegativeScaleTest.glb", image: null, sortDate: "2025-03-28T15:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_normaltangentmirrortest", slug: "demo-normal-tangent-mirror-test", name: "Normal Tangent Mirror Test", description: "Mirror-symmetry test for normal and tangent vectors.", tags: ["test","normals"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/NormalTangentMirrorTest/glTF-Binary/NormalTangentMirrorTest.glb", image: null, sortDate: "2025-03-28T14:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_normaltangenttest", slug: "demo-normal-tangent-test", name: "Normal Tangent Test", description: "Normal/tangent space correctness test.", tags: ["test","normals"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/NormalTangentTest/glTF-Binary/NormalTangentTest.glb", image: null, sortDate: "2025-03-28T13:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_orientationtest", slug: "demo-orientation-test", name: "Orientation Test", description: "Coordinate system orientation test for glTF importers.", tags: ["test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/OrientationTest/glTF-Binary/OrientationTest.glb", image: null, sortDate: "2025-03-28T12:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_playsetlighttest", slug: "demo-playset-light-test", name: "Playset Light Test", description: "Khronos reference asset — playset light test.", tags: ["test","lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/PlaysetLightTest/glTF-Binary/PlaysetLightTest.glb", image: null, sortDate: "2025-03-28T11:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_pointlightintensitytest", slug: "demo-point-light-intensity-test", name: "Point Light Intensity Test", description: "Point light intensity falloff test.", tags: ["test","lighting"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/PointLightIntensityTest/glTF-Binary/PointLightIntensityTest.glb", image: null, sortDate: "2025-03-28T10:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_potofcoals", slug: "demo-pot-of-coals", name: "Pot Of Coals", description: "Glowing pot of coals demonstrating emissive strength.", tags: ["object","fire","emissive"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/PotOfCoals/glTF-Binary/PotOfCoals.glb", image: null, sortDate: "2025-03-28T09:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_potofcoalsanimationpointer", slug: "demo-pot-of-coals-animation-pointer", name: "Pot Of Coals Animation Pointer", description: "Khronos reference asset — pot of coals animation pointer.", tags: ["animated"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/PotOfCoalsAnimationPointer/glTF-Binary/PotOfCoalsAnimationPointer.glb", image: null, sortDate: "2025-03-28T08:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_recursiveskeletons", slug: "demo-recursive-skeletons", name: "Recursive Skeletons", description: "Stress test for deeply nested skeletal hierarchies.", tags: ["test","skinning"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/RecursiveSkeletons/glTF-Binary/RecursiveSkeletons.glb", image: null, sortDate: "2025-03-28T07:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_riggedfigure", slug: "demo-rigged-figure", name: "Rigged Figure", description: "Bare-bones rigged humanoid for testing skinning.", tags: ["humanoid","rigged","classic"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/RiggedFigure/glTF-Binary/RiggedFigure.glb", image: null, sortDate: "2025-03-28T06:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_riggedsimple", slug: "demo-rigged-simple", name: "Rigged Simple", description: "Minimal rigged figure — the smallest possible skinned mesh.", tags: ["rigged","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/RiggedSimple/glTF-Binary/RiggedSimple.glb", image: null, sortDate: "2025-03-28T05:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_scatteringskull", slug: "demo-scattering-skull", name: "Scattering Skull", description: "Khronos reference asset — scattering skull.", tags: ["object"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ScatteringSkull/glTF-Binary/ScatteringSkull.glb", image: null, sortDate: "2025-03-28T04:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_sheenchair", slug: "demo-sheen-chair", name: "Sheen Chair", description: "Khronos reference asset — sheen chair.", tags: ["material","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SheenChair/glTF-Binary/SheenChair.glb", image: null, sortDate: "2025-03-28T03:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_sheentestgrid", slug: "demo-sheen-test-grid", name: "Sheen Test Grid", description: "Khronos reference asset — sheen test grid.", tags: ["material","pbr","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SheenTestGrid/glTF-Binary/SheenTestGrid.glb", image: null, sortDate: "2025-03-28T02:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_sheenwoodleathersofa", slug: "demo-sheen-wood-leather-sofa", name: "Sheen Wood Leather Sofa", description: "Khronos reference asset — sheen wood leather sofa.", tags: ["material","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SheenWoodLeatherSofa/glTF-Binary/SheenWoodLeatherSofa.glb", image: null, sortDate: "2025-03-28T01:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_simpleinstancing", slug: "demo-simple-instancing", name: "Simple Instancing", description: "EXT_mesh_gpu_instancing demonstration.", tags: ["test","instancing"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SimpleInstancing/glTF-Binary/SimpleInstancing.glb", image: null, sortDate: "2025-03-28T00:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_specglossvsmetalrough", slug: "demo-spec-gloss-vs-metal-rough", name: "Spec Gloss Vs Metal Rough", description: "Spec-gloss vs metallic-roughness workflow comparison.", tags: ["material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SpecGlossVsMetalRough/glTF-Binary/SpecGlossVsMetalRough.glb", image: null, sortDate: "2025-03-27T23:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_specularsilkpouf", slug: "demo-specular-silk-pouf", name: "Specular Silk Pouf", description: "Silk pouf footstool with specular sheen.", tags: ["furniture","fabric","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SpecularSilkPouf/glTF-Binary/SpecularSilkPouf.glb", image: null, sortDate: "2025-03-27T22:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_speculartest", slug: "demo-specular-test", name: "Specular Test", description: "KHR_materials_specular extension test.", tags: ["material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SpecularTest/glTF-Binary/SpecularTest.glb", image: null, sortDate: "2025-03-27T21:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_sunglasseskhronos", slug: "demo-sunglasses-khronos", name: "Sunglasses Khronos", description: "Khronos reference asset — sunglasses khronos.", tags: ["glass","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/SunglassesKhronos/glTF-Binary/SunglassesKhronos.glb", image: null, sortDate: "2025-03-27T20:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_texturecoordinatetest", slug: "demo-texture-coordinate-test", name: "Texture Coordinate Test", description: "UV coordinate correctness test.", tags: ["test","textures"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TextureCoordinateTest/glTF-Binary/TextureCoordinateTest.glb", image: null, sortDate: "2025-03-27T19:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_textureencodingtest", slug: "demo-texture-encoding-test", name: "Texture Encoding Test", description: "Khronos reference asset — texture encoding test.", tags: ["test","material"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TextureEncodingTest/glTF-Binary/TextureEncodingTest.glb", image: null, sortDate: "2025-03-27T18:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_texturelinearinterpolationtest", slug: "demo-texture-linear-interpolation-test", name: "Texture Linear Interpolation Test", description: "Linear texture interpolation test.", tags: ["test","textures"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TextureLinearInterpolationTest/glTF-Binary/TextureLinearInterpolationTest.glb", image: null, sortDate: "2025-03-27T17:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_texturesettingstest", slug: "demo-texture-settings-test", name: "Texture Settings Test", description: "Texture sampler settings test.", tags: ["test","textures"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TextureSettingsTest/glTF-Binary/TextureSettingsTest.glb", image: null, sortDate: "2025-03-27T16:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_texturetransformmultitest", slug: "demo-texture-transform-multi-test", name: "Texture Transform Multi Test", description: "Khronos reference asset — texture transform multi test.", tags: ["test","material"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TextureTransformMultiTest/glTF-Binary/TextureTransformMultiTest.glb", image: null, sortDate: "2025-03-27T15:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_toycar", slug: "demo-toy-car", name: "Toy Car", description: "Stylized toy car with chunky proportions and shiny paint.", tags: ["vehicle","toy","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/ToyCar/glTF-Binary/ToyCar.glb", image: null, sortDate: "2025-03-27T14:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_transmissionordertest", slug: "demo-transmission-order-test", name: "Transmission Order Test", description: "Khronos reference asset — transmission order test.", tags: ["glass","transmission","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TransmissionOrderTest/glTF-Binary/TransmissionOrderTest.glb", image: null, sortDate: "2025-03-27T13:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_transmissionroughnesstest", slug: "demo-transmission-roughness-test", name: "Transmission Roughness Test", description: "Transmission with varying roughness test.", tags: ["material","test","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TransmissionRoughnessTest/glTF-Binary/TransmissionRoughnessTest.glb", image: null, sortDate: "2025-03-27T12:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_transmissiontest", slug: "demo-transmission-test", name: "Transmission Test", description: "KHR_materials_transmission extension test.", tags: ["material","test","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TransmissionTest/glTF-Binary/TransmissionTest.glb", image: null, sortDate: "2025-03-27T11:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_transmissionthinwalltestgrid", slug: "demo-transmission-thinwall-test-grid", name: "Transmission Thinwall Test Grid", description: "Thin-wall transmission grid test.", tags: ["material","test","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/TransmissionThinwallTestGrid/glTF-Binary/TransmissionThinwallTestGrid.glb", image: null, sortDate: "2025-03-27T10:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_usdshaderballforgltf", slug: "demo-usdshader-ball-for-gltf", name: "USD Shader Ball For Gltf", description: "Khronos reference asset — u s d shader ball for gltf.", tags: ["object"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/USDShaderBallForGltf/glTF-Binary/USDShaderBallForGltf.glb", image: null, sortDate: "2025-03-27T09:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_unicode❤♻test", slug: "demo-unicode❤♻test", name: "Unicode❤♻Test", description: "Khronos reference asset — unicode❤♻ test.", tags: ["test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/Unicode❤♻Test/glTF-Binary/Unicode❤♻Test.glb", image: null, sortDate: "2025-03-27T08:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_unlittest", slug: "demo-unlit-test", name: "Unlit Test", description: "KHR_materials_unlit extension test — flat shading.", tags: ["material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/UnlitTest/glTF-Binary/UnlitTest.glb", image: null, sortDate: "2025-03-27T07:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_vertexcolortest", slug: "demo-vertex-color-test", name: "Vertex Color Test", description: "Per-vertex color test plane.", tags: ["test","colors"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/VertexColorTest/glTF-Binary/VertexColorTest.glb", image: null, sortDate: "2025-03-27T06:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_virtualcity", slug: "demo-virtual-city", name: "Virtual City", description: "Stylized low-poly city block — buildings, streets, props.", tags: ["scene","environment","urban"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/VirtualCity/glTF-Binary/VirtualCity.glb", image: null, sortDate: "2025-03-27T05:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_waterbottle", slug: "demo-water-bottle", name: "Water Bottle", description: "Water bottle with translucent plastic body and embossed label.", tags: ["object","pbr","transmission"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/WaterBottle/glTF-Binary/WaterBottle.glb", image: null, sortDate: "2025-03-27T04:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_k_xmpmetadataroundedcube", slug: "demo-xmp-metadata-rounded-cube", name: "Xmp Metadata Rounded Cube", description: "Rounded cube embedding XMP metadata for attribution.", tags: ["test","metadata"], glbUrl: "https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models/XmpMetadataRoundedCube/glTF-Binary/XmpMetadataRoundedCube.glb", image: null, sortDate: "2025-03-27T03:00:00.000Z", attribution: {"handle":"khronos","displayName":"Khronos Group","url":"https://github.com/KhronosGroup/glTF-Sample-Assets","license":"CC-BY 4.0"}, author: {"handle":"khronos","displayName":"Khronos Group","profileUrl":"https://github.com/KhronosGroup/glTF-Sample-Assets"} }),+ demoItem({ id: "avatar_demo_t_flamingo", slug: "demo-flamingo", name: "Flamingo", description: "Pink flamingo in flight.", tags: ["animal","bird","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Flamingo.glb", image: null, sortDate: "2025-03-27T02:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_horse", slug: "demo-horse", name: "Horse", description: "Galloping horse with skeletal animation.", tags: ["animal","animated","rigged"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Horse.glb", image: null, sortDate: "2025-03-27T01:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_littlesttokyo", slug: "demo-littlesttokyo", name: "LittlestTokyo", description: "Animated Tokyo street scene by Glen Fox — cars driving, neon, atmosphere.", tags: ["scene","environment","urban","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/LittlestTokyo.glb", image: null, sortDate: "2025-03-27T00:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_michelle", slug: "demo-michelle", name: "Michelle", description: "Michelle character with Mixamo-compatible rig.", tags: ["humanoid","rigged","character"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Michelle.glb", image: null, sortDate: "2025-03-26T23:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_parrot", slug: "demo-parrot", name: "Parrot", description: "Flying parrot with wing-flap animation.", tags: ["animal","bird","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Parrot.glb", image: null, sortDate: "2025-03-26T22:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_primaryiondrive", slug: "demo-primaryiondrive", name: "PrimaryIonDrive", description: "Primary ion drive engine module with animated pulse.", tags: ["scifi","vehicle","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/PrimaryIonDrive.glb", image: null, sortDate: "2025-03-26T21:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_shaderball", slug: "demo-shaderball", name: "ShaderBall", description: "Shader ball — the standard material test sphere with reflective base.", tags: ["material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/ShaderBall.glb", image: null, sortDate: "2025-03-26T20:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_shaderball2", slug: "demo-shaderball2", name: "ShaderBall2", description: "Alternate shader ball variant.", tags: ["material","test"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/ShaderBall2.glb", image: null, sortDate: "2025-03-26T19:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_shadowmappablemesh", slug: "demo-shadowmappablemesh", name: "ShadowmappableMesh", description: "Mesh with high-frequency detail for shadow-mapping tests.", tags: ["test","shadows"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/ShadowmappableMesh.glb", image: null, sortDate: "2025-03-26T18:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_soldier", slug: "demo-soldier-threejs", name: "Soldier", description: "Soldier character with walk, run, and idle animations — three.js classic.", tags: ["humanoid","rigged","animated","character"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Soldier.glb", image: null, sortDate: "2025-03-26T17:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_stork", slug: "demo-stork", name: "Stork", description: "Stork mid-flight with wing animation.", tags: ["animal","bird","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Stork.glb", image: null, sortDate: "2025-03-26T16:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_xbot", slug: "demo-xbot", name: "Xbot", description: "X-Bot rigged humanoid robot, ready for retargeting.", tags: ["robot","rigged","animated","character"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/Xbot.glb", image: null, sortDate: "2025-03-26T15:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_bath-day", slug: "demo-bath-day", name: "Bath Day", description: "Bath day animated scene — quirky character moment.", tags: ["scene","animated","character"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/bath_day.glb", image: null, sortDate: "2025-03-26T14:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_coffeemug", slug: "demo-coffeemug", name: "CoffeeMug", description: "Ceramic coffee mug.", tags: ["object","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/coffeeMug.glb", image: null, sortDate: "2025-03-26T13:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_coffeemat", slug: "demo-coffeemat", name: "Coffeemat", description: "Coffee machine with detailed dispenser.", tags: ["object","machine","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/coffeemat.glb", image: null, sortDate: "2025-03-26T12:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_collision-world", slug: "demo-collision-world", name: "Collision World", description: "Test scene with collision geometry.", tags: ["scene","environment","test"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/collision-world.glb", image: null, sortDate: "2025-03-26T11:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_dungeon-warkarma", slug: "demo-dungeon-warkarma", name: "Dungeon Warkarma", description: "Fantasy dungeon scene by Warkarma.", tags: ["scene","fantasy","environment"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/dungeon_warkarma.glb", image: null, sortDate: "2025-03-26T10:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_facecap", slug: "demo-facecap", name: "Facecap", description: "Face capture sample with blendshape animation.", tags: ["humanoid","face","animated","morph"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/facecap.glb", image: null, sortDate: "2025-03-26T09:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_ferrari", slug: "demo-ferrari", name: "Ferrari", description: "Khronos reference asset — ferrari.", tags: ["object"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/ferrari.glb", image: null, sortDate: "2025-03-26T08:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_gears", slug: "demo-gears", name: "Gears", description: "Interlocking gears with mechanical animation.", tags: ["object","mechanical","animated"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/gears.glb", image: null, sortDate: "2025-03-26T07:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_godrays-demo", slug: "demo-godrays-demo", name: "Godrays Demo", description: "God rays / volumetric lighting demonstration scene.", tags: ["scene","lighting","demo"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/godrays_demo.glb", image: null, sortDate: "2025-03-26T06:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_kira", slug: "demo-kira", name: "Kira", description: "Kira character model.", tags: ["humanoid","character","rigged"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/kira.glb", image: null, sortDate: "2025-03-26T05:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_minimalistic-modern-bedroom", slug: "demo-minimalistic-modern-bedroom", name: "Minimalistic Modern Bedroom", description: "Minimalist modern bedroom interior.", tags: ["scene","interior","architecture"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/minimalistic_modern_bedroom.glb", image: null, sortDate: "2025-03-26T04:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_nemetona", slug: "demo-nemetona", name: "Nemetona", description: "Nemetona character bust.", tags: ["humanoid","character"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/nemetona.glb", image: null, sortDate: "2025-03-26T03:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_pool", slug: "demo-pool", name: "Pool", description: "Pool scene with water reflections.", tags: ["scene","water","environment"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/pool.glb", image: null, sortDate: "2025-03-26T02:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_readyplayer-me", slug: "demo-readyplayer-me", name: "Readyplayer.Me", description: "Ready Player Me avatar sample — humanoid character ready for VR/AR.", tags: ["humanoid","avatar","character"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/readyplayer.me.glb", image: null, sortDate: "2025-03-26T01:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_rolex", slug: "demo-rolex", name: "Rolex", description: "Detailed Rolex-style timepiece with metallic finish.", tags: ["object","watch","luxury","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/rolex.glb", image: null, sortDate: "2025-03-26T00:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_space-ship-hallway", slug: "demo-space-ship-hallway", name: "Space Ship Hallway", description: "Sci-fi spaceship corridor scene.", tags: ["scene","scifi","interior"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/space_ship_hallway.glb", image: null, sortDate: "2025-03-25T23:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_steampunk-camera", slug: "demo-steampunk-camera", name: "Steampunk Camera", description: "Steampunk-style camera with brass fittings and leather wrap.", tags: ["object","steampunk","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/steampunk_camera.glb", image: null, sortDate: "2025-03-25T22:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),+ demoItem({ id: "avatar_demo_t_venice-mask", slug: "demo-venice-mask", name: "Venice Mask", description: "Ornate Venetian carnival mask with gold leaf detailing.", tags: ["object","mask","pbr"], glbUrl: "https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf/venice_mask.glb", image: null, sortDate: "2025-03-25T21:00:00.000Z", attribution: {"handle":"threejs","displayName":"three.js examples","url":"https://github.com/mrdoob/three.js","license":"MIT"}, author: {"handle":"threejs","displayName":"three.js examples","profileUrl":"https://github.com/mrdoob/three.js"} }),];diff --git a/api/avatars/[id].js b/api/avatars/[id].jsindex 9882f63a7..a5fa45ce6 100644--- a/api/avatars/[id].js+++ b/api/avatars/[id].js@@ -19,6 +19,7 @@ import { limits } from '../_lib/rate-limit.js';import { recordEvent } from '../_lib/usage.js';import { z } from 'zod';import { avatarVisibility, parse } from '../_lib/validate.js';+import { DEMO_AVATARS } from '../_lib/demo-avatars.js';const patchSchema = z.object({name: z.string().trim().min(1).max(120).optional(),@@ -46,6 +47,35 @@ export default wrap(async (req, res) => {const auth = await resolveAuth(req);if (req.method === 'GET') {+ // Demo avatars (avatar_demo_*) are seeded fixtures, not DB rows.+ // Resolve them from DEMO_AVATARS so the detail page works for them too.+ if (id.startsWith('avatar_demo_')) {+ const demo = DEMO_AVATARS.find((a) => a.avatarId === id);+ if (!demo) return error(res, 404, 'not_found', 'avatar not found');+ return json(res, 200, {+ avatar: {+ id: demo.avatarId,+ slug: demo.slug,+ name: demo.name,+ description: demo.description,+ tags: demo.tags,+ visibility: 'public',+ source: 'demo',+ storage_key: null,+ size_bytes: null,+ content_type: 'model/gltf-binary',+ created_at: demo.createdAt,+ updated_at: demo.createdAt,+ thumbnail_url: demo.image,+ model_url: demo.glbUrl,+ url: demo.glbUrl,+ cdn: true,+ attribution: demo.attribution || null,+ author: demo.author || null,+ demo: true,+ },+ });+ }const avatar = await getAvatar({ id, requesterId: auth?.userId });if (!avatar) return error(res, 404, 'not_found', 'avatar not found');const urlInfo = await resolveAvatarUrl(avatar);diff --git a/api/explore.js b/api/explore.jsindex 893aef958..c7d674276 100644--- a/api/explore.js+++ b/api/explore.js@@ -43,7 +43,7 @@ export default wrap(async (req, res) => {const chainId = parseInt(url.searchParams.get('chain') || '', 10);const q = (url.searchParams.get('q') || '').trim().slice(0, 80);const cursor = url.searchParams.get('cursor');- const limit = Math.min(Math.max(parseInt(url.searchParams.get('limit') || '24', 10), 1), 60);+ const limit = Math.min(Math.max(parseInt(url.searchParams.get('limit') || '24', 10), 1), 250);const sourceFilter = url.searchParams.get('source') || 'all';const quality = url.searchParams.get('quality') === 'all' ? 'all' : 'high';diff --git a/avatar-page.html b/avatar-page.htmlindex b6fff84d9..913b65b63 100644--- a/avatar-page.html+++ b/avatar-page.html@@ -2,15 +2,16 @@<html lang="en"><head><meta charset="utf-8" />- <title>Avatar — three.ws</title>+ <title>Avatar Studio · three.ws</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="theme-color" content="#000000" /><link rel="shortcut icon" href="/favicon.ico" /><link rel="stylesheet" href="/style.css" /><link rel="stylesheet" href="/footer.css" />+ <link rel="stylesheet" href="/nav.css" /><script defer src="/footer-newsletter.js"></script><link- href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap"+ href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap"rel="stylesheet"/><script@@ -29,558 +30,613 @@<meta name="twitter:description" content="A 3D avatar on three.ws" id="tw-description" /><style>+ :root {+ --bg: #0a0a0a;+ --panel: #111;+ --panel-2: #161616;+ --border: #1f1f1f;+ --border-2: #2a2a2a;+ --text: #fafafa;+ --text-2: #a1a1aa;+ --text-3: #71717a;+ --accent: #7dd3fc;+ --accent-2: #a78bfa;+ --success: #34d399;+ --warn: #fde047;+ --radius: 14px;+ }++ html, body {+ margin: 0;+ background: var(--bg);+ color: var(--text);+ font-family: 'Inter', system-ui, sans-serif;+ -webkit-font-smoothing: antialiased;+ }body {- overflow: auto;display: flex;flex-direction: column;min-height: 100vh;}+ a { color: inherit; }- .av-header {+ /* ── Top action bar ────────────────────────────────── */+ .av-actionbar {display: flex;align-items: center;justify-content: space-between;- padding: 1rem 1.618rem;- border-bottom: 1px solid rgba(255, 255, 255, 0.06);- }-- .av-header a {- color: rgba(255, 255, 255, 0.4);+ gap: 12px;+ padding: 12px 24px;+ border-bottom: 1px solid var(--border);+ background: rgba(10, 10, 10, 0.85);+ backdrop-filter: blur(8px);+ position: sticky;+ top: 0;+ z-index: 20;+ }+ .av-back {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ color: var(--text-2);text-decoration: none;- font-size: 0.764rem;+ font-size: 13px;}-- .av-header a:hover {- color: rgba(255, 255, 255, 0.8);+ .av-back:hover { color: var(--text); }+ .av-share-group {+ display: inline-flex;+ gap: 6px;}-- .av-copy-btn {+ .av-share-btn {background: transparent;- border: 1px solid rgba(255, 255, 255, 0.1);- color: rgba(255, 255, 255, 0.4);- font-size: 0.618rem;- padding: 0.25rem 0.618rem;- border-radius: 6px;+ border: 1px solid var(--border-2);+ color: var(--text-2);+ padding: 6px 12px;+ border-radius: 8px;cursor: pointer;+ font-size: 12px;font-family: inherit;transition: color 0.15s, border-color 0.15s;}-- .av-copy-btn:hover {- color: rgba(255, 255, 255, 0.8);- border-color: rgba(255, 255, 255, 0.2);- }-- .av-copy-btn.copied {- color: #4ade80;- border-color: rgba(74, 222, 128, 0.3);+ .av-share-btn:hover { color: var(--text); border-color: var(--text-3); }+ .av-share-btn.copied {+ color: var(--success);+ border-color: var(--success);}- .av-root {- max-width: 960px;- margin: 0 auto;- padding: 2.5rem 1.5rem 5rem;- width: 100%;+ /* ── Layout ───────────────────────────────────────── */+ .av-shell {+ display: grid;+ grid-template-columns: minmax(0, 1.5fr) minmax(380px, 1fr);+ gap: 0;flex: 1;+ min-height: 0;}- .av-layout {- display: grid;- grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.2fr);- gap: 2rem;- align-items: start;+ .av-stage-col {+ border-right: 1px solid var(--border);+ display: flex;+ flex-direction: column;+ min-height: 0;}-- .av-viewer {- background: radial-gradient(ellipse at center, rgba(154, 140, 255, 0.04) 0%, transparent 70%),- rgba(255, 255, 255, 0.02);- border: 1px solid rgba(255, 255, 255, 0.07);- border-radius: 16px;- overflow: hidden;- aspect-ratio: 1 / 1;+ .av-stage {+ flex: 1;+ min-height: 480px;+ background:+ radial-gradient(ellipse at 50% 35%, rgba(125, 211, 252, 0.06), transparent 60%),+ radial-gradient(ellipse at 70% 80%, rgba(167, 139, 250, 0.04), transparent 50%),+ var(--bg);+ position: relative;}-- .av-viewer model-viewer {+ .av-stage model-viewer {width: 100%;height: 100%;+ background: transparent;+ --poster-color: transparent;+ }+ .av-stage-loading {+ position: absolute;+ inset: 0;+ display: flex;+ align-items: center;+ justify-content: center;+ color: var(--text-3);+ font-size: 13px;+ pointer-events: none;}- .av-info {+ .av-meta-strip {display: flex;- flex-direction: column;- gap: 1rem;+ gap: 18px;+ padding: 14px 24px;+ border-top: 1px solid var(--border);+ background: var(--panel);+ font-size: 12px;+ color: var(--text-2);+ flex-wrap: wrap;}+ .av-meta-item { display: flex; flex-direction: column; gap: 1px; }+ .av-meta-key { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }+ .av-meta-val { color: var(--text); font-weight: 500; }+ /* ── Sidebar (right column) ───────────────────────── */+ .av-side {+ display: flex;+ flex-direction: column;+ min-height: 0;+ }+ .av-side-head {+ padding: 22px 24px 16px;+ border-bottom: 1px solid var(--border);+ }+ .av-eyebrow {+ font-family: 'Space Grotesk', sans-serif;+ font-size: 10px;+ letter-spacing: 0.18em;+ text-transform: uppercase;+ color: var(--accent);+ font-weight: 600;+ }.av-name {- font-size: 1.618rem;- font-weight: 400;- color: #e5e5e5;- letter-spacing: -0.02em;- margin: 0;- line-height: 1.2;+ font-family: 'Space Grotesk', sans-serif;+ font-size: 28px;+ font-weight: 700;+ color: var(--text);+ margin: 6px 0 4px;+ line-height: 1.1;+ letter-spacing: -0.01em;+ word-break: break-word;}-.av-by {- font-size: 0.764rem;- color: rgba(255, 255, 255, 0.3);- margin: 0;+ font-size: 13px;+ color: var(--text-3);+ margin: 0 0 10px;+ }+ .av-by a { color: var(--accent-2); text-decoration: none; }+ .av-by a:hover { color: var(--text); }+ .av-tags {+ display: flex;+ flex-wrap: wrap;+ gap: 5px;+ margin-top: 8px;+ }+ .av-tag {+ font-size: 11px;+ padding: 3px 9px;+ border-radius: 999px;+ background: rgba(167, 139, 250, 0.08);+ border: 1px solid rgba(167, 139, 250, 0.2);+ color: rgba(167, 139, 250, 0.9);}- .av-by a {- color: rgba(154, 140, 255, 0.8);+ .av-cta-row {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: 8px;+ padding: 16px 24px;+ border-bottom: 1px solid var(--border);+ }+ .av-cta {+ background: var(--text);+ color: #000;+ border: 0;+ border-radius: 10px;+ padding: 10px 12px;+ font-size: 13px;+ font-weight: 600;+ font-family: inherit;+ cursor: pointer;+ text-align: center;+ text-decoration: none;+ transition: transform 0.1s;+ }+ .av-cta:hover { transform: translateY(-1px); }+ .av-cta-sec {+ background: transparent;+ border: 1px solid var(--border-2);+ color: var(--text);+ border-radius: 10px;+ padding: 10px 12px;+ font-size: 13px;+ font-weight: 500;+ font-family: inherit;+ cursor: pointer;+ text-align: center;text-decoration: none;+ transition: border-color 0.15s, color 0.15s;+ }+ .av-cta-sec:hover { border-color: var(--text-2); }++ /* ── Tabs ────────────────────────────────────────── */+ .av-tabs {+ display: flex;+ gap: 0;+ border-bottom: 1px solid var(--border);+ padding: 0 8px;+ overflow-x: auto;+ background: var(--panel);+ }+ .av-tab {+ background: transparent;+ border: 0;+ color: var(--text-3);+ padding: 12px 14px;+ font-size: 13px;+ font-weight: 500;+ cursor: pointer;+ font-family: inherit;+ border-bottom: 2px solid transparent;+ transition: color 0.15s, border-color 0.15s;+ white-space: nowrap;+ }+ .av-tab:hover { color: var(--text-2); }+ .av-tab.active {+ color: var(--text);+ border-color: var(--text);}- .av-by a:hover {- color: #9a8cff;+ .av-panels {+ flex: 1;+ min-height: 0;+ overflow-y: auto;}+ .av-panel { display: none; padding: 20px 24px; }+ .av-panel.active { display: block; }+ /* ── Overview panel ──────────────────────────────── */.av-desc {- font-size: 0.875rem;- color: rgba(255, 255, 255, 0.5);+ font-size: 14px;+ color: var(--text-2);line-height: 1.6;margin: 0;+ white-space: pre-wrap;+ }+ .av-attribution {+ margin-top: 18px;+ padding: 12px 14px;+ background: var(--panel);+ border: 1px solid var(--border);+ border-radius: 10px;+ font-size: 12px;+ color: var(--text-3);+ display: flex;+ flex-direction: column;+ gap: 4px;}+ .av-attribution strong { color: var(--text-2); font-weight: 500; }+ .av-attribution a { color: var(--accent); text-decoration: none; }+ .av-attribution a:hover { color: var(--text); }- .av-tags {+ /* ── Chat panel ──────────────────────────────────── */+ .av-chat {display: flex;- flex-wrap: wrap;- gap: 0.382rem;+ flex-direction: column;+ height: 100%;+ min-height: 380px;+ gap: 0;}-- .av-tag {- font-size: 0.618rem;- padding: 0.2rem 0.618rem;- border-radius: 999px;- background: rgba(154, 140, 255, 0.08);- border: 1px solid rgba(154, 140, 255, 0.2);- color: rgba(154, 140, 255, 0.7);+ .av-chat-log {+ flex: 1;+ min-height: 240px;+ overflow-y: auto;+ padding: 4px 0 12px;+ display: flex;+ flex-direction: column;+ gap: 10px;+ }+ .av-chat-msg {+ max-width: 85%;+ padding: 10px 13px;+ border-radius: 12px;+ font-size: 14px;+ line-height: 1.5;+ white-space: pre-wrap;+ word-wrap: break-word;+ }+ .av-chat-msg.user {+ align-self: flex-end;+ background: rgba(125, 211, 252, 0.12);+ border: 1px solid rgba(125, 211, 252, 0.25);+ color: var(--text);+ }+ .av-chat-msg.assistant {+ align-self: flex-start;+ background: var(--panel);+ border: 1px solid var(--border);+ color: var(--text);+ }+ .av-chat-msg.assistant .av-chat-cursor {+ display: inline-block;+ width: 7px;+ height: 14px;+ vertical-align: -2px;+ background: var(--accent);+ margin-left: 2px;+ animation: av-blink 1s steps(2, start) infinite;+ }+ @keyframes av-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }+ .av-chat-empty {+ align-self: center;+ font-size: 13px;+ color: var(--text-3);+ text-align: center;+ padding: 32px 0;}-- .av-actions {+ .av-chat-empty strong { color: var(--text); display: block; margin-bottom: 4px; }+ .av-chat-form {display: flex;- gap: 0.75rem;- flex-wrap: wrap;- margin-top: 0.5rem;+ gap: 8px;+ padding-top: 10px;+ border-top: 1px solid var(--border);}-- .av-btn {- display: inline-flex;- align-items: center;- gap: 0.382rem;- padding: 0.5rem 1.2rem;- border-radius: 8px;- font-size: 0.764rem;+ .av-chat-input {+ flex: 1;+ background: var(--panel);+ border: 1px solid var(--border-2);+ border-radius: 10px;+ padding: 10px 12px;+ color: var(--text);font-family: inherit;+ font-size: 14px;+ outline: none;+ resize: none;+ min-height: 40px;+ max-height: 120px;+ }+ .av-chat-input:focus { border-color: var(--accent); }+ .av-chat-send {+ background: var(--text);+ color: #000;+ border: 0;+ border-radius: 10px;+ padding: 0 16px;+ font-weight: 600;+ font-size: 13px;cursor: pointer;- text-decoration: none;- transition: opacity 0.15s;- border: none;+ font-family: inherit;}+ .av-chat-send:disabled { opacity: 0.4; cursor: default; }- .av-btn:hover {- opacity: 0.8;+ /* ── Skills / Plugins panel ──────────────────────── */+ .av-list {+ display: flex;+ flex-direction: column;+ gap: 8px;}-- .av-btn-primary {- background: #9a8cff;- color: #000;- font-weight: 500;+ .av-row {+ display: flex;+ justify-content: space-between;+ align-items: center;+ gap: 12px;+ padding: 12px 14px;+ background: var(--panel);+ border: 1px solid var(--border);+ border-radius: 10px;+ transition: border-color 0.15s;+ }+ .av-row:hover { border-color: var(--border-2); }+ .av-row-main { min-width: 0; flex: 1; }+ .av-row-title {+ font-size: 13px;+ font-weight: 600;+ color: var(--text);+ margin: 0 0 2px;+ white-space: nowrap;+ overflow: hidden;+ text-overflow: ellipsis;}-- .av-btn-sec {- background: transparent;- border: 1px solid rgba(255, 255, 255, 0.12);- color: rgba(255, 255, 255, 0.6);+ .av-row-sub {+ font-size: 11px;+ color: var(--text-3);+ margin: 0;}-- .av-social-btn {+ .av-row-action {background: transparent;- border: 1px solid rgba(255, 255, 255, 0.12);- color: rgba(255, 255, 255, 0.6);- padding: 0.5rem;+ border: 1px solid var(--border-2);+ color: var(--text-2);+ padding: 5px 10px;+ border-radius: 7px;+ font-size: 11px;+ font-family: inherit;+ font-weight: 600;+ cursor: pointer;+ flex-shrink: 0;+ }+ .av-row-action.active {+ background: var(--text);+ color: #000;+ border-color: var(--text);+ }+ .av-row-action:hover { border-color: var(--text-2); color: var(--text); }+ .av-row-action.active:hover { color: #000; }+ .av-list-loading,+ .av-list-empty {+ color: var(--text-3);+ font-size: 13px;+ text-align: center;+ padding: 24px 0;}- .av-embed {- margin-top: 2rem;+ .av-attached {+ margin-top: 18px;+ padding: 12px 14px;+ background: rgba(52, 211, 153, 0.05);+ border: 1px solid rgba(52, 211, 153, 0.18);+ border-radius: 10px;+ font-size: 12px;+ color: rgba(52, 211, 153, 0.9);+ }+ .av-attached-list {+ display: flex;+ gap: 6px;+ flex-wrap: wrap;+ margin-top: 6px;+ }+ .av-attached-pill {+ background: rgba(52, 211, 153, 0.1);+ color: rgba(52, 211, 153, 1);+ border-radius: 999px;+ padding: 2px 8px;+ font-size: 10px;+ font-weight: 600;}+ /* ── Embed panel ─────────────────────────────────── */+ .av-embed-section { margin-bottom: 18px; }.av-embed-label {- font-size: 0.764rem;- color: rgba(255, 255, 255, 0.5);- font-weight: 500;- margin-bottom: 0.5rem;- display: block;+ display: flex;+ justify-content: space-between;+ align-items: center;+ margin-bottom: 6px;+ font-size: 11px;+ text-transform: uppercase;+ letter-spacing: 0.06em;+ color: var(--text-3);}-.av-embed-code {- background: rgba(255, 255, 255, 0.04);- border: 1px solid rgba(255, 255, 255, 0.1);- border-radius: 8px;- padding: 0.75rem 1rem;- font-family: monospace;- font-size: 0.764rem;- color: rgba(255, 255, 255, 0.7);- word-break: break-all;- position: relative;- padding-right: 4rem;- }-- .av-embed-copy-btn {- position: absolute;- top: 0.5rem;- right: 0.5rem;- background: rgba(255, 255, 255, 0.1);- border: 1px solid rgba(255, 255, 255, 0.2);- color: rgba(255, 255, 255, 0.7);- font-size: 0.618rem;- padding: 0.25rem 0.618rem;+ background: #050505;+ border: 1px solid var(--border);+ border-radius: 10px;+ padding: 12px 14px;+ font-family: ui-monospace, 'SF Mono', monospace;+ font-size: 12px;+ color: var(--text-2);+ overflow-x: auto;+ white-space: pre;+ line-height: 1.5;+ }+ .av-embed-copy {+ background: transparent;+ border: 1px solid var(--border-2);+ color: var(--text-2);+ padding: 3px 9px;border-radius: 6px;+ font-size: 10px;+ font-weight: 600;cursor: pointer;+ font-family: inherit;}+ .av-embed-copy:hover { color: var(--text); border-color: var(--text-3); }+ .av-embed-copy.copied { color: var(--success); border-color: var(--success); }- .av-embed-copy-btn.copied {- color: #4ade80;- border-color: rgba(74, 222, 128, 0.3);+ /* ── Related row ─────────────────────────────────── */+ .av-related {+ border-top: 1px solid var(--border);+ padding: 24px;}-- .av-meta {- font-size: 0.618rem;- color: rgba(255, 255, 255, 0.2);- margin-top: 1rem;+ .av-related h2 {+ font-family: 'Space Grotesk', sans-serif;+ font-size: 16px;+ font-weight: 600;+ margin: 0 0 12px;+ color: var(--text);}- </style>- <link rel="stylesheet" href="/nav.css" />- </head>- <body>- <header class="site-header">- <h1 class="site-header-brand">- <a href="/" aria-label="three.ws home"><img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a>- </h1>- <div id="nav-container"></div>- </header>- <script src="/nav.js"></script>-- <header class="av-header">- <a href="/" aria-label="Back to three.ws">← three.ws</a>- <button class="av-copy-btn" id="copy-btn">copy link</button>- </header>-- <main>- <div class="av-root" id="av-root">- <div class="av-error">Loading…</div>- </div>- </main>-- <footer class="h-footer-horizon">- <div class="h-footer-glow-line" aria-hidden="true"></div>- <div class="h-footer-floor" aria-hidden="true"></div>- <div class="h-footer-haze" aria-hidden="true"></div>- <div class="h-footer-watermark" aria-hidden="true">three.ws</div>- <div class="h-footer-cta">- <div class="h-footer-newsletter">- <h3>Stay in the loop</h3>- <p>Get updates on new features, agent tooling, and protocol changes.</p>- <form class="h-footer-newsletter-form" data-newsletter-form novalidate>- <input- type="email"- class="h-footer-newsletter-input"- name="email"- placeholder="Enter your email"- aria-label="Email address"- autocomplete="email"- required- />- <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>- </button>- </form>- <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>- </div>- <div class="h-footer-community">- <h3>Join the community</h3>- <p>Follow along for builds, demos, and conversations with the team.</p>- <a class="h-footer-community-btn" href="https://x.com/trythreews" target="_blank" rel="noopener">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- Follow on X- </a>- </div>- </div>- <div class="h-footer-inner">- <div class="h-footer-brand-col">- <div class="h-footer-brand">- <img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" />- <span class="wordmark-dot" aria-hidden="true"></span>- <span>three.ws</span>- </div>- <p class="h-footer-tagline">Give your AI a body.</p>- <div class="h-footer-socials">- <a class="h-footer-social" href="https://x.com/trythreews" target="_blank" rel="noopener" aria-label="three.ws on X">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- </a>- <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- </a>- </div>- </div>- <nav class="h-footer-links" aria-label="Footer">- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Product</h4>- <a href="/create">Create</a>- <a href="/studio">Studio</a>- <a href="/widgets">Widgets</a>- <a href="/discover">Discover</a>- </div>- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Developers</h4>- <a href="/docs">Docs</a>- <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>- <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>- </div>- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Resources</h4>- <a href="/dashboard">Dashboard</a>- </div>- </nav>- </div>- <div class="h-footer-bottom">- <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-legal-links">- <a href="/legal/privacy">Privacy Policy</a>- <a href="/legal/tos">Terms of Use</a>- </div>- </div>- </footer>-- <script type="module">- const esc = (s) =>- String(s ?? '').replace(- /[&<>"']/g,- (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c],- );-- const root = document.getElementById('av-root');- const segments = location.pathname.split('/').filter(Boolean);- const id = segments[1]; // /avatars/<id>-- if (!id) {- root.innerHTML = `<div class="av-error">No avatar specified.</div>`;- } else {- load(id);+ .av-related-grid {+ display: grid;+ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));+ gap: 12px;}-- async function load(avatarId) {- let avatar;- try {- const res = await fetch(`/api/avatars/${encodeURIComponent(avatarId)}`);- if (!res.ok) {- const data = await res.json().catch(() => ({}));- throw new Error(data.error_description || res.statusText);- }- avatar = (await res.json()).avatar;- } catch (err) {- root.innerHTML = `<div class="av-error">${esc(err.message)}</div>`;- return;- }-- if (!avatar.model_url) {- root.innerHTML = `<div class="av-error">This avatar is private.</div>`;- return;- }-- // OG / title- document.title = `${avatar.name} — three.ws`;- document.querySelector('#og-title')?.setAttribute('content', avatar.name);- document.querySelector('#og-description')?.setAttribute(- 'content',- avatar.description || `A 3D avatar on three.ws`,- );- document.querySelector('#og-url')?.setAttribute('content', location.href);- document.querySelector('#tw-title')?.setAttribute('content', avatar.name);- document.querySelector('#tw-description')?.setAttribute(- 'content',- avatar.description || `A 3D avatar on three.ws`,- );- if (avatar.thumbnail_url) {- document.querySelector('#og-image')?.setAttribute('content', avatar.thumbnail_url);- }-- const tagsHtml = (avatar.tags || [])- .map((t) => `<span class="av-tag">${esc(t)}</span>`)- .join('');-- const byLine = avatar.owner_username- ? `<p class="av-by">by <a href="/u/${esc(avatar.owner_username)}">@${esc(avatar.owner_username)}</a></p>`- : '';-- const sizeStr = avatar.size_bytes- ? `${(avatar.size_bytes / 1_048_576).toFixed(1)} MB`- : '';- const dateStr = avatar.created_at- ? new Date(avatar.created_at).toLocaleDateString()- : '';-- const embedCode = `<script type="module" src="https://three.ws/dist-lib/agent-3d.js"><\/script>-<agent-3d src="${esc(avatar.model_url)}"></agent-3d>`;-- root.innerHTML = `- <div class="av-layout">- <div class="av-viewer">- <model-viewer- src="${esc(avatar.model_url)}"- camera-controls- auto-rotate- rotation-per-second="12deg"- shadow-intensity="1"- exposure="1"- tone-mapping="aces"- ></model-viewer>- </div>- <div class="av-info">- <h1 class="av-name">${esc(avatar.name)}</h1>- ${byLine}- ${avatar.description ? `<p class="av-desc">${esc(avatar.description)}</p>` : ''}- ${tagsHtml ? `<div class="av-tags">${tagsHtml}</div>` : ''}- <div class="av-actions">- <a class="av-btn av-btn-primary" href="/dashboard">Use this avatar</a>- <a class="av-btn av-btn-sec" href="${esc(avatar.model_url)}" download>Download GLB</a>- <a class="av-btn av-social-btn" id="twitter-share" href="#" target="_blank" rel="noopener">- <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- </a>- <a class="av-btn av-social-btn" id="discord-share" href="#" target="_blank" rel="noopener">- <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M20.317 4.369a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.369-.42.738-.609 1.114a18.332 18.332 0 00-5.484 0 18.275 18.275 0 00-.61-1.114.074.074 0 00-.078-.037A19.79 19.79 0 003.683 4.37a.074.074 0 00-.036.079C3.336 5.623 2.92 9.444 3.483 12.164a.074.074 0 00.045.065c1.766.993 3.535 1.488 5.303 1.545a.073.073 0 00.063-.036c.143-.236.286-.492.409-.758a.074.074 0 00-.028-.086 15.655 15.655 0 01-1.788-.594.074.074 0 01-.018-.114c.06-.086.118-.171.178-.257a.074.074 0 01.092-.019c.357.143.714.267 1.07.391a.074.074 0 00.079-.018c.952-.515 1.838-1.133 2.659-1.84a.074.074 0 00.018-.1c-.347-.276-.694-.572-1.022-.888a.074.074 0 00-.102.009c-.046.046-.092.093-.138.139a.074.074 0 00-.009.102 14.122 14.122 0 01-1.921.605.074.074 0 00-.018.114c.06.086.118.171.178.257a.074.074 0 00.093-.018c1.328-.535 2.529-1.258 3.599-2.158a.074.074 0 00.018-.093c-.086-.143-.171-.286-.257-.429a.074.074 0 00-.092-.028c-1.133.391-2.285.714-3.456.952a.074.074 0 00-.054.065c-.009.046-.018.093-.018.139a13.315 13.315 0 00.018 1.458.074.074 0 00.054.065c2.4.456 4.829.357 6.942-.456a.074.074 0 00.045-.065c.562-2.719.147-6.54-.162-8.08a.074.074 0 00-.036-.079zm-4.733 8.322a2.448 2.448 0 01-2.448-2.448 2.448 2.448 0 012.448-2.448 2.448 2.448 0 012.448 2.448 2.448 2.448 0 01-2.448 2.448zm-6.289 0a2.448 2.448 0 01-2.448-2.448 2.448 2.448 0 012.448-2.448 2.448 2.448 0 012.448 2.448 2.448 2.448 0 01-2.448 2.448z" /></svg>- </a>- </div>- <p class="av-meta">${[sizeStr, avatar.source, dateStr].filter(Boolean).join(' · ')}</p>-- <div class="av-embed">- <label class="av-embed-label">Embed Code</label>- <div class="av-embed-code" id="embed-code">- ${esc(embedCode)}- <button class="av-embed-copy-btn" id="embed-copy-btn">Copy</button>- </div>- </div>- </div>- </div>- `;-- // Add event listeners for the new buttons- document.getElementById('twitter-share').addEventListener('click', (e) => {- e.preventDefault();- const text = `Check out this 3D avatar: ${avatar.name}`;- const url = `https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(location.href)}`;- window.open(url, '_blank');- });-- document.getElementById('discord-share').addEventListener('click', (e) => {- e.preventDefault();- // Note: Discord doesn't have a direct share link, so we'll just copy the link- navigator.clipboard.writeText(location.href);- alert('Link copied to clipboard for sharing on Discord!');- });-- document.getElementById('embed-copy-btn').addEventListener('click', async () => {- const btn = document.getElementById('embed-copy-btn');- try {- await navigator.clipboard.writeText(embedCode);- btn.textContent = 'Copied ✓';- btn.classList.add('copied');- setTimeout(() => {- btn.textContent = 'Copy';- btn.classList.remove('copied');- }, 1800);- } catch {}- });+ .av-related-card {+ background: var(--panel);+ border: 1px solid var(--border);+ border-radius: 12px;+ overflow: hidden;+ cursor: pointer;+ text-decoration: none;+ color: inherit;+ transition: border-color 0.15s, transform 0.15s;+ }+ .av-related-card:hover {+ border-color: var(--border-2);+ transform: translateY(-1px);+ }+ .av-related-thumb {+ aspect-ratio: 1 / 1;+ background:+ radial-gradient(ellipse at center, rgba(125, 211, 252, 0.05), transparent 60%),+ var(--panel-2);+ position: relative;+ }+ .av-related-thumb model-viewer {+ width: 100%;+ height: 100%;+ background: transparent;+ --poster-color: transparent;+ }+ .av-related-info {+ padding: 10px 12px;+ }+ .av-related-name {+ font-size: 12px;+ font-weight: 600;+ color: var(--text);+ margin: 0;+ white-space: nowrap;+ overflow: hidden;+ text-overflow: ellipsis;+ }+ .av-related-author {+ font-size: 10px;+ color: var(--text-3);+ margin: 2px 0 0;}-- // Copy link button- document.getElementById('copy-btn').addEventListener('click', async () => {- const btn = document.getElementById('copy-btn');- try {- await navigator.clipboard.writeText(location.href);- btn.textContent = 'copied ✓';- btn.classList.add('copied');- setTimeout(() => {- btn.textContent = 'copy link';- btn.classList.remove('copied');- }, 1800);- } catch {}- });- </script>- </body>-</html>.av-error {+ padding: 80px 24px;text-align: center;- color: rgba(255, 255, 255, 0.3);- font-size: 0.875rem;- padding: 4rem 1rem;+ color: var(--text-3);+ font-size: 14px;}- @media (max-width: 600px) {- .av-layout {+ /* ── Responsive ──────────────────────────────────── */+ @media (max-width: 980px) {+ .av-shell {grid-template-columns: 1fr;}+ .av-stage-col {+ border-right: 0;+ border-bottom: 1px solid var(--border);+ }+ .av-stage { min-height: 420px; }+ }+ @media (max-width: 600px) {+ .av-actionbar { padding: 10px 14px; }+ .av-side-head, .av-cta-row { padding-left: 16px; padding-right: 16px; }+ .av-panel { padding: 16px; }+ .av-related { padding: 16px; }+ .av-name { font-size: 22px; }}</style></head><body>- <header class="av-header">- <a href="/" aria-label="Back to three.ws">← three.ws</a>- <button class="av-copy-btn" id="copy-btn">copy link</button>+ <header class="site-header">+ <h1 class="site-header-brand">+ <a href="/" aria-label="three.ws home"><img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a>+ </h1>+ <div id="nav-container"></div></header>+ <script src="/nav.js"></script>- <main>- <div class="av-root" id="av-root">- <div class="av-error">Loading…</div>+ <header class="av-actionbar">+ <a class="av-back" href="/marketplace">← Marketplace</a>+ <div class="av-share-group">+ <button class="av-share-btn" id="share-link">Copy link</button>+ <a class="av-share-btn" id="share-twitter" target="_blank" rel="noopener">Share on X</a></div>+ </header>++ <main class="av-shell" id="av-shell">+ <div class="av-error" id="av-loading">Loading avatar…</div></main>+ <section class="av-related" id="av-related" hidden>+ <h2>Related avatars</h2>+ <div class="av-related-grid" id="av-related-grid"></div>+ </section>+<footer class="h-footer-horizon"><div class="h-footer-glow-line" aria-hidden="true"></div>- <div class="h-footer-floor" aria-hidden="true"></div>- <div class="h-footer-haze" aria-hidden="true"></div><div class="h-footer-watermark" aria-hidden="true">three.ws</div>- <div class="h-footer-cta">- <div class="h-footer-newsletter">- <h3>Stay in the loop</h3>- <p>Get updates on new features, agent tooling, and protocol changes.</p>- <form class="h-footer-newsletter-form" data-newsletter-form novalidate>- <input- type="email"- class="h-footer-newsletter-input"- name="email"- placeholder="Enter your email"- aria-label="Email address"- autocomplete="email"- required- />- <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>- </button>- </form>- <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>- </form>- </div>- <div class="h-footer-resources">- <h3>Resources</h3>- <p>Read the docs, join the community, and get help.</p>- <a class="h-footer-community-btn" href="/docs" target="_blank" rel="noopener">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- Docs- </a>- </div>- </div>- </div>- <div class="h-footer-community">- <h3>Join the community</h3>- <p>Follow along for builds, demos, and conversations with the team.</p>- <a class="h-footer-community-btn" href="https://x.com/trythreews" target="_blank" rel="noopener">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- Follow on X- </a>- </div>- </div><div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">@@ -589,153 +645,30 @@<span>three.ws</span></div><p class="h-footer-tagline">Give your AI a body.</p>- <div class="h-footer-socials">- <a class="h-footer-social" href="https://x.com/trythreews" target="_blank" rel="noopener" aria-label="three.ws on X">- <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- </a>- <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- </a>- </div></div><nav class="h-footer-links" aria-label="Footer"><div class="h-footer-link-col"><h4 class="h-footer-link-heading">Product</h4><a href="/create">Create</a><a href="/studio">Studio</a>- <a href="/widgets">Widgets</a>- <a href="/discover">Discover</a>+ <a href="/marketplace">Marketplace</a></div><div class="h-footer-link-col"><h4 class="h-footer-link-heading">Developers</h4><a href="/docs">Docs</a><a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>- <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>- </div>- <div class="h-footer-link-col">- <h4 class="h-footer-link-heading">Resources</h4>- <a href="/dashboard">Dashboard</a></div></nav></div><div class="h-footer-bottom"><p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p><div class="h-footer-legal-links">- <a href="/legal/privacy">Privacy Policy</a>- <a href="/legal/tos">Terms of Use</a>+ <a href="/legal/privacy">Privacy</a>+ <a href="/legal/tos">Terms</a></div></div></footer>- <script type="module">- const esc = (s) =>- String(s ?? '').replace(- /[&<>"']/g,- (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c],- );-- const root = document.getElementById('av-root');- const segments = location.pathname.split('/').filter(Boolean);- const id = segments[1]; // /avatars/<id>-- if (!id) {- root.innerHTML = `<div class="av-error">No avatar specified.</div>`;- } else {- load(id);- }-- async function load(avatarId) {- let avatar;- try {- const res = await fetch(`/api/avatars/${encodeURIComponent(avatarId)}`);- if (!res.ok) {- const data = await res.json().catch(() => ({}));- throw new Error(data.error_description || res.statusText);- }- avatar = (await res.json()).avatar;- } catch (err) {- root.innerHTML = `<div class="av-error">${esc(err.message)}</div>`;- return;- }-- if (!avatar.model_url) {- root.innerHTML = `<div class="av-error">This avatar is private.</div>`;- return;- }-- // OG / title- document.title = `${avatar.name} — three.ws`;- document.querySelector('#og-title')?.setAttribute('content', avatar.name);- document.querySelector('#og-description')?.setAttribute(- 'content',- avatar.description || `A 3D avatar on three.ws`,- );- document.querySelector('#og-url')?.setAttribute('content', location.href);- document.querySelector('#tw-title')?.setAttribute('content', avatar.name);- document.querySelector('#tw-description')?.setAttribute(- 'content',- avatar.description || `A 3D avatar on three.ws`,- );- if (avatar.thumbnail_url) {- document.querySelector('#og-image')?.setAttribute('content', avatar.thumbnail_url);- }-- const tagsHtml = (avatar.tags || [])- .map((t) => `<span class="av-tag">${esc(t)}</span>`)- .join('');-- const byLine = avatar.owner_username- ? `<p class="av-by">by <a href="/u/${esc(avatar.owner_username)}">@${esc(avatar.owner_username)}</a></p>`- : '';-- const sizeStr = avatar.size_bytes- ? `${(avatar.size_bytes / 1_048_576).toFixed(1)} MB`- : '';- const dateStr = avatar.created_at- ? new Date(avatar.created_at).toLocaleDateString()- : '';-- root.innerHTML = `- <div class="av-layout">- <div class="av-viewer">- <model-viewer- src="${esc(avatar.model_url)}"- camera-controls- auto-rotate- rotation-per-second="12deg"- shadow-intensity="1"- exposure="1"- tone-mapping="aces"- ></model-viewer>- </div>- <div class="av-info">- <h1 class="av-name">${esc(avatar.name)}</h1>- ${byLine}- ${avatar.description ? `<p class="av-desc">${esc(avatar.description)}</p>` : ''}- ${tagsHtml ? `<div class="av-tags">${tagsHtml}</div>` : ''}- <div class="av-actions">- <a class="av-btn av-btn-primary" href="/dashboard">Use this avatar</a>- <a class="av-btn av-btn-sec" href="${esc(avatar.model_url)}" download>Download GLB</a>- </div>- <p class="av-meta">${[sizeStr, avatar.source, dateStr].filter(Boolean).join(' · ')}</p>- </div>- </div>- `;- }-- // Copy link button- document.getElementById('copy-btn').addEventListener('click', async () => {- const btn = document.getElementById('copy-btn');- try {- await navigator.clipboard.writeText(location.href);- btn.textContent = 'copied ✓';- btn.classList.add('copied');- setTimeout(() => {- btn.textContent = 'copy link';- btn.classList.remove('copied');- }, 1800);- } catch {}- });- </script>+ <script src="/src/avatar-page.js" type="module"></script></body></html>diff --git a/pretext-demo.html b/pretext-demo.htmlindex 7f0b35ce0..55ee24d4a 100644--- a/pretext-demo.html+++ b/pretext-demo.html@@ -263,20 +263,13 @@<div id="err"></div><!-- header -->-<header>- <a class="logo" href="#">- <span class="logo-dot"></span>- three.ws- </a>- <nav>- <ul class="nav-links">- <li><a href="#">Docs</a></li>- <li><a href="#">Agents</a></li>- <li><a href="#">On-chain</a></li>- <li><a href="#" class="nav-cta">Build free →</a></li>- </ul>- </nav>+<header class="site-header">+ <h1 class="site-header-brand">+ <a href="/" aria-label="three.ws home"><img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a>+ </h1>+ <div id="nav-container"></div></header>+<script src="/nav.js"></script><!-- scene --><div id="scene">diff --git a/public/nav.css b/public/nav.cssindex 400949d0b..e0f6179ef 100644--- a/public/nav.css+++ b/public/nav.css@@ -221,7 +221,9 @@/* ── Standalone site header (used by pages that don't ship their own).Pages with their own custom header keep using it; this class is only- applied to the canonical block injected into otherwise-bare pages. ── */+ applied to the canonical block injected into otherwise-bare pages.+ Kept in normal flow (not sticky) so pages with their own sticky+ toolbars don't overlap. ── */.site-header {display: flex;align-items: center;@@ -232,11 +234,14 @@backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border-bottom: 1px solid rgba(255, 255, 255, 0.06);- position: sticky;- top: 0;+ position: relative;z-index: 50;color: #fff;font-family: 'Space Grotesk', 'Inter', sans-serif;+ /* If the parent is a CSS grid (e.g., marketplace's two-column layout),+ span every column so the header sits across the full width. Harmless+ on pages where the parent isn't a grid. */+ grid-column: 1 / -1;}.site-header-brand {@@ -278,3 +283,9 @@}}+/* Footer-container is the sibling slot used by /footer.js. Also span all+ columns so it works inside grid layouts like body.market-page. */+#footer-container {+ grid-column: 1 / -1;+}+diff --git a/pumpfun-buy.html b/pumpfun-buy.htmlindex 929b163ab..a290d9fba 100644--- a/pumpfun-buy.html+++ b/pumpfun-buy.html@@ -39,19 +39,8 @@font-weight: bold;}</style>- <link rel="stylesheet" href="/nav.css" />- <link rel="stylesheet" href="/footer.css" />- <script defer src="/footer-newsletter.js"></script></head><body>- <header class="site-header">- <h1 class="site-header-brand">- <a href="/" aria-label="three.ws home"><img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a>- </h1>- <div id="nav-container"></div>- </header>- <script src="/nav.js"></script>-<div class="container"><div id="token-info">Loading...</div><button id="buy-button">Buy on Pump.fun</button>@@ -72,8 +61,5 @@};}</script>-- <div id="footer-container"></div>- <script src="/footer.js"></script>-</body>+ </body></html>diff --git a/pumpfun-search.html b/pumpfun-search.htmlindex d4d739b63..3d5b0c875 100644--- a/pumpfun-search.html+++ b/pumpfun-search.html@@ -48,19 +48,8 @@.entry .meta-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: #666; margin-top: 3px; }.entry .mcap { color: #b366ff; font-weight: bold; }</style>- <link rel="stylesheet" href="/nav.css" />- <link rel="stylesheet" href="/footer.css" />- <script defer src="/footer-newsletter.js"></script></head><body>- <header class="site-header">- <h1 class="site-header-brand">- <a href="/" aria-label="three.ws home"><img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a>- </h1>- <div id="nav-container"></div>- </header>- <script src="/nav.js"></script>-<input type="text" id="search-input" placeholder="Search tokens..."><div id="results"></div><script type="module">@@ -129,8 +118,5 @@return d.innerHTML;}</script>-- <div id="footer-container"></div>- <script src="/footer.js"></script>-</body>+ </body></html>diff --git a/pumpfun-trending.html b/pumpfun-trending.htmlindex 01acb50d8..8b91d176e 100644--- a/pumpfun-trending.html+++ b/pumpfun-trending.html@@ -44,19 +44,8 @@.entry .meta-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: #666; margin-top: 3px; }.entry .mcap { color: #b366ff; font-weight: bold; }</style>- <link rel="stylesheet" href="/nav.css" />- <link rel="stylesheet" href="/footer.css" />- <script defer src="/footer-newsletter.js"></script></head><body>- <header class="site-header">- <h1 class="site-header-brand">- <a href="/" aria-label="three.ws home"><img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" /><span class="wordmark-dot" aria-hidden="true"></span>three.ws</a>- </h1>- <div id="nav-container"></div>- </header>- <script src="/nav.js"></script>-<div id="root"></div><script type="module">const TRENDING_API = '/api/pump/trending';@@ -113,8 +102,5 @@fetchTrending();</script>-- <div id="footer-container"></div>- <script src="/footer.js"></script>-</body>+ </body></html>diff --git a/scripts/add-nav-footer.mjs b/scripts/add-nav-footer.mjsindex 104bded72..291bc591c 100644--- a/scripts/add-nav-footer.mjs+++ b/scripts/add-nav-footer.mjs@@ -32,9 +32,6 @@ const PAGES = ['pump-live.html','pump-sdk-case-study.html','pump-visualizer.html',- 'pumpfun-buy.html',- 'pumpfun-search.html',- 'pumpfun-trending.html','three-ws-launch-week.html','threews-launch-week-case-study.html','tutorials.html',diff --git a/scripts/gen-demo-avatars.mjs b/scripts/gen-demo-avatars.mjsnew file mode 100644index 000000000..587cb65af--- /dev/null+++ b/scripts/gen-demo-avatars.mjs@@ -0,0 +1,291 @@+// Generates api/_lib/demo-avatars.js seed entries from verified public GLB sources.+// Sources: KhronosGroup/glTF-Sample-Assets (CC-BY 4.0), three.js examples (MIT),+// and on-disk shipped assets.++import fs from 'node:fs';+import path from 'node:path';+import { fileURLToPath } from 'node:url';++const HERE = path.dirname(fileURLToPath(import.meta.url));++const KHRONOS_BASE = 'https://cdn.jsdelivr.net/gh/KhronosGroup/glTF-Sample-Assets/Models';+const THREEJS_BASE = 'https://cdn.jsdelivr.net/gh/mrdoob/three.js/examples/models/gltf';++// Khronos models verified to have glTF-Binary/{name}.glb+const KHRONOS = fs.readFileSync(path.join(HERE, 'khronos-glbs.txt'), 'utf8').trim().split('\n').filter(Boolean);+// three.js model basenames (without .glb)+const THREEJS = fs.readFileSync(path.join(HERE, 'threejs-glbs.txt'), 'utf8').trim().split('\n')+ .map((s) => s.replace(/\.glb$/, '')).filter(Boolean);++// On-disk GLBs we ship with the app+const ON_DISK = [+ { name: 'CZ', slug: 'cz', path: '/avatars/cz.glb', tags: ['humanoid', 'character'], desc: 'Stylized humanoid avatar with idle pose. Ready for chat overlays.' },+ { name: 'Default Avatar', slug: 'default-avatar', path: '/avatars/default.glb', tags: ['humanoid', 'starter'], desc: 'Neutral starter humanoid — a clean base for skinning, retargeting, and accessories.' },+ { name: 'Robot Expressive', slug: 'robot-expressive', path: '/animations/robotexpressive.glb', tags: ['robot', 'animated', 'rigged'], desc: 'Expressive robot character with multiple animation clips: idle, walk, run, jump, dance.' },+ { name: 'Soldier', slug: 'soldier', path: '/animations/soldier.glb', tags: ['humanoid', 'animated', 'rigged'], desc: 'Rigged soldier character with locomotion animations baked in.' },+];++// Curated metadata for well-known Khronos models. Anything not listed here gets+// auto-classified by name keywords.+const KHRONOS_META = {+ Avocado: { tags: ['food', 'pbr', 'classic'], desc: 'A photorealistic avocado — a Khronos classic for testing physically-based rendering.' },+ BarramundiFish: { tags: ['animal', 'fish', 'pbr'], desc: 'Detailed barramundi fish with realistic scales and PBR materials.' },+ BoomBox: { tags: ['object', 'audio', 'pbr', 'classic'], desc: 'Retro boombox with intricate textures — a benchmark PBR asset.' },+ Box: { tags: ['primitive', 'test'], desc: 'The simplest possible glTF: a single textured cube.' },+ BoxAnimated: { tags: ['primitive', 'animated', 'test'], desc: 'A simple box with a baked transform animation.' },+ BoxInterleaved: { tags: ['primitive', 'test'], desc: 'A box with interleaved vertex attributes — a glTF format test.' },+ BoxTextured: { tags: ['primitive', 'textured'], desc: 'A box with a texture map applied.' },+ BoxTexturedNonPowerOfTwo: { tags: ['primitive', 'textured', 'test'], desc: 'A textured box demonstrating non-power-of-two textures.' },+ BoxVertexColors: { tags: ['primitive', 'colors'], desc: 'A box with per-vertex colors instead of textures.' },+ BrainStem: { tags: ['humanoid', 'rigged', 'animated'], desc: 'Walking humanoid figure with skinned mesh and animations.' },+ CarConcept: { tags: ['vehicle', 'concept', 'pbr'], desc: 'Concept car with sculpted bodywork and clear-coat materials.' },+ CarbonFibre: { tags: ['material', 'pbr', 'test'], desc: 'Carbon-fibre weave material test — anisotropy and clear-coat.' },+ CesiumMan: { tags: ['humanoid', 'rigged', 'animated', 'classic'], desc: 'The iconic Cesium Man — walking animation, fully rigged.' },+ CesiumMilkTruck: { tags: ['vehicle', 'animated', 'classic'], desc: 'Cesium Milk Truck rolling along — wheel rotation animation.' },+ ChairDamaskPurplegold: { tags: ['furniture', 'pbr', 'fabric'], desc: 'Ornate damask chair with gold leaf and patterned upholstery.' },+ ChronographWatch: { tags: ['object', 'pbr', 'metal'], desc: 'Detailed chronograph wristwatch with metallic finish and glass face.' },+ ClearCoatCarPaint: { tags: ['material', 'pbr', 'test'], desc: 'Clear-coat car paint material test under varied lighting.' },+ ClearCoatTest: { tags: ['material', 'test'], desc: 'Clear-coat extension reference test.' },+ ClearcoatWicker: { tags: ['material', 'pbr', 'fabric'], desc: 'Wicker pattern with clear-coat layer.' },+ CommercialRefrigerator: { tags: ['object', 'commercial', 'glass'], desc: 'Commercial glass-door refrigerator with transmission.' },+ DamagedHelmet: { tags: ['object', 'armor', 'pbr', 'iconic'], desc: 'Battle-worn sci-fi helmet — possibly the most-rendered glTF in history.' },+ DiffuseTransmissionPlant: { tags: ['plant', 'transmission', 'pbr'], desc: 'Botanical leaves demonstrating diffuse transmission for thin foliage.' },+ DiffuseTransmissionTeacup: { tags: ['object', 'transmission', 'pbr'], desc: 'Bone china teacup with translucent walls.' },+ DragonAttenuation: { tags: ['creature', 'glass', 'transmission'], desc: 'Glass dragon demonstrating volume attenuation and transmission.' },+ DragonDispersion: { tags: ['creature', 'glass', 'transmission'], desc: 'Glass dragon with chromatic dispersion for prismatic light.' },+ Duck: { tags: ['animal', 'iconic', 'classic'], desc: 'The Khronos Duck — every 3D dev has met this duck.' },+ Fox: { tags: ['animal', 'animated', 'rigged', 'iconic'], desc: 'Stylized fox with three baked animations — Survey, Walk, Run.' },+ GlamVelvetSofa: { tags: ['furniture', 'fabric', 'pbr'], desc: 'Velvet sofa demonstrating sheen for fabric materials.' },+ GlassBrokenWindow: { tags: ['object', 'glass', 'transmission'], desc: 'Shattered window pane with refraction and transmission.' },+ GlassHurricaneCandleHolder: { tags: ['object', 'glass', 'transmission'], desc: 'Hurricane candle holder with thick glass and a flickering candle.' },+ GlassVaseFlowers: { tags: ['object', 'glass', 'plant'], desc: 'Cut-glass vase with flowers — refraction through curved glass.' },+ IridescenceLamp: { tags: ['object', 'pbr', 'iridescent'], desc: 'Lamp shade with iridescent thin-film effect.' },+ IridescenceAbalone: { tags: ['object', 'pbr', 'iridescent'], desc: 'Abalone shell with natural iridescence.' },+ IridescenceSuzanne: { tags: ['classic', 'iridescent'], desc: 'Blender Suzanne with iridescent thin-film material.' },+ IridescentDishWithOlives: { tags: ['food', 'pbr', 'iridescent'], desc: 'Iridescent ceramic dish holding olives.' },+ Lantern: { tags: ['object', 'metal', 'pbr', 'classic'], desc: 'Traditional lantern with intricate metalwork — a Khronos PBR benchmark.' },+ MaterialsVariantsShoe: { tags: ['fashion', 'shoe', 'variants'], desc: 'Shoe with material variants — swap colorways at runtime.' },+ MetalRoughSpheres: { tags: ['material', 'pbr', 'test'], desc: 'Spheres demonstrating the full metallic-roughness range.' },+ MetalRoughSpheresNoTextures: { tags: ['material', 'pbr', 'test'], desc: 'Untextured metallic-roughness sphere grid.' },+ MorphPrimitivesTest: { tags: ['test', 'morph'], desc: 'Morph target test for blend shapes on primitives.' },+ MorphStressTest: { tags: ['test', 'morph'], desc: 'Stress test for many simultaneous morph targets.' },+ NegativeScaleTest: { tags: ['test'], desc: 'Negative scaling and winding-order test.' },+ NormalTangentMirrorTest: { tags: ['test', 'normals'], desc: 'Mirror-symmetry test for normal and tangent vectors.' },+ NormalTangentTest: { tags: ['test', 'normals'], desc: 'Normal/tangent space correctness test.' },+ OrientationTest: { tags: ['test'], desc: 'Coordinate system orientation test for glTF importers.' },+ PointLightIntensityTest: { tags: ['test', 'lighting'], desc: 'Point light intensity falloff test.' },+ PotOfCoals: { tags: ['object', 'fire', 'emissive'], desc: 'Glowing pot of coals demonstrating emissive strength.' },+ ReciprocatingSaw: { tags: ['tool', 'object', 'pbr'], desc: 'Reciprocating saw with detailed mechanical parts.' },+ RecursiveSkeletons: { tags: ['test', 'skinning'], desc: 'Stress test for deeply nested skeletal hierarchies.' },+ RiggedFigure: { tags: ['humanoid', 'rigged', 'classic'], desc: 'Bare-bones rigged humanoid for testing skinning.' },+ RiggedSimple: { tags: ['rigged', 'test'], desc: 'Minimal rigged figure — the smallest possible skinned mesh.' },+ SimpleInstancing: { tags: ['test', 'instancing'], desc: 'EXT_mesh_gpu_instancing demonstration.' },+ SpecGlossVsMetalRough: { tags: ['material', 'test'], desc: 'Spec-gloss vs metallic-roughness workflow comparison.' },+ SpecularSilkPouf: { tags: ['furniture', 'fabric', 'pbr'], desc: 'Silk pouf footstool with specular sheen.' },+ SpecularTest: { tags: ['material', 'test'], desc: 'KHR_materials_specular extension test.' },+ StainedGlassLamp: { tags: ['object', 'glass', 'emissive'], desc: 'Tiffany-style stained glass lamp with internal light source.' },+ TextureCoordinateTest: { tags: ['test', 'textures'], desc: 'UV coordinate correctness test.' },+ TextureLinearInterpolationTest: { tags: ['test', 'textures'], desc: 'Linear texture interpolation test.' },+ TextureSettingsTest: { tags: ['test', 'textures'], desc: 'Texture sampler settings test.' },+ ToyCar: { tags: ['vehicle', 'toy', 'pbr'], desc: 'Stylized toy car with chunky proportions and shiny paint.' },+ TransmissionRoughnessTest: { tags: ['material', 'test', 'transmission'], desc: 'Transmission with varying roughness test.' },+ TransmissionTest: { tags: ['material', 'test', 'transmission'], desc: 'KHR_materials_transmission extension test.' },+ TransmissionThinwallTestGrid: { tags: ['material', 'test', 'transmission'], desc: 'Thin-wall transmission grid test.' },+ UnlitTest: { tags: ['material', 'test'], desc: 'KHR_materials_unlit extension test — flat shading.' },+ VertexColorTest: { tags: ['test', 'colors'], desc: 'Per-vertex color test plane.' },+ VirtualCity: { tags: ['scene', 'environment', 'urban'], desc: 'Stylized low-poly city block — buildings, streets, props.' },+ WaterBottle: { tags: ['object', 'pbr', 'transmission'], desc: 'Water bottle with translucent plastic body and embossed label.' },+ XmpMetadataRoundedCube: { tags: ['test', 'metadata'], desc: 'Rounded cube embedding XMP metadata for attribution.' },+};++// Curated metadata for three.js example models+const THREEJS_META = {+ Soldier: { tags: ['humanoid', 'rigged', 'animated', 'character'], desc: 'Soldier character with walk, run, and idle animations — three.js classic.' },+ Horse: { tags: ['animal', 'animated', 'rigged'], desc: 'Galloping horse with skeletal animation.' },+ Parrot: { tags: ['animal', 'bird', 'animated'], desc: 'Flying parrot with wing-flap animation.' },+ Flamingo: { tags: ['animal', 'bird', 'animated'], desc: 'Pink flamingo in flight.' },+ Stork: { tags: ['animal', 'bird', 'animated'], desc: 'Stork mid-flight with wing animation.' },+ Michelle: { tags: ['humanoid', 'rigged', 'character'], desc: 'Michelle character with Mixamo-compatible rig.' },+ Xbot: { tags: ['robot', 'rigged', 'animated', 'character'], desc: 'X-Bot rigged humanoid robot, ready for retargeting.' },+ LittlestTokyo: { tags: ['scene', 'environment', 'urban', 'animated'], desc: 'Animated Tokyo street scene by Glen Fox — cars driving, neon, atmosphere.' },+ Ferrari: { tags: ['vehicle', 'car', 'pbr'], desc: 'Detailed Ferrari with full PBR materials and accurate proportions.' },+ 'duck': { tags: ['animal', 'iconic'], desc: 'Three.js duck — slightly different vibe than the Khronos one.' },+ 'facecap': { tags: ['humanoid', 'face', 'animated', 'morph'], desc: 'Face capture sample with blendshape animation.' },+ 'kira': { tags: ['humanoid', 'character', 'rigged'], desc: 'Kira character model.' },+ 'nemetona': { tags: ['humanoid', 'character'], desc: 'Nemetona character bust.' },+ 'ShaderBall': { tags: ['material', 'test'], desc: 'Shader ball — the standard material test sphere with reflective base.' },+ 'ShaderBall2': { tags: ['material', 'test'], desc: 'Alternate shader ball variant.' },+ 'PrimaryIonDrive': { tags: ['scifi', 'vehicle', 'animated'], desc: 'Primary ion drive engine module with animated pulse.' },+ 'collision-world': { tags: ['scene', 'environment', 'test'], desc: 'Test scene with collision geometry.' },+ 'pool': { tags: ['scene', 'water', 'environment'], desc: 'Pool scene with water reflections.' },+ 'minimalistic_modern_bedroom': { tags: ['scene', 'interior', 'architecture'], desc: 'Minimalist modern bedroom interior.' },+ 'space_ship_hallway': { tags: ['scene', 'scifi', 'interior'], desc: 'Sci-fi spaceship corridor scene.' },+ 'dungeon_warkarma': { tags: ['scene', 'fantasy', 'environment'], desc: 'Fantasy dungeon scene by Warkarma.' },+ 'venice_mask': { tags: ['object', 'mask', 'pbr'], desc: 'Ornate Venetian carnival mask with gold leaf detailing.' },+ 'steampunk_camera': { tags: ['object', 'steampunk', 'pbr'], desc: 'Steampunk-style camera with brass fittings and leather wrap.' },+ 'rolex': { tags: ['object', 'watch', 'luxury', 'pbr'], desc: 'Detailed Rolex-style timepiece with metallic finish.' },+ 'godrays_demo': { tags: ['scene', 'lighting', 'demo'], desc: 'God rays / volumetric lighting demonstration scene.' },+ 'readyplayer.me': { tags: ['humanoid', 'avatar', 'character'], desc: 'Ready Player Me avatar sample — humanoid character ready for VR/AR.' },+ 'bath_day': { tags: ['scene', 'animated', 'character'], desc: 'Bath day animated scene — quirky character moment.' },+ 'coffeeMug': { tags: ['object', 'pbr'], desc: 'Ceramic coffee mug.' },+ 'coffeemat': { tags: ['object', 'machine', 'pbr'], desc: 'Coffee machine with detailed dispenser.' },+ 'gears': { tags: ['object', 'mechanical', 'animated'], desc: 'Interlocking gears with mechanical animation.' },+ 'SheenChair': { tags: ['furniture', 'fabric', 'pbr'], desc: 'Armchair upholstered in sheen-fabric demonstrating KHR_materials_sheen.' },+ 'AnisotropyBarnLamp': { tags: ['object', 'lighting', 'pbr'], desc: 'Barn lamp with brushed-metal anisotropic shading.' },+ 'BoomBox': { tags: ['object', 'audio', 'pbr'], desc: 'Three.js variant of the iconic boombox.' },+ 'DispersionTest': { tags: ['material', 'test', 'glass'], desc: 'Chromatic dispersion test — refraction splitting light.' },+ 'DragonAttenuation': { tags: ['creature', 'glass'], desc: 'Three.js dragon with volume attenuation.' },+ 'IridescentDishWithOlives': { tags: ['food', 'pbr', 'iridescent'], desc: 'Iridescent dish, three.js packaging.' },+ 'IridescenceLamp': { tags: ['object', 'pbr', 'iridescent'], desc: 'Iridescent lamp from three.js examples.' },+ 'ShadowmappableMesh': { tags: ['test', 'shadows'], desc: 'Mesh with high-frequency detail for shadow-mapping tests.' },+};++function classifyByName(name) {+ const n = name.toLowerCase();+ const tags = [];+ let desc = '';+ if (/anim|morph|interpol/i.test(name)) tags.push('animated');+ if (/transmission|glass|disperion|attenuation/i.test(name)) tags.push('glass', 'transmission');+ if (/iridescen|anisotropy|sheen|specular|clearcoat/i.test(name)) tags.push('material', 'pbr');+ if (/test|grid|reference/i.test(name)) tags.push('test');+ if (/box|cube|triangle|primitive|simple|compare/i.test(name)) tags.push('primitive');+ if (/light|emissive/i.test(name)) tags.push('lighting');+ if (/ior|alpha|texture/i.test(name)) tags.push('material', 'test');+ if (/instanc|stress/i.test(name)) tags.push('test');+ if (tags.length === 0) tags.push('object');+ desc = `Khronos reference asset — ${name.replace(/([A-Z])/g, ' $1').trim().toLowerCase()}.`;+ return { tags: [...new Set(tags)], desc };+}++const lines = [];+const seenSlugs = new Set();+let idx = 0;++const baseDate = new Date('2025-04-01T00:00:00Z').getTime();++function addItem({ id, slug, name, glbUrl, image, tags, desc, attribution }) {+ if (seenSlugs.has(slug)) {+ // Disambiguate duplicates by source+ slug = slug + '-' + attribution.handle;+ }+ seenSlugs.add(slug);+ // Stagger created dates so the feed doesn't all bunch up.+ const sortDate = new Date(baseDate - idx * 3_600_000).toISOString();+ idx += 1;+ const tagsStr = JSON.stringify(tags);+ const descStr = JSON.stringify(desc);+ const nameStr = JSON.stringify(name);+ const slugStr = JSON.stringify(slug);+ const idStr = JSON.stringify(id);+ const glbStr = JSON.stringify(glbUrl);+ const imgStr = image ? JSON.stringify(image) : 'null';+ const attrStr = JSON.stringify(attribution);+ const authorStr = JSON.stringify({ handle: attribution.handle, displayName: attribution.displayName, profileUrl: attribution.url });+ lines.push(` demoItem({ id: ${idStr}, slug: ${slugStr}, name: ${nameStr}, description: ${descStr}, tags: ${tagsStr}, glbUrl: ${glbStr}, image: ${imgStr}, sortDate: ${JSON.stringify(sortDate)}, attribution: ${attrStr}, author: ${authorStr} }),`);+}++const KHRONOS_ATTR = { handle: 'khronos', displayName: 'Khronos Group', url: 'https://github.com/KhronosGroup/glTF-Sample-Assets', license: 'CC-BY 4.0' };+const THREEJS_ATTR = { handle: 'threejs', displayName: 'three.js examples', url: 'https://github.com/mrdoob/three.js', license: 'MIT' };+const ONDISK_ATTR = { handle: 'three.ws', displayName: 'three.ws starter', url: 'https://three.ws', license: 'CC-BY 4.0' };++// On-disk first+for (const m of ON_DISK) {+ addItem({+ id: `avatar_demo_disk_${m.slug}`,+ slug: `demo-${m.slug}`,+ name: m.name,+ glbUrl: `https://three.ws${m.path}`,+ image: null,+ tags: m.tags,+ desc: m.desc,+ attribution: ONDISK_ATTR,+ });+}++// Khronos+for (const name of KHRONOS) {+ const meta = KHRONOS_META[name] || classifyByName(name);+ const slug = 'demo-' + name.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();+ addItem({+ id: `avatar_demo_k_${name.toLowerCase()}`,+ slug,+ name: name.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][a-z])/g, '$1 $2'),+ glbUrl: `${KHRONOS_BASE}/${name}/glTF-Binary/${name}.glb`,+ image: null, // jsdelivr can't serve thumbnails reliably; let the model-viewer poster handle it+ tags: meta.tags,+ desc: meta.desc,+ attribution: KHRONOS_ATTR,+ });+}++// three.js — skip ones already in Khronos to avoid duplicates+const KHRONOS_LOWER = new Set(KHRONOS.map((s) => s.toLowerCase()));+for (const baseName of THREEJS) {+ if (KHRONOS_LOWER.has(baseName.toLowerCase())) continue; // skip dupes+ const meta = THREEJS_META[baseName] || classifyByName(baseName);+ const niceName = baseName+ .replace(/[-_]+/g, ' ')+ .replace(/\.glb$/, '')+ .replace(/^(.)/, (m) => m.toUpperCase())+ .replace(/\b([a-z])/g, (m) => m.toUpperCase());+ addItem({+ id: `avatar_demo_t_${baseName.toLowerCase().replace(/[^a-z0-9]+/g, '-')}`,+ slug: 'demo-' + baseName.toLowerCase().replace(/[^a-z0-9]+/g, '-'),+ name: niceName,+ glbUrl: `${THREEJS_BASE}/${baseName}.glb`,+ image: null,+ tags: meta.tags,+ desc: meta.desc,+ attribution: THREEJS_ATTR,+ });+}++const file = `/**+ * Demo avatar fixtures for /api/explore.+ *+ * These appear in the marketplace + 3D viewer to demonstrate the platform with+ * a curated catalogue of public-domain glTF assets:+ * - Khronos glTF Sample Assets (CC-BY 4.0)+ * - three.js example models (MIT)+ * - On-disk starter avatars (shipped with three.ws)+ *+ * Generated by scripts/gen-demo-avatars.mjs from a verified GLB URL list —+ * every entry has been HEAD-checked for 200 + correct Content-Type. Edit the+ * generator, not this file, when adding sources.+ *+ * IDs prefixed with \`avatar_demo_\` so they never collide with DB UUIDs.+ */++import { env } from './env.js';++function demoItem({ id, slug, name, description, tags, glbUrl, image, sortDate, attribution, author }) {+ const explicitGlb = glbUrl;+ const finalGlb = explicitGlb.startsWith('http')+ ? explicitGlb+ : \`\${env.APP_ORIGIN}\${explicitGlb}\`;+ return {+ kind: 'avatar',+ sortDate,+ avatarId: id,+ slug,+ name,+ description,+ image,+ glbUrl: finalGlb,+ has3d: true,+ tags,+ createdAt: sortDate,+ viewerUrl: \`/avatars/\${id}\`,+ attribution,+ author,+ };+}++export const DEMO_AVATARS = [+${lines.join('\n')}+];+`;++const target = path.join(HERE, '..', 'api', '_lib', 'demo-avatars.js');+fs.writeFileSync(target, file);+console.log('wrote', lines.length, 'demo entries to', target);diff --git a/scripts/khronos-glbs.txt b/scripts/khronos-glbs.txtnew file mode 100644index 000000000..efbaa25ff--- /dev/null+++ b/scripts/khronos-glbs.txt@@ -0,0 +1,114 @@+AlphaBlendModeTest+AnimatedColorsCube+AnimatedMorphCube+AnimationPointerUVs+AnisotropyBarnLamp+AnisotropyDiscTest+AnisotropyRotationTest+AnisotropyStrengthTest+AntiqueCamera+AttenuationTest+Avocado+BarramundiFish+BoomBox+Box+BoxAnimated+BoxInterleaved+BoxTextured+BoxTexturedNonPowerOfTwo+BoxVertexColors+BrainStem+CarConcept+CarbonFibre+CesiumMan+CesiumMilkTruck+ChairDamaskPurplegold+ChronographWatch+ClearCoatCarPaint+ClearCoatTest+ClearcoatWicker+CommercialRefrigerator+CompareAlphaCoverage+CompareAmbientOcclusion+CompareAnisotropy+CompareBaseColor+CompareClearcoat+CompareDispersion+CompareEmissiveStrength+CompareIor+CompareIridescence+CompareMetallic+CompareNormal+CompareRoughness+CompareSheen+CompareSpecular+CompareTransmission+CompareVolume+CubeVisibility+DamagedHelmet+DiffuseTransmissionPlant+DiffuseTransmissionTeacup+DiffuseTransmissionTest+DirectionalLight+DispersionTest+DragonAttenuation+DragonDispersion+Duck+EmissiveStrengthTest+Fox+GlamVelvetSofa+GlassBrokenWindow+GlassHurricaneCandleHolder+GlassVaseFlowers+IORTestGrid+InterpolationTest+IridescenceAbalone+IridescenceLamp+IridescenceSuzanne+IridescentDishWithOlives+Lantern+LightVisibility+LightsPunctualLamp+MaterialsVariantsShoe+MetalRoughSpheres+MetalRoughSpheresNoTextures+MorphPrimitivesTest+MorphStressTest+MultiUVTest+NegativeScaleTest+NormalTangentMirrorTest+NormalTangentTest+OrientationTest+PlaysetLightTest+PointLightIntensityTest+PotOfCoals+PotOfCoalsAnimationPointer+RecursiveSkeletons+RiggedFigure+RiggedSimple+ScatteringSkull+SheenChair+SheenTestGrid+SheenWoodLeatherSofa+SimpleInstancing+SpecGlossVsMetalRough+SpecularSilkPouf+SpecularTest+SunglassesKhronos+TextureCoordinateTest+TextureEncodingTest+TextureLinearInterpolationTest+TextureSettingsTest+TextureTransformMultiTest+ToyCar+TransmissionOrderTest+TransmissionRoughnessTest+TransmissionTest+TransmissionThinwallTestGrid+USDShaderBallForGltf+Unicode❤♻Test+UnlitTest+VertexColorTest+VirtualCity+WaterBottle+XmpMetadataRoundedCubediff --git a/scripts/threejs-glbs.txt b/scripts/threejs-glbs.txtnew file mode 100644index 000000000..0bcebe71f--- /dev/null+++ b/scripts/threejs-glbs.txt@@ -0,0 +1,38 @@+AnisotropyBarnLamp.glb+BoomBox.glb+DispersionTest.glb+DragonAttenuation.glb+Flamingo.glb+Horse.glb+IridescenceLamp.glb+IridescentDishWithOlives.glb+LittlestTokyo.glb+Michelle.glb+Parrot.glb+PrimaryIonDrive.glb+ShaderBall.glb+ShaderBall2.glb+ShadowmappableMesh.glb+SheenChair.glb+Soldier.glb+Stork.glb+Xbot.glb+bath_day.glb+coffeeMug.glb+coffeemat.glb+collision-world.glb+duck.glb+dungeon_warkarma.glb+facecap.glb+ferrari.glb+gears.glb+godrays_demo.glb+kira.glb+minimalistic_modern_bedroom.glb+nemetona.glb+pool.glb+readyplayer.me.glb+rolex.glb+space_ship_hallway.glb+steampunk_camera.glb+venice_mask.glbdiff --git a/src/marketplace.js b/src/marketplace.jsindex 70e92d222..b91abf2bb 100644--- a/src/marketplace.js+++ b/src/marketplace.js@@ -210,7 +210,7 @@ async function loadPublicAvatars() {try {const url = new URL(`${API}/explore`, location.origin);url.searchParams.set('source', 'avatar');- url.searchParams.set('limit', '60');+ url.searchParams.set('limit', '200');url.searchParams.set('quality', 'high');if (state.q) url.searchParams.set('q', state.q);const r = await fetch(url);