Moonlight Carnival, explained · celworld

Moonlight Carnival

.scene · 149 lines · laying out · 27 models · 8 groups · 4 views · seed 21

Moonlight Carnival starts from the carnival template at night, names 27 things to use (17 from the library, 10 built-in), lays them out in 57 lines, gives 8 groups something to do in 8 life lines and frames 4 views.

a travelling carnival at night: the moonlight gate and its ticket booth up front, a lit midway of game stalls under festoon lights, the carousel in a paved hub, chair swings and teacups either side, and at the back the big wheel and the striped big top. The crowd mills, kids run the midway, moths hang about the lamps and the crates on the grass send up fireworks now and then.

gatemidwayferrisbigtopmidNhubmidSfairmothsNmothsSstallrowhubloopmidrun−z
L1

Moonlight Carnival

scene
1scene moonlight_carnival "Moonlight Carnival" template=carnival seed=21 size=34 mood=night

The scene line. It starts from the carnival template, a night fairground: a dirt circle in grass with trees around. The ground runs 34 m from the centre to the edge, lit for night. Seed 21 drives every random choice below: the same seed lays everything out the same way, every time.

template
carnival
ground radius
34 m
seed
21
mood
night
L6

Moonlight gate

use
6use gate = carnival_arch

gate is Moonlight gate, the library model carnival_arch (its latest version).

L7

Ticket booth

use
7use booth = ticket_booth

booth is Ticket booth, the library model ticket_booth (its latest version).

L8

Moonlight wheel

use
8use wheel = ferris_wheel

wheel is Moonlight wheel, the library model ferris_wheel (its latest version).

L9

Big top

use
9use bigtop = big_top_tent

bigtop is Big top, the library model big_top_tent (its latest version).

L10

Carousel

use
10use carousel = carousel height=6

carousel is Carousel, the library model carousel (its latest version). It is scaled to stand 6 m tall.

L11

Teacup ride

use
11use cups = teacup_ride

cups is Teacup ride, the library model teacup_ride (its latest version).

L12

Star swings

use
12use swings = swing_ride

swings is Star swings, the library model swing_ride (its latest version).

L13

Ring toss stall

use
13use toss = ring_toss_stall seeds=1..3

toss is Ring toss stall, the library model ring_toss_stall (its latest version). Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L14

Duck pond game

use
14use duck = duck_pond_game seeds=1..3

duck is Duck pond game, the library model duck_pond_game (its latest version). Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L15

Strength tester

use
15use tester = strength_tester

tester is Strength tester, the library model strength_tester (its latest version).

L16

Cotton candy cart

use
16use candy = cotton_candy_cart seeds=1..2

candy is Cotton candy cart, the library model cotton_candy_cart (its latest version). Each one placed draws one of 2 seeds, so neighbours are different variants.

seeds
1–2
L17

Balloon cart

use
17use balloons = balloon_cart seeds=1..3

balloons is Balloon cart, the library model balloon_cart (its latest version). Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L18

stall

use
18use stall = prop/stall seeds=1..4

stall is the built-in prop generator stall. Each one placed draws one of 4 seeds, so neighbours are different variants.

seeds
1–4
L19

popcorn

use
19use popcorn = prop/cart:popcorn

popcorn is the built-in prop generator cart, form popcorn.

L20

icecream

use
20use icecream = prop/cart:icecream

icecream is the built-in prop generator cart, form icecream.

L21

String lights

use
21use festoon = string_lights seeds=1..3

festoon is String lights, the library model string_lights (its latest version). Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L22

Carnival lamp

use
22use lamp = carnival_lamp seeds=1..3

lamp is Carnival lamp, the library model carnival_lamp (its latest version). Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L23

Moonbear plush

use
23use plush = prize_plush seeds=1..6

plush is Moonbear plush, the library model prize_plush (its latest version). Each one placed draws one of 6 seeds, so neighbours are different variants.

seeds
1–6
L24

Firework crate

use
24use launcher = firework_launcher seeds=1..3

launcher is Firework crate, the library model firework_launcher (its latest version). Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L25

Lantern moth

use
25use moth = lantern_moth seeds=1..4

moth is Lantern moth, the library model lantern_moth (its latest version). Each one placed draws one of 4 seeds, so neighbours are different variants.

seeds
1–4
L26

barrel

use
26use barrel = prop/cargo:barrel seeds=1..3

