Cardboard carton M · celworld

Cardboard carton M

carton_m v1Agent-madec3
Open in Playground

v1 cost

$3.32est.

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

Output share
9.8k
Time share
6m 44s
The agent session
All 1 version$3.32

Budget

c3 · 54 lines
Shapes20 / 45
Triangles2,336 / 4,500
Draw calls3 / 3
States
pop · close
Used in
No scene yet
Made
1asset carton_m "Cardboard carton M" complexity=3
2// an open cardboard shipping box, 4x3 squares inside (1.2 x .9 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, .9) round=.006 bev=1 color=floorC
15slab wall_xn at=(-.61, 0, 0) yaw=-90 pts=[-.45,0 .45,0 .45,.25 -.45,.25] t=.02 round=.004 edge=rimC color=boxC joint
16slab wall_xp at=(.61, 0, 0) yaw=90 pts=[-.45,0 .45,0 .45,.25 -.45,.25] t=.02 round=.004 edge=rimC color=boxC joint
17slab wall_zn at=(0, 0, -.46) 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, .46) 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=[-.444,0 .444,0 .444,.495 .4429,.505 .4395,.5145 .4342,.5231 .4271,.5302 .4185,.5355 .409,.5389 .399,.54 -.399,.54 -.409,.5389 -.4185,.5355 -.4271,.5302 -.4342,.5231 -.4395,.5145 -.4429,.505 -.444,.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=[-.444,0 .444,0 .444,.495 .4429,.505 .4395,.5145 .4342,.5231 .4271,.5302 .4185,.5355 .409,.5389 .399,.54 -.399,.54 -.409,.5389 -.4185,.5355 -.4271,.5302 -.4342,.5231 -.4395,.5145 -.4429,.505 -.444,.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,.41 .6069,.42 .6035,.4295 .5982,.4381 .5911,.4452 .5825,.4505 .573,.4539 .563,.455 -.563,.455 -.573,.4539 -.5825,.4505 -.5911,.4452 -.5982,.4381 -.6035,.4295 -.6069,.42 -.608,.41] 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,.41 .6069,.42 .6035,.4295 .5982,.4381 .5911,.4452 .5825,.4505 .573,.4539 .563,.455 -.563,.455 -.573,.4539 -.5825,.4505 -.5911,.4452 -.5982,.4381 -.6035,.4295 -.6069,.42 -.608,.41] 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, .1911, .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, .1911, .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, .1311, .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,-.07 1.26,-.07 1.26,.07 0,.07] 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