Atrium tree planter, explained · celworld

Atrium tree planter

.cel · 13 lines · 33 shapes · seed 1

Atrium tree planter is 8 shape lines that grow into 33 shapes, with 4 genes the seed draws.

a round raised planter for the atrium's indoor tree: a slatted wooden drum with a stone cap ring you can sit on all the way round, soil in the middle (the tree stands on it at 0.48 m), a ring of flowers and trailing ivy over the edge, and four little uplights glowing at its foot

seed
L1

Atrium tree planter

asset
1asset tree_bench "Atrium tree planter" complexity=4

The asset line names the model tree_bench, titled Atrium tree planter. complexity=4 holds it to 70 shapes, 6,000 triangles and 4 draw calls; going past any of them is an error.

tier
c4
shapes cap
70
triangles cap
6,000
seed
1
L5

woodC

let
5let woodC = oak:2|birch|walnut|redwood

A gene, woodC: a weighted pick from oak (2 in 5), birch, walnut or redwood. This seed picked redwood.

this seed
redwood
draws
from the seed
L6

capC

let
6let capC = warmstone:2|white|greystone|sandstone

A gene, capC: a weighted pick from warmstone (2 in 5), white, greystone or sandstone. This seed picked sandstone.

this seed
sandstone
draws
from the seed
L7

flA

let
7let flA = pink|cherry|lilac|sunflower

A gene, flA: a weighted pick from pink, cherry, lilac or sunflower. This seed picked sunflower.

this seed
sunflower
draws
from the seed
L8

flB

let
8let flB = white|lemon|coral|sky

A gene, flB: a weighted pick from white, lemon, coral or sky. This seed picked sky.

this seed
sky
draws
from the seed
L10

drum

cyl
10cyl drum h=.42 r=1.3 stripes=[woodC woodC*.86] panels=24 color=woodC segs=48 surface=wood

A cyl, a cylinder (or tapered drum) with rounded edges, base at the origin. It stands at the model's origin.

h
0.42
r
1.3
stripes
redwood, skin7
panels
24
color
redwood
segs
48
surface
wood
L11

cap

torus
11torus cap on=drum at=(0, .43, 0) R=1.24 r=.1 scale=(1, .55, 1) color=capC segs=56 sides=8 surface=stone

A torus, a ring lying flat (round Y), centred: rims, hoops, belts, lifebuoys (rot to stand it up). It rides drum, at (0, .43, 0) in its frame.

R
1.24
r
0.1
scale
(1, .55, 1)
color
sandstone
segs
56
sides
8
surface
stone
L12

soil

cyl
12cyl soil on=drum at=(0, .38, 0) h=.08 r=1.16 color=soil segs=40

A cyl, a cylinder (or tapered drum) with rounded edges, base at the origin. It rides drum, at (0, .38, 0) in its frame.

h
0.08
r
1.16
color
soil
segs
40
L13

hedge

puff
13puff hedge x8 on=soil ring=10 at=(.92, .06, 0) r=(.24, .16, .24) color=leafA segs=12 rings=7 surface=foliage

A puff, a foliage blob: ball with a darker underside band (color × .86) and wobble 0.06. It rides soil, at (.92, .06, 0) in its frame. 8 copies spread evenly round soil's Y axis.

copies
8
r
0.24, 0.16, 0.24
color
leafA
segs
12
rings
7
surface
foliage
L14

bloom

ball
14ball bloom on=hedge at=(0, .13, 0) r=.06 color=sel(parent.i, flA, flB, flA, flB, flA, flB, flA, flB) segs=8 rings=5

A ball, an ellipsoid centred on the origin. It rides hedge, at (0, .13, 0) in its frame. There is a set on each of the 8 hedge copies, 8 in all.

copies
8
r
0.06, 0.06, 0.06
color
sunflower
segs
8
rings
5
L15

ivy

ball
15ball ivy x6 on=drum ring ring0=20 at=(1.3, .28, 0) r=(.06, .2, .15) color=leafD segs=10 rings=7 surface=foliage

A ball, an ellipsoid centred on the origin. It rides drum, at (1.3, .28, 0) in its frame. 6 copies spread evenly round drum's Y axis.

copies
6
r
0.06, 0.2, 0.15
color
leafD
segs
10
rings
7
surface
foliage
L16

lamp

box
16box lamp x4 on=drum ring ring0=45 at=(1.38, 0, 0) size=(.12, .1, .14) round=.03 color=iron surface=metal

A box, a rounded box standing on the origin (true fillets, crisp colour cuts). It rides drum, at (1.38, 0, 0) in its frame. 4 copies spread evenly round drum's Y axis.

copies
4
size
0.12, 0.1, 0.14
round
0.03
color
iron
surface
metal
L17

glowbulb

ball
17ball glowbulb on=lamp at=(.0, .1, 0) r=(.05, .03, .05) color=glow ink=glow segs=8 rings=5

A ball, an ellipsoid centred on the origin. It rides lamp, at (.0, .1, 0) in its frame. There is a set on each of the 4 lamp copies, 4 in all. Its ink is glow: unlit, so it reads as a light.

copies
4
r
0.05, 0.03, 0.05
color
glow
ink
glow
segs
8
rings
5