barrel is the built-in prop generator cargo, form barrel. Each one placed draws one of 3 seeds, so neighbours are different variants.

seeds
1–3
L27

bench

use
27use bench = prop/bench:park

bench is the built-in prop generator bench, form park.

L28

bin

use
28use bin = prop/bin:round

bin is the built-in prop generator bin, form round.

L29

tree

use
29use tree = nature/tree seeds=1..6

tree is the built-in nature generator tree. Each one placed draws one of 6 seeds, so neighbours are different variants.

seeds
1–6
L30

bush

use
30use bush = nature/bush seeds=1..4

bush is the built-in nature generator bush. Each one placed draws one of 4 seeds, so neighbours are different variants.

seeds
1–4
L31

folk

use
31use folk = person/any seeds=1..48

folk is the built-in person generator, any body type. Each one placed draws one of 48 seeds, so neighbours are different variants.

seeds
1–48
L32

kid

use
32use kid = person/kid seeds=1..8

kid is the built-in person generator, the kid body type. Each one placed draws one of 8 seeds, so neighbours are different variants.

seeds
1–8
L35

midN

area
35area midN rect -3 5.5 3 33

Marks out a rectangle from (−3, 5.5) to (3, 33), 6 × 27.5 m, named midN. An area places nothing by itself: ground, scatter and wander lines use it (1 line: 36).

grounds: the paved midway from the gate to the hub, the hub round the carousel, the back midway

shape
rect
L36

midN: paved

ground
36ground midN paved

Covers the area midN in paving. Every look draws the surface with its own texture.

L37

hub

plaza
37plaza hub 0 -2 r=7.5 paved

Marks out a round plaza named hub, a circle of radius 7.5 m round (0, −2), and covers it in paving.

shape
circle
L38

midS

area
38area midS rect -3 -21 3 -9

Marks out a rectangle from (−3, −21) to (3, −9), 6 × 12 m, named midS. An area places nothing by itself: ground, scatter and wander lines use it (1 line: 39).

shape
rect
L39

midS: paved

ground
39ground midS paved

Covers the area midS in paving. Every look draws the surface with its own texture.

L40

fair

area
40area fair circle 0 0 r=26

Marks out a circle of radius 26 m round (0, 0), named fair. An area places nothing by itself: ground, scatter and wander lines use it (2 lines: 103, 123).

shape
circle
L41

stallrow

path
41path stallrow 0 26 0 7 width=6 none

Draws a path named stallrow through 2 points, 6 m wide, with no surface of its own (a guide for along and follow lines, invisible in the scene). Layout keeps solid things off it. Used on 1 line: 50.

length
19 m
width
6 m
L42

hubloop

path
42path hubloop 0 6.2 -4.6 3.2 -6 -2 -4.6 -6.8 0 -8.4 4.6 -6.8 6 -2 4.6 3.2 width=1 none loop

Draws a path named hubloop through 8 points, closed into a loop, 1 m wide, with no surface of its own (a guide for along and follow lines, invisible in the scene). Layout keeps solid things off it. Used on 1 line: 125.

length
41.5 m
width
1 m
L43

midrun

path
43path midrun 0 30 0 6.4 width=1 none

Draws a path named midrun through 2 points, 1 m wide, with no surface of its own (a guide for along and follow lines, invisible in the scene). Layout keeps solid things off it. Used on 1 line: 124.

length
23.6 m
width
1 m
L46

Place the gate

place
46place gate at 0 28.4

Puts one gate at (0, 28.4).

the front: the gate over the midway, the ticket booth beside it

L47

Place the booth

place
47place booth at 6.6 27.2 face 270

Puts one booth at (6.6, 27.2), facing 270° (toward −x).

L50

Along stallrow

along
50along stallrow toss,duck,tester,candy,stall,popcorn,balloons,icecream,stall,toss every=4.2 side=both offset=0.7

Walks the path stallrow and drops toss, duck, tester, candy, stall, popcorn, balloons and 3 more in turn every 4.2 m, on both sides, 0.7 m off its edge, facing the path.

the midway: two rows of game stalls facing in, festoon spans overhead

L51

A row of festoon

row
51row festoon from 0 25 to 0 7 count=4 face 0

Lines up 4 of festoon from (0, 25) to (0, 7), evenly spaced, facing 0° (toward +z).

L52

A row of festoon

row
52row festoon from 0 -11.5 to 0 -18.5 count=2 face 0

