OKAY DEV logo OKAY DEV logo

WebGPU Experiment 2

WebGPU Experiment 2 thumbnail
Report

Please review our Community Guidelines for additional information about what is and isn't permitted on Okay Dev.

This is the email we'll use to contact you about your report. Read more about this in our privacy policy.

Upload any files needed to support this report claim. E.g. image, PDF, text, video, or Word document. (Up to 5 files per report, max 10mb file size per file.)

WebGPU Experiment 2 thumbnail

I always enjoy making visual art with code, this series is yet another "narrativeless" exploration into creating cool visuals using nothing but code.

No AI was used. 

1 2
2 1
2
1
2
3
4
4
6
3
5

During this series I tried to challenge myself to hyper-optimise the runtime performance.

Rendering a 4096x4096px canvas on a M2 Macbook Air using Google Chrome has the following stats per frame:

  • CPU: 56-70 μs
  • GPU: 78-86 μs

I am super proud of these results, especially given the canvas size :)

Project Date
April 2025
Categories