--bg: #f3eee4;
--hatch(d, s): smoothstep(
.06, -.06, abs(fract(90dot(p, d)) - .3) - min(s - light, .4)
);
@grid: 1 / 800px 600px / @p(--bg);
@content: @scene(
view: 28 16;
light: -1 .95 .7;
shadow: 1;
ambient: .12 .4;
perspective: none;
ink: min(1,
$hatch(vec3(.8, 2, .45), .88) +
$hatch(vec3(1, -.7, 1), .66) +
$hatch(vec3(.15, 1, -.9), .5)
);
fill: mix(@p(--bg), #f60, ink);
/* Objects */
box { size: 1.6 .04 1; move: 0 -.12 0 }
lathe { vase; points: 80; scale: .28; move: -.32 .18 -.1 }
sphere { r: .15; move: .1 .05 .12 }
box { size: .26; round: .01; rotate: y 30; move: .45 .03 -.12 }
);