]> zoso.dev Git - nano-pow.git/commit
Overhaul NanoPowGl to use vector operations which greatly simplifies the Blake2b...
authorChris Duncan <chris@zoso.dev>
Sun, 26 Jan 2025 08:20:52 +0000 (00:20 -0800)
committerChris Duncan <chris@zoso.dev>
Sun, 26 Jan 2025 08:20:52 +0000 (00:20 -0800)
commit2c4aca44635aaf0d82ea3079c0201e1f40db6550
treed38903872281c52d933a04933fc09e9d6cf57d7d
parentace2c99f63ef8c642c9fbf9b57605e7ab2a96a48
Overhaul NanoPowGl to use vector operations which greatly simplifies the Blake2b algorithm. Simplify nonce generation and work output by taking advantage of WebGL2 32-bit vector RGBA pixel type options. Fix validation in NanoPowGl by restricting result to passed nonce. Clean up unused variables. Minor test page fixes.
src/classes/gl.ts
src/classes/index.ts
src/shaders/gl-fragment.ts
test.html