Lines up 2 of festoon from (0, −11.5) to (0, −18.5), evenly spaced, facing 0° (toward +z).

L55

Place the carousel

place
55place carousel at 0 -2

Puts one carousel at (0, −2).

the hub: the carousel, benches and bins round it

L56–57

2 × bench

place
56place bench at -5.6 -5.6 face -1 -1
57place bench at 5.6 -5.6 face 1 -1

Puts a bench at each of 2 spots: (−5.6, −5.6) and (5.6, −5.6). 2 lines in a row that do the same thing read as one card here.

L58–59

2 × bin

place
58place bin at -6.6 -4
59place bin at 6.6 -4

Puts a bin at each of 2 spots: (−6.6, −4) and (6.6, −4). 2 lines in a row that do the same thing read as one card here.

L60–61

2 × bench

place
60place bench at 9.2 13.6 face 270
61place bench at -9.4 12.4 face 90

Puts a bench at each of 2 spots: (9.2, 13.6) and (−9.4, 12.4). 2 lines in a row that do the same thing read as one card here.

L62

Place the bin

place
62place bin at 9.4 15.2

Puts one bin at (9.4, 15.2).

L63

A cluster of barrel

cluster
63cluster barrel at 22.5 -8 r=1.2 count=3 spacing=0.1

Bunches 3 barrel within 1.2 m of (22.5, −8), 0.1 m apart.

L66

Place the swings

place
66place swings at -14.5 6.5

Puts one swings at (−14.5, 6.5).

the rides either side and the two giants at the back

L67

Place the cups

place
67place cups at 14.5 8

Puts one cups at (14.5, 8).

L68

Place the wheel

place
68place wheel at -16 -18.5

Puts one wheel at (−16, −18.5).

L69

Place the bigtop

place
69place bigtop at 16 -16 face 0 -2

Puts one bigtop at (16, −16), turned to face (0, −2).

L72–79

8 × lamp

place
72place lamp at -12.4 -13.3 as lamps
73place lamp at 9.6 -13.6 as lamps
74place lamp at 9.4 4.6 as lamps
and 5 more lines like it

Puts a lamp at each of 8 spots: (−12.4, −13.3), (9.6, −13.6), (9.4, 4.6), (−9.4, 3.6), (−4.3, 5.2), (4.3, 5.2), (−4.2, −10.2) and (4.2, −10.2), all in the group lamps. 8 lines in a row that do the same thing read as one card here.

lamps at the ride entrances and the midway mouths

group
lamps
L82–83

2 clusters of plush

cluster
82cluster plush at -9 22.5 r=1.4 count=3 spacing=0.15
83cluster plush at 9 16.5 r=1.4 count=3 spacing=0.15

Bunches plush in 2 clusters: (−9, 22.5) and (9, 16.5). Each cluster draws its own count and spots from the scene seed.

prizes and clutter behind the stalls

L84–85

2 clusters of barrel

cluster
84cluster barrel at 9.2 23 r=1.2 count=4 spacing=0.1
85cluster barrel at -9.2 15.5 r=1.2 count=3 spacing=0.1

Bunches barrel in 2 clusters: (9.2, 23) and (−9.2, 15.5). Each cluster draws its own count and spots from the scene seed.

L86

Place the bin

place
86place bin at 4.6 12.2

Puts one bin at (4.6, 12.2).

L89–91

3 × launcher

place
89place launcher at -24 -2 face 60 as launchers
90place launcher at 7 -25.5 face 0 as launchers
91place launcher at 24 -1 face -60 as launchers

Puts a launcher at each of 3 spots: (−24, −2), (7, −25.5) and (24, −1), all in the group launchers. 3 lines in a row that do the same thing read as one card here.

the grass beyond the dirt: the firework crates, then copses of trees and bushes (the front kept open)

group
launchers
L92–100

9 clusters of tree, bush

cluster
92cluster tree,bush at 18.3 21.8 r=4.5 count=5 spacing=0.3
93cluster tree,bush at 27.5 7.4 r=4.5 count=5 spacing=0.3
94cluster tree,bush at 26.8 -9.7 r=4.5 count=5 spacing=0.3
and 6 more lines like it

Bunches tree or bush in 9 clusters: (18.3, 21.8), (27.5, 7.4), (26.8, −9.7), (16.3, −23.3), (0, −28.5), (−16.3, −23.3), (−26.8, −9.7), (−27.5, 7.4) and (−18.3, 21.8). Each cluster draws its own count and spots from the scene seed.

