Skip to content

Array Attributes

Average an array property per feature on the GPU, using features defined inline in the spec.

Live Playground

Highlights

  • geojsonObject instead of a file
  • attributeArrays declares the array length
  • WGSL loop over values_length

This example comes from the autk-grammar repository.

Released under the MIT License.