Skip to content

Latest commit

 

History

History

shader-ast-workers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

shader-ast-workers

screenshot

Live demo

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.

Authors

  • Karsten Schmidt

License

© 2019 Karsten Schmidt // Apache Software License 2.0