This example is using the same raymarching shader from the shader-ast-raymarch demo, only here the shader is being transpiled to Javascript only and executed in parallel using multiple web-workers (orchestrated using @thi.ng/rstream's Fork-Join mechanism).
In the above image, each worker's slice is tinted in a different color. The line chart overlays visualize the avg. execution time for each worker.
Please refer to the example build instructions on the wiki.
- Karsten Schmidt
© 2019 Karsten Schmidt // Apache Software License 2.0