Why Nostr? What is Njump?
2023-08-13 15:32:20

Karsten Schmidt on Nostr: Finished a major update[1] of the shader-to-JavaScript transpiler & shader runtime ...

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

Author Public Key
npub13t480fdgej2k3fjk5e7sqhqks7wnlgldmpwsec7772z4pyr3yumq2wn30g