13
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] pineapple@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

Don't these things take like ages to compute? how is it doing this so quickly in a web browser? This is insanely cool

[-] yogthos@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

Modern browsers can compute fractals quickly using the GPU because a WebGL fragment shader can operate on every pixel simultaneously. For each pixel, the shader maps the screen coordinates to the complex plane and iterates the equation until the value escapes. And all the pixel calculations are then done in parallel.

[-] pineapple@lemmy.ml 2 points 1 month ago

I guess computers are that much more powerful now.

[-] yogthos@lemmy.ml 2 points 1 month ago
this post was submitted on 16 Jul 2026
13 points (100.0% liked)

General Programming Discussion

10003 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 7 years ago
MODERATORS