
A peach-coloured robot head with rounded edges, black headphones whose ear cups glow with an orange ring, and an antenna with a ball on top. It hovers while the antenna sways like a spring; click it and it jumps and spins.
What’s inside
- Mesh
- 73,999 vertices, 141,132 triangles
- Animation
fluttua, 4 seconds, looping. It rises and sinks, breathes, turns a little and blinks; the antenna sways like a spring, a beat after the head. It loops seamlessly.- Animation
lavora, 2 seconds, looping. Working: it hops on the spot and turns this way and that, with the antenna buzzing. It loops seamlessly.- Animation
dorme, 6 seconds, looping. Sleeping: lower and tilted, eyes closed, the antenna drooping. It loops seamlessly.- Animation
salto, 1.2 seconds, looping. It winds up, jumps with a full spin and lands with a squash; the antenna bends and springs back.- Parts
saltothe node that rises in the jumpcorposquashes and stretches, pivoting at the basepellethe surfaceocchithe two eyes (occhio_sinistro, occhio_destro)cuffiethe headphones: the band and the two ear cups (padiglione_sinistro, padiglione_destro)antennathe antenna, pivoting at its base, and the ball
- Materials
- Robot (light peach at the top, orange at the bottom, satin), Cuffie (glossy black), Luce (the orange ring on the ear cups, self-lit), Antenna (light orange), Pallina (bright orange, glossy), Occhi (glossy black)
- Weight
- 0.4 MB
How to use it
Load the GLB and loop “fluttua”; when it is clicked, play “salto” once and then go back to “fluttua”. Every part is a named node: “salto” rises, “corpo” squashes, “occhi” blink.
import * as THREE from 'three';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';
import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';
// the model: meshopt-compressed, it needs its decoder
const loader = new GLTFLoader().setMeshoptDecoder(MeshoptDecoder);
const gltf = await loader.loadAsync('agente-robot.glb');
scene.add(gltf.scene);
// the "fluttua" animation: 4 seconds, looping
const mixer = new THREE.AnimationMixer(gltf.scene);
mixer.clipAction(gltf.animations[0]).play();
// the light: a white studio, and white stays white
renderer.toneMapping = THREE.NoToneMapping;
scene.environment = new THREE.PMREMGenerator(renderer)
.fromScene(new RoomEnvironment(), 0.04).texture;
const clock = new THREE.Clock();
renderer.setAnimationLoop(() => {
mixer.update(clock.getDelta());
renderer.render(scene, camera);
});How it’s made
From the drawing
The head is a box with very rounded edges; the band is a tube passing over the head, the ear cups are a cylinder with a doughnut rim, a domed cushion and a ring that lights up. The antenna is a stem with a collar and a ball.
A springy jump
The jump follows cartoon rules: it squashes to wind up, takes off stretched, spins a full turn in the air, lands squashed and settles with a little bounce. The detached parts follow a beat later, and the eyes open wide in the air and squeeze shut on landing.
Colours in the vertices
No textures: each agent’s gradient is baked into the vertex colours, under a glossy clear coat. The GLB stays light and looks the same in Three.js, in Blender and in any program that reads glTF.