This commit is contained in:
Noa Aarts 2024-11-20 21:27:19 +01:00
parent 46c552076e
commit d00f06890e
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 6 additions and 8 deletions

View file

@ -16,6 +16,7 @@ let
name,
horizontal-resolution,
vertical-resolution,
...
}:
let
display-shader = pkgs.substituteAll {
@ -38,10 +39,10 @@ let
init-shader
state-shader
display-shader
name
tps
cycles
;
display = name;
horizontal = builtins.div horizontal-resolution horizontal-dot-size;
vertical = builtins.div vertical-resolution vertical-dot-size;
})