
A glossy blue drop, soft as jelly, with two black eyes and two droplets floating around it. It hovers, breathing and blinking; click it and it jumps, spins in the air and lands with a squash.
What’s inside
- Mesh
- 81,109 vertices, 159,360 triangles
- Animation
fluttua, 4 seconds, looping. It gently rises and sinks, breathes with a slight squash, turns a little left and right and blinks; the droplets bob out of step. It loops seamlessly.- Animation
lavora, 2 seconds, looping. Working: it hops on the spot twice a second, squashing at each touchdown, and turns this way and that like someone busy. It loops seamlessly.- Animation
dorme, 6 seconds, looping. Sleeping: a little lower and tilted, eyes closed, breathing slowly; the small parts drift closer and slow down. It loops seamlessly.- Animation
salto, 1.2 seconds, looping. It winds up, jumps with a full spin and lands with a squash; the droplets follow a beat later.- Parts
saltothe node that rises in the jumpcorposquashes and stretches, pivoting at the basepellethe surfaceocchithe two eyes (occhio_sinistro, occhio_destro)goccia_alta, goccia_bassathe two detached droplets
- Materials
- Goccia (blue, from sky blue at the top to deep blue at the bottom, glossy), Occhi (glossy black)
- Weight
- 0.5 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-goccia.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 drop is a five-lobed outline inflated like a cushion: fuller at the front, flatter at the back, with a round edge. The eyes are two black ovals resting on the skin where the gaze hits it, turned to follow the surface.
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.