Caption
Finished a major update[1] of the https://thi.ng/shader-ast-js shader-to-JavaScript transpiler & shader runtime and created a new little example[2], showing how to render a raymarching scene into a text canvas (aka HTML <pre> element) via https://thi.ng/text-canvas. Use the hotkeys to toggle options (and see transpiled shader source in console)...Demo:https://demo.thi.ng/umbrella/ascii-raymarch/Source:https://github.com/thi-ng/umbrella/blob/develop/examples/ascii-raymarch/src/index.ts[1] This update completely avoids temporary allocations for all vector operations and uses pre-allocated pools now...[2] This is example #124 in the https://thi.ng/umbrella repo#ThingUmbrella #ASCIIArt #Raymarching #TypeScript #Demoscene