fogón

← NaturalezaObjeto 3Dfogon/roca-chica

Roca chica

de fogonCC012224 bloques
Roca chicaArrastrá para girarlo
// «Roca chica» · gpt-6-sol (medium)
// A small rounded grey stone, chunky and slightly flat, with 3 shades of grey and a lighter top, about 16 blocks across.

// Chunky, slightly flattened storybook stone: 38 blocks across.
ellipsoid(23.5, 23.5, 8.5, 19, 17, 9, "#a9afab");

for (let x = 4; x <= 43; x++) {
  for (let y = 6; y <= 41; y++) {
    for (let z = 0; z <= 18; z++) {
      if (!get(x, y, z)) continue;

      let color = z >= 11 ? "#c9cec8" : z <= 4 ? "#838d89" : "#a9afab";
      if (z > 4 && z < 11 && rand() < 0.035) color = "#c9cec8";
      set(x, y, z, color);
    }
  }
}

// Small, irregular moss patch along one upper edge.
for (let x = 10; x <= 16; x++) {
  for (let y = 18; y <= 24; y++) {
    const dx = (x - 13) / 3.5;
    const dy = (y - 21) / 3;
    if (dx * dx + dy * dy > 1 || rand() < 0.28) continue;

    for (let z = 17; z >= 0; z--) {
      if (get(x, y, z)) {
        set(x, y, z, "#79a86b");
        break;
      }
    }
  }
}