Skip to content

GPU Compute

Compute a compactness score for each neighborhood on the GPU and map the result.

Live Playground

Highlights

  • compute section with a WGSL wglsFunction
  • attributes bind feature properties to WGSL variables
  • results read with getFnv: 'compute.result'

This example comes from the autk-grammar repository.

Released under the MIT License.