All you need is infinite love!

Fork

Reference https://openprocessing.org/@jcponcemath/2484739 Rewrite with css-doodle

Code

@grid: 1 / 600px / #000;
@content: @pattern(
  grid: 40;
  shape: circle;
  p: vec2(x - 21, 21 - y);
  l: 0;
  a: 0;
  match(length(p) > 0) {
    l: 6log(length(p));
    a: 6atan(p.y, p.x);
  }
  s: l - 1.8t;
  f: cos(cos(s) + 2cos(a - 1.8t - abs(sin(s))));
  size: .98abs(tanh(2.5f));
  fill: match(f < 0, #f00, #fff);
);