This example shows how to draw a simple Canvas image from the gpu.js library.
More info at this blog post and this interactive ObservableHQ notebook