Playground
From ping_pong_table · Compiles in your browser · $0
CtrlShiftS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
asset ping_pong_table "Ping-pong table" complexity=4// a ping-pong table for the break room: a coloured top with white edge and centre lines on folding// leg frames with casters, a net on clamp posts, a paddle resting on each half, and a ball that// never stops rallying over the netlet topC = bottle:2|navy:2|cobalt|teallet legC = iron:2|silverlet padA = cherry:3|tangerinelet padB = inkDark:2|cobalt// the top and its white linesbox top at=(0, .71, 0) size=(2.74, .05, 1.52) round=.015 bev=3 color=topCbox edge x2 on=top at=(0, .047, 0) row=(0, 0, 1.46) size=(2.7, .02, .03) round=.005 color=white ink=nonebox end x2 on=top at=(0, .047, 0) row=(2.66, 0, 0) size=(.03, .02, 1.44) round=.005 color=white ink=nonebox centre on=top at=(0, .047, 0) size=(2.6, .02, .02) round=.005 color=white ink=none// leg frames: two A-frames with a cross bar and castersbox apron on=top at=(0, -.08, 0) size=(2.3, .08, 1.2) round=.02 color=legCrod leg x2 on=apron row=(1.6, 0, 0) at=(0, 0, .45) to=(0, -.6, .1) r=.03 sides=8 color=legCrod leg2 x2 on=apron row=(1.6, 0, 0) at=(0, 0, -.45) to=(0, -.6, -.1) r=.03 sides=8 color=legCrod tie x2 on=apron row=(1.6, 0, 0) at=(0, -.45, -.525) to=(0, 0, 1.05) r=.025 sides=8 color=legCball caster on=leg at=end r=.04 color=inkDark segs=8 rings=5ball caster2 on=leg2 at=end r=.04 color=inkDark segs=8 rings=5// the net on its clamp postscyl post x2 on=top at=(0, .05, 0) row=(0, 0, 1.66) h=.17 r=.018 color=legC segs=8box net on=top at=(0, .065, 0) size=(.015, .14, 1.62) round=.006 bands=[.85:white] color=iron*1.5box clampbox on=post at=(0, -.06, 0) size=(.06, .06, .06) round=.015 color=legC// paddles resting on each half and the rallying ballcyl paddle on=top at=(-.7, .05, .3) rot=(0, 30, 0) h=.025 r=.085 depth=1.05 color=padA segs=24box grip on=paddle at=(.0, .0025, .12) size=(.035, .02, .12) round=.012 color=oakcyl paddle2 on=top at=(.75, .05, -.35) rot=(0, -150, 0) h=.025 r=.085 depth=1.05 color=padB segs=24box grip2 on=paddle2 at=(.0, .0025, .12) size=(.035, .02, .12) round=.012 color=oak// a bucket of spare balls under the netlathe bucket at=(.3, 0, .2) h=.22 r=.13 prof=[0:.8 1:1] color=sunflower segs=20ball spare x5 on=bucket ring=20 at=(.06, .21, 0) r=.035 color=white segs=10 rings=6ball spare2 on=bucket at=(0, .24, 0) r=.035 color=tangerine segs=10 rings=6ball ballx on=top at=(0, .3, .1) r=.03 color=white segs=10 rings=6 jointanim ballx px keys=[0:-1 .5:1 1:-1] hz=.55anim ballx py keys=[0:0 .25:-.24 .5:0 .75:-.24 1:0] hz=.55
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4