Cardboard carton L · celworld

Cardboard carton L

carton_l v1Agent-madec3
Open in Playground

v1 cost

$3.31est.

Agent-made: its share of a Claude Code session, priced as API-equivalent Opus 5.5.

Output share
9.8k
Time share
6m 43s
The agent session
All 1 version$3.31

Budget

c3 · 54 lines
Shapes20 / 45
Triangles2,336 / 4,500
Draw calls3 / 3
States
pop · close
Used in
No scene yet
Made
1asset carton_l "Cardboard carton L" complexity=3
2// an open cardboard shipping box, 4x4 squares inside (1.2 x 1.2 m), built for the steep packing
3// camera: a pale inner floor, four walls with lighter corrugated rims and four flaps splayed outward. `pop`
4// unfolds it from a flat net; `close` folds the short x flaps in, then the long z flaps over them, then a strip
5// of packing tape rolls out along the seam. A "this side up" mark sits on the front wall and the front lid flap
6let boxC = cardboard
7let rimC = cardboard*1.16
8let floorC = cardboard*1.07
9let tapeC = cardboard*.74
10let printC = walnut
11let labelC = cream
12
13// the inner floor and the four walls, each hinged at its bottom edge with +z pointing outward
14box bed at=(0, 0, 0) size=(1.2, .03, 1.2) round=.006 bev=1 color=floorC
15slab wall_xn at=(-.61, 0, 0) yaw=-90 pts=[-.6,0 .6,0 .6,.25 -.6,.25] t=.02 round=.004 edge=rimC color=boxC joint
16slab wall_xp at=(.61, 0, 0) yaw=90 pts=[-.6,0 .6,0 .6,.25 -.6,.25] t=.02 round=.004 edge=rimC color=boxC joint
17slab wall_zn at=(0, 0, -.61) yaw=180 pts=[-.62,0 .62,0 .62,.264 -.62,.264] t=.02 round=.004 edge=rimC color=boxC joint
18slab wall_zp at=(0, 0, .61) pts=[-.62,0 .62,0 .62,.264 -.62,.264] t=.02 round=.004 edge=rimC color=boxC joint
19
20// four top flaps splayed outward: the short x flaps fold in first, the long z flaps close over them
21slab flap_xn on=wall_xn at=(0, .25, 0) rot=(115, 0, 0) pts=[-.594,0 .594,0 .594,.495 .5929,.505 .5895,.5145 .5842,.5231 .5771,.5302 .5685,.5355 .559,.5389 .549,.54 -.549,.54 -.559,.5389 -.5685,.5355 -.5771,.5302 -.5842,.5231 -.5895,.5145 -.5929,.505 -.594,.495] t=.012 round=.004 edge=rimC color=boxC joint
22slab flap_xp on=wall_xp at=(0, .25, 0) rot=(115, 0, 0) pts=[-.594,0 .594,0 .594,.495 .5929,.505 .5895,.5145 .5842,.5231 .5771,.5302 .5685,.5355 .559,.5389 .549,.54 -.549,.54 -.559,.5389 -.5685,.5355 -.5771,.5302 -.5842,.5231 -.5895,.5145 -.5929,.505 -.594,.495] t=.012 round=.004 edge=rimC color=boxC joint
23slab flap_zn on=wall_zn at=(0, .268, 0) rot=(105, 0, 0) pts=[-.608,0 .608,0 .608,.495 .6069,.505 .6035,.5145 .5982,.5231 .5911,.5302 .5825,.5355 .573,.5389 .563,.54 -.563,.54 -.573,.5389 -.5825,.5355 -.5911,.5302 -.5982,.5231 -.6035,.5145 -.6069,.505 -.608,.495] t=.014 round=.004 edge=rimC color=boxC joint
24slab flap_zp on=wall_zp at=(0, .268, 0) rot=(105, 0, 0) pts=[-.608,0 .608,0 .608,.495 .6069,.505 .6035,.5145 .5982,.5231 .5911,.5302 .5825,.5355 .573,.5389 .563,.54 -.563,.54 -.573,.5389 -.5825,.5355 -.5911,.5302 -.5982,.5231 -.6035,.5145 -.6069,.505 -.608,.495] t=.014 round=.004 edge=rimC color=boxC joint
25
26// "this side up": two arrows over a bar, printed on the front wall and on the front lid flap; a label on the back flap
27slab arrow x2 on=wall_zp at=(0, .1, .011) row=(.09, 0, 0) pts=[-.016,0 .016,0 .016,.07 .042,.07 0,.125 -.042,.07 -.016,.07] t=.004 round=.0015 color=printC ink=none
28slab bar on=wall_zp at=(0, .1, .011) pts=[-.1,-.034 .1,-.034 .1,-.016 -.1,-.016] t=.004 round=.0015 color=printC ink=none
29slab lidarrow x2 on=flap_zp at=(0, .2, .009) row=(.09, 0, 0) pts=[-.016,0 .016,0 .016,.07 .042,.07 0,.125 -.042,.07 -.016,.07] t=.004 round=.0015 color=printC ink=none
30slab lidbar on=flap_zp at=(0, .2, .009) pts=[-.1,-.034 .1,-.034 .1,-.016 -.1,-.016] t=.004 round=.0015 color=printC ink=none
31slab label on=flap_zn at=(.27, .14, .009) pts=[-.1,0 .1,0 .1,.13 -.1,.13] t=.004 round=.0015 color=labelC ink=none
32slab line x3 on=label at=(-.012, .065, .004) row=(0, .03, 0) pts=[-.07,-.006 .07,-.006 .07,.006 -.07,.006] t=.003 round=.001 color=printC ink=none
33
34// packing tape: baked at 1% size inside the floor; `close` lifts it to the lid seam and rolls it out along +x
35slab tape at=(-.55, .012, 0) rot=(-90, 0, 0) scale=.01 pts=[0,-.1 1.26,-.1 1.26,.1 0,.1] t=.006 round=.002 color=tapeC ink=thin joint
36
37// pop (0.6 s): the walls rise off the flat net with a little overshoot, then the flaps flop out to rest
38anim pop: wall_xn rx keys=[0:90 .12:90 .5:-6 .62:3 .72:0 1:0] hz=1.6667 once
39anim pop: wall_xp rx keys=[0:90 .12:90 .5:-6 .62:3 .72:0 1:0] hz=1.6667 once
40anim pop: wall_zn rx keys=[0:90 .12:90 .5:-6 .62:3 .72:0 1:0] hz=1.6667 once
41anim pop: wall_zp rx keys=[0:90 .12:90 .5:-6 .62:3 .72:0 1:0] hz=1.6667 once
42anim pop: flap_xn rx keys=[0:-115 .2:-115 .55:-75 .75:8 .86:-3 1:0] hz=1.6667 once
43anim pop: flap_xp rx keys=[0:-115 .2:-115 .55:-75 .75:8 .86:-3 1:0] hz=1.6667 once
44anim pop: flap_zn rx keys=[0:-105 .28:-105 .62:-60 .8:6 .9:-2 1:0] hz=1.6667 once
45anim pop: flap_zp rx keys=[0:-105 .28:-105 .62:-60 .8:6 .9:-2 1:0] hz=1.6667 once
46
47// close (1.2 s): CARTON_FLAP_TIMES x- [0, .22] x+ [.15, .38] z- [.40, .62] z+ [.55, .80] s, tape [.85, 1.05] s
48anim close: flap_xn rx keys=[0:0 .1833:-205 1:-205] hz=.8333 once
49anim close: flap_xp rx keys=[0:0 .125:0 .3167:-205 1:-205] hz=.8333 once
50anim close: flap_zn rx keys=[0:0 .3333:0 .5167:-195 1:-195] hz=.8333 once
51anim close: flap_zp rx keys=[0:0 .4583:0 .6667:-195 1:-195] hz=.8333 once
52anim close: tape px keys=[0:0 .7:0 .705:-.08 1:-.08] hz=.8333 once
53anim close: tape pz keys=[0:0 .7:0 .705:.267 1:.267] hz=.8333 once
54anim close: tape s keys=[0:0 .7083:0 .875:99 1:99] hz=.8333 once
55