L103

Scatter folk

scatter
103scatter folk in fair count=40 spacing=0.4 as crowd

Scatters 40 folk at random over the area fair, at least 0.4 m apart, each turned at random, all in the group crowd. The scene seed and this line's own text pick the spots, so editing another line moves none of them.

people: the crowd, kids running the midway and circling the carousel

group
crowd
L104–105

2 × kid

place
104place kid at 0 26 as runners
105place kid at 0 12 as runners

Puts a kid at each of 2 spots: (0, 26) and (0, 12), all in the group runners. 2 lines in a row that do the same thing read as one card here.

group
runners
L106–107

2 × kid

place
106place kid at 0 6.2 as circlers
107place kid at 0 -8.4 as circlers

Puts a kid at each of 2 spots: (0, 6.2) and (0, −8.4), all in the group circlers. 2 lines in a row that do the same thing read as one card here.

group
circlers
L108–110

3 × folk

place
108place folk at 6.4 29.4 as queue
109place folk at 6.0 30.6 as queue
110place folk at 5.4 31.7 as queue

Puts a folk at each of 3 spots: (6.4, 29.4), (6, 30.6) and (5.4, 31.7), all in the group queue. 3 lines in a row that do the same thing read as one card here.

group
queue
L111

Place the kid

place
111place kid at 7.2 30.3 as queue

Puts one kid at (7.2, 30.3), in the group queue.

group
queue
L114

mothsN

area
114area mothsN circle 0 6.5 r=5

Marks out a circle of radius 5 m round (0, 6.5), named mothsN. An area places nothing by itself: ground, scatter and wander lines use it (1 line: 126).

moths at the lamps

shape
circle
L115

mothsS

area
115area mothsS circle 0 -11 r=5

Marks out a circle of radius 5 m round (0, −11), named mothsS. An area places nothing by itself: ground, scatter and wander lines use it (1 line: 127).

shape
circle
L116–118

3 × moth

place
116place moth at -3 6.5 as mothN
117place moth at 3 7 as mothN
118place moth at 0 8 as mothN

Puts a moth at each of 3 spots: (−3, 6.5), (3, 7) and (0, 8), all in the group mothN. 3 lines in a row that do the same thing read as one card here.

group
mothN
L119–120

2 × moth

place
119place moth at -2 -11 as mothS
120place moth at 2.5 -11.5 as mothS

Puts a moth at each of 2 spots: (−2, −11) and (2.5, −11.5), all in the group mothS. 2 lines in a row that do the same thing read as one card here.

group
mothS
L123

crowd wander fair

wander
123wander crowd in fair speed=0.9 pause=1..5s

Lets crowd wander the area fair at about 0.9 m/s, pausing 1–5 s between walks. They steer round what is placed there.

life

speed
0.9 m/s
L124

runners follow midrun

follow
124follow runners midrun speed=1.6 pingpong

Sends runners along the path midrun at 1.6 m/s, there and back again, spread out along it.

speed
1.6 m/s
L125

circlers follow hubloop

follow
125follow circlers hubloop speed=1.3

Sends circlers along the path hubloop at 1.3 m/s, round and round, spread out along it.

speed
1.3 m/s
L126

mothN wander mothsN

wander
126wander mothN in mothsN speed=0.7 pause=0..2s moving=fly

Lets mothN wander the area mothsN at about 0.7 m/s, pausing 0–2 s between walks, playing fly while they move. They steer round what is placed there.

speed
0.7 m/s
L127

mothS wander mothsS

wander
127wander mothS in mothsS speed=0.7 pause=0..2s moving=fly

Lets mothS wander the area mothsS at about 0.7 m/s, pausing 0–2 s between walks, playing fly while they move. They steer round what is placed there.

speed
0.7 m/s
L128

launchers: launch

cycle
128cycle launchers launch every 8..12s for 3s

Every 8–12 s, each of launchers plays launch for 3 s, then rests. Each one keeps its own clock, so they never fire together.

L129

tester: ring

cycle
129cycle tester ring every 6..10s for 2s

Every 6–10 s, each of tester plays ring for 2 s, then rests. Each one keeps its own clock, so they never fire together.

L130

queue face a point

face
130face queue 6.6 27.2

Turns queue to face the point (6.6, 27.2).

L132

The overview camera

camera
132camera orbit 60 height 44 at 0 0

