Karsten Schmidt on Nostr: Finished a major update[1] of the shader-to-JavaScript transpiler & shader runtime ...
Published at
2023-08-13 15:32:20Event JSON
{
"id": "55a6e772f35a0032c81a06426d8a5e4fc118c45a4a44bd4d50126b4ba61c26ac",
"pubkey": "8aea77a5a8cc9568a656a67d005c16879d3fa3edd85d0ce3def2855090712736",
"created_at": 1691940740,
"kind": 1,
"tags": [
[
"t",
"thingumbrella"
],
[
"t",
"asciiart"
],
[
"t",
"raymarching"
],
[
"t",
"typescript"
],
[
"t",
"demoscene"
],
[
"proxy",
"https://mastodon.thi.ng/users/toxi/statuses/110883028399300280",
"activitypub"
]
],
"content": "Finished a major update[1] of the https://thi.ng/shader-ast-js shader-to-JavaScript transpiler \u0026 shader runtime and created a new little example[2], showing how to render a raymarching scene into a text canvas (aka HTML \u003cpre\u003e element) via https://thi.ng/text-canvas. Use the hotkeys to toggle options (and see transpiled shader source in console)...\n\nDemo:\nhttps://demo.thi.ng/umbrella/ascii-raymarch/\n\nSource:\nhttps://github.com/thi-ng/umbrella/blob/develop/examples/ascii-raymarch/src/index.ts\n\n[1] This update completely avoids temporary allocations for all vector operations and uses pre-allocated pools now...\n[2] This is example #124 in the https://thi.ng/umbrella repo\n\n#ThingUmbrella #ASCIIArt #Raymarching #TypeScript #Demoscene\n\nhttps://mastothing.files.fedi.monster/media_attachments/files/110/883/028/039/898/694/original/8648ffd612d097fa.mp4",
"sig": "0003fa0338b4a16ab4668fddead7c8c48069108bc9e1ff19d6cb4a06263d68a6ce97873c9e49957cae0bb850db567ad615b0a1cc4fd5861477e43aa15fa4afd4"
}