znah
Like Game-of-Life, but on Growing Graphs, with WASM and WebGL
Re:Gate-level simulation of ASIC in browser
on Wednesday January 08, 2025 @02:50PM (#42637788)
First I implemented it, and then learned that it is called Layout vs Schematic (LVS). For now automatic conversion is limited to stateless cells, but I'm planning to rewrite the circuit extractor to support all flipflops and latches.
Re:Gate-level simulation of ASIC in browser
on Wednesday January 08, 2025 @04:19AM (#42632434)
Author here, and this is how running your design on real hardware feels https://x.com/zzznah/status/1876684831222067350?t=b8-zl-h6uV...
Re:SwissGL: Swiss Army Knife for WebGL2
on Sunday February 26, 2023 @09:01AM (#34945597)
Fixed, thanks for pointing! Undefined is only passed at the first frame, other frames receive current time in ms, according to requestAnimationFrame docs
Re:SwissGL: Swiss Army Knife for WebGL2
on Sunday February 26, 2023 @05:46AM (#34944575)
I wanted to avoid (in some cases) a separate initialization phase and unify resource allocation with rendering (because requirements may change and require reallocation). Take GameOfLife example (https://github.com/google/swissgl/blob/main/demo/GameOfLife....). It only has 'frame()' function which transparently resizes textures when needed.
Re:SwissGL: Swiss Army Knife for WebGL2
on Sunday February 26, 2023 @03:32AM (#34944015)
Author here. SwissGL is an experiment in minimal API design. I needed something that would simplify making things like https://znah.net/hexells or https://znah.net/lenia
I'm planning to switch to WebGPU once it's widely supported. I also think there's a chance for SwissGL.c, SwissGL.py and SwissGL.zig
SwissGL: Swiss Army Knife for WebGL2
Tutorial: 3D rendering with ~100 lines of pure Jax code
Re:Differentiable Neural Computers
on Thursday October 13, 2016 @07:03AM (#12699815)
Ideas are cheap, making them work is hard.