Where the viewer opens: the camera orbits (0, 0) from 60 m out and 44 m up.

distance
60 m
height
44 m
L135

A light at (−16, −16.6)

light
135light at -16 -16.6 y=4 color=#ff9ad8 radius=12 power=1.2

A point light, #ff9ad8 at (−16, −16.6), 4 m up, reaching 12 m at power 1.2. Night moods lean on lights like this one.

lights: the rides, the gate, the stall row, the eight lamps (16 in all)

colour
blossom pink
reach
12 m
power
1.2
L136

A light at (0, −2)

light
136light at 0 -2 y=3.5 color=#ffd28a radius=9 power=1.1

A point light, #ffd28a at (0, −2), 3.5 m up, reaching 9 m at power 1.1. Night moods lean on lights like this one.

colour
peach
reach
9 m
power
1.1
L137

A light at (10.6, −14.6)

light
137light at 10.6 -14.6 y=2.6 color=#ffb070 radius=7 power=1.1 flicker

A point light, #ffb070 at (10.6, −14.6), 2.6 m up, reaching 7 m at power 1.1, flickering like a flame. Night moods lean on lights like this one.

colour
skin 3
reach
7 m
power
1.1
L138

A light at (14.5, 8)

light
138light at 14.5 8 y=3.2 color=#9fe8ff radius=8 power=1

A point light, #9fe8ff at (14.5, 8), 3.2 m up, reaching 8 m at power 1. Night moods lean on lights like this one.

colour
water light
reach
8 m
power
1
L139

A light at (−14.5, 6.5)

light
139light at -14.5 6.5 y=4 color=#ffd0f0 radius=9 power=1

A point light, #ffd0f0 at (−14.5, 6.5), 4 m up, reaching 9 m at power 1. Night moods lean on lights like this one.

colour
blossom white
reach
9 m
power
1
L140

A light at (0, 27)

light
140light at 0 27 y=4 color=#ffc98a radius=8 power=1.1

A point light, #ffc98a at (0, 27), 4 m up, reaching 8 m at power 1.1. Night moods lean on lights like this one.

colour
peach
reach
8 m
power
1.1
L141

A light at (0, 16)

light
141light at 0 16 y=3.4 color=#ffd28a radius=10 power=1 flicker

A point light, #ffd28a at (0, 16), 3.4 m up, reaching 10 m at power 1, flickering like a flame. Night moods lean on lights like this one.

colour
peach
reach
10 m
power
1
L142

A light at (6.6, 25.2)

light
142light at 6.6 25.2 y=1.6 color=#ffb070 radius=4 power=0.8 flicker

A point light, #ffb070 at (6.6, 25.2), 1.6 m up, reaching 4 m at power 0.8, flickering like a flame. Night moods lean on lights like this one.

colour
skin 3
reach
4 m
power
0.8
L143

Lights on lamps

light
143light on lamps color=#ffe3a8 radius=7 power=1.4

One light, #ffe3a8, on top of everything in lamps, 0.2 m above each, reaching 7 m. If one of them moves, its light goes with it.

colour
glow
reach
7 m
power
1.4
L145

View: gate

view
145view gate at 0 25 y=2.5 dist=13 height=7 yaw=-18

A named camera, gate. It looks at (0, 25) 2.5 m up, from 13 m away and 7 m higher, standing at (−4.02, 37.36). The viewer's dock gets a button for it.

yaw
−18°
distance
13 m
L146

View: midway

view
146view midway at 0 12 y=1.6 dist=17 height=4.5 yaw=8

A named camera, midway. It looks at (0, 12) 1.6 m up, from 17 m away and 4.5 m higher, standing at (2.37, 28.83). The viewer's dock gets a button for it.

yaw
8°
distance
17 m
L147

View: ferris

view
147view ferris at -15 -17 y=6 dist=24 height=3 yaw=28

A named camera, ferris. It looks at (−15, −17) 6 m up, from 24 m away and 3 m higher, standing at (−3.73, 4.19). The viewer's dock gets a button for it.

yaw
28°
distance
24 m
L148

View: bigtop

view
148view bigtop at 13 -13 y=2.5 dist=19 height=5 yaw=-35

A named camera, bigtop. It looks at (13, −13) 2.5 m up, from 19 m away and 5 m higher, standing at (2.1, 2.56). The viewer's dock gets a button for it.

yaw
−35°
distance
19 m