reorganized source, added test cases for tuning

This commit is contained in:
2024-06-05 16:33:35 +02:00
parent 50fab6e1a5
commit 162d141b34
33 changed files with 811 additions and 97 deletions

Binary file not shown.

13
src/assets/shaders/row.kg Normal file
View File

@@ -0,0 +1,13 @@
//kage:unit pixels
package main
var Alife int
func Fragment(_ vec4, pos vec2, _ vec4) vec4 {
if Alife == 1 {
return vec4(0.0)
}
return vec4(1.0)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Binary file not shown.