Shape transition

Fork

Code

@grid: 1 / 100vw 100vh / #fff @doodle800(
  @grid: 400x1;
  background: #221cb9;
  clip-path: @tile.triangle(
    edge: hypot(x, y)/1.5 * sin(t);
    gap: .5;
    round: 1;
  )
) 50% / cover;