Skip to content
animorio
IT
All 3D objects

The cloud agent

NewGLBThree.js25 October 2026

A soft, puffy white and sky-blue cloud with round lobes, two black eyes and two little clouds floating beside it. It hovers and blinks; click it and it jumps and spins in the air.

What’s inside

Mesh
87,317 vertices, 171,648 triangles
Animation
fluttua, 4 seconds, looping. It rises and sinks, breathes, turns a little and blinks; the little clouds bob and rock 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. It loops seamlessly.
Animation
dorme, 6 seconds, looping. Sleeping: a little lower and tilted, eyes closed, breathing slowly. It loops seamlessly.
Animation
salto, 1.2 seconds, looping. It winds up, jumps with a full spin and lands with a squash; the little clouds follow a beat later.
Parts
  • salto the node that rises in the jump
  • corpo squashes and stretches, pivoting at the base
  • pelle the surface
  • occhi the two eyes (occhio_sinistro, occhio_destro)
  • nuvoletta_alta, nuvoletta_bassa the two little clouds
Materials
Nuvola (white at the top left, sky blue at the bottom right, satin), Occhi (glossy black)
Weight
0.6 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.

three.js
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-nuvola.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 cloud’s outline is the smooth union of eight circles, read as a distance function: the lobes melt together with no edges and the notches between them stay round. Then it is inflated like a cushion, with the surface’s exact normals.

  • 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.

LibraryThe animations, with the code