← Casa completaObjeto 3Dfogon/lavatorio-con-espejo
Lavatorio con espejo
Arrastrá para girarlo// «Lavatorio con espejo» · gpt-6-sol (medium)
// A bathroom sink unit: a white basin on a small wooden cabinet with two doors, a chrome faucet, a toothbrush cup and soap, and a tall rectangular mirror above it on two slim posts with a light blue-grey reflective surface and a light bar on top.
// Wooden cabinet and short feet
box(10, 18, 0, 14, 22, 4, "#8e532e");
box(33, 18, 0, 37, 22, 4, "#8e532e");
box(10, 31, 0, 14, 35, 4, "#8e532e");
box(33, 31, 0, 37, 35, 4, "#8e532e");
box(10, 18, 3, 37, 35, 21, "#a86533");
box(10, 16, 3, 37, 19, 5, "#794626");
box(9, 17, 19, 38, 36, 21, "#c58747");
// Two framed honey-wood doors, facing -y
box(11, 16, 5, 23, 16, 18, "#854b29");
box(25, 16, 5, 36, 16, 18, "#854b29");
box(12, 15, 6, 22, 15, 17, "#d09351");
box(26, 15, 6, 35, 15, 17, "#d09351");
box(13, 14, 7, 21, 14, 16, "#bb783d");
box(27, 14, 7, 34, 14, 16, "#bb783d");
for (let z = 8; z <= 15; z += 3) {
line(14, 13, z, 20, 13, z, 0, "#c98949");
line(28, 13, z, 33, 13, z, 0, "#c98949");
}
box(9, 16, 19, 38, 17, 21, "#d99b56");
box(9, 16, 4, 10, 17, 19, "#a56232");
box(37, 16, 4, 38, 17, 19, "#a56232");
box(23, 14, 5, 25, 17, 19, "#99592f");
// Chunky chrome door pulls
box(20, 12, 10, 21, 13, 16, "#a9b8ba");
box(27, 12, 10, 28, 13, 16, "#a9b8ba");
box(20, 11, 11, 21, 11, 15, "#e6f0ef");
box(27, 11, 11, 28, 11, 15, "#e6f0ef");
// White sink unit and raised rim
box(7, 13, 21, 40, 36, 24, "#e4e9e7");
box(8, 12, 22, 39, 35, 24, "#fffdf5");
box(9, 13, 25, 38, 16, 25, "#ffffff");
box(9, 31, 25, 38, 35, 25, "#ffffff");
box(9, 16, 25, 12, 30, 25, "#ffffff");
box(35, 16, 25, 38, 30, 25, "#ffffff");
// Recessed basin: a pale blue-grey floor with shaded inner walls
box(13, 17, 24, 34, 30, 24, "#cbdadd");
box(14, 18, 24, 33, 29, 24, "#eaf2f1");
box(13, 17, 24, 34, 18, 24, "#d5e2e3");
box(13, 29, 24, 34, 30, 24, "#b9cdd0");
box(13, 18, 24, 14, 29, 24, "#d5e2e3");
box(33, 18, 24, 34, 29, 24, "#b9cdd0");
box(22, 25, 24, 25, 27, 24, "#a2b4b7");
box(23, 26, 24, 24, 27, 24, "#657d83");
box(8, 12, 21, 39, 12, 22, "#d4dddd");
// Two slim supports behind the basin
box(17, 35, 24, 18, 37, 29, "#aebabe");
box(29, 35, 24, 30, 37, 29, "#aebabe");
box(17, 34, 25, 17, 34, 28, "#e5eeee");
box(29, 34, 25, 29, 34, 28, "#e5eeee");
// Tall mirror: walnut backing, light trim, and blue-grey glass
box(15, 36, 26, 32, 38, 43, "#935d37");
box(16, 35, 27, 31, 35, 42, "#e9e9e1");
box(17, 34, 28, 30, 34, 41, "#a8c5cd");
box(18, 33, 29, 29, 33, 40, "#b6d0d6");
box(18, 32, 37, 20, 32, 39, "#d9e8e9");
box(21, 32, 35, 22, 32, 36, "#c8dfe1");
box(27, 32, 29, 28, 32, 31, "#c8dfe1");
box(15, 34, 26, 16, 35, 43, "#f7f4e9");
box(31, 34, 26, 32, 35, 43, "#d6dedb");
box(15, 34, 42, 32, 35, 43, "#f7f4e9");
box(15, 34, 26, 32, 35, 27, "#d6dedb");
// Glowing-looking, fixed light bar
box(14, 33, 44, 33, 37, 45, "#b6c1c1");
box(16, 32, 44, 31, 32, 45, "#fff4cf");
box(17, 31, 44, 30, 31, 44, "#fffdf0");
// Chrome faucet and curved spout
box(22, 30, 25, 26, 34, 26, "#a9b8ba");
box(23, 31, 27, 25, 33, 32, "#b8c7c8");
box(23, 30, 31, 25, 33, 33, "#edf4f1");
box(23, 25, 32, 25, 31, 33, "#c6d2d2");
box(23, 24, 29, 25, 26, 32, "#e8efed");
box(24, 24, 29, 24, 24, 30, "#879da1");
box(27, 31, 26, 29, 33, 27, "#c5d0cf");
box(28, 30, 27, 29, 31, 27, "#f4f6ef");
// Pastel toothbrush cup and two colorful brushes
box(34, 30, 25, 38, 34, 29, "#86c7bd");
box(35, 29, 26, 37, 29, 28, "#a8ddd0");
box(35, 31, 30, 35, 31, 34, "#f6a98f");
box(37, 32, 30, 37, 32, 35, "#81b9df");
box(34, 31, 34, 36, 32, 35, "#fff7e4");
box(36, 31, 35, 38, 32, 36, "#fff7e4");
// Peach soap on a little dish
box(10, 28, 25, 16, 32, 25, "#bdc9ca");
box(11, 29, 26, 15, 31, 27, "#f3ae99");
box(12, 28, 26, 14, 32, 26, "#ffd0ae");
box(12, 29, 28, 14, 30, 28, "#ffe0be");import { draw } from "./assets/voxel";
import { lavatorioConEspejo } from "./assets/lavatorio-con-espejo";
// En cada cuadro: parado sobre (x, y), el centro de su base.
draw(ctx, lavatorioConEspejo, x, y, { size: 64, angle: 0, t: performance.now() / 1000 });
// size: lo que mide en px su lado más largo
// angle: giro sobre el piso, en radianes
// t: segundos; si se mueve, se anima solo con eso# En una terminal, en la carpeta del juego
fogon assets add lavatorio-con-espejo
# Con las herramientas de Fogón (conector)
add_assets({ slug: "<tu-juego>", ids: ["lavatorio-con-espejo"] })
# Queda en client/assets/lavatorio-con-espejo.ts
# https://fogon.page/object/lavatorio-con-espejo