1asset neon_logo "Brightside neon sign" complexity=3
2// the company sign for a wall: a rounded dark board with a glowing neon sun rising over a big arc
3// (the horizon smile), a ring of slowly turning rays, and three bars of neon lettering under it on
4// little standoffs; the back is flat at z = 0, hang it on a wall with lift
5let S = .95..1.05
6let boardC = navy:3|plum|inkDark|walnut
7let sunC = sunflower:3|marigold
8let arcC = tangerine:2|pink|coral
9let textC = white:2|aqua|mint
10
11// the board
12box board at=(0, 0, .03) size=(1.5, 1.0, .06)*S round=.04 bev=3 color=boardC
13box trim on=board at=(0, .03, .03) size=(1.42, .92, .04)*S round=.03 color=boardC*1.25
14
15// the sun, its rays and the arc
16cyl sun on=trim at=(0, .58*S, .03) rot=(90, 0, 0) h=.04 r=.16*S color=sunC ink=glow segs=40
17cyl rays on=sun at=(0, -.015, 0) h=.01 r=.04 color=sunC*.8 segs=8 joint
18box ray x10 on=rays ring at=(.24*S, 0, 0) size=(.09, .025, .035)*S round=.012 color=sunC ink=glow
19torus arc on=trim at=(0, .55*S, .055) rot=(90, 0, 0) R=.32*S r=.03 arc=150 color=arcC ink=glow segs=40 sides=10
20torus arc2 on=trim at=(0, .55*S, .045) rot=(90, 0, 0) R=.24*S r=.025 arc=130 color=textC ink=glow segs=32 sides=8
21box text x3 on=trim at=(0, .07*S, .03) row=(.36*S, 0, 0) size=(.3*S, .07, .03) round=.03 color=textC ink=glow
22
23anim rays ry spin hz=.06
24