Compare commits
2 commits
4ef9886508
...
e9f803d6be
Author | SHA1 | Date | |
---|---|---|---|
e9f803d6be | |||
d10ee19892 |
2 changed files with 3 additions and 1 deletions
2
LICENSE
2
LICENSE
|
@ -187,7 +187,7 @@
|
||||||
same "printed page" as the copyright notice for easier
|
same "printed page" as the copyright notice for easier
|
||||||
identification within third-party archives.
|
identification within third-party archives.
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
Copyright 2024 Andrey DarkCat09
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
|
@ -16,6 +16,8 @@ addEventListener('DOMContentLoaded', () => {
|
||||||
|
|
||||||
canvas.width = canvas.height = size * scale
|
canvas.width = canvas.height = size * scale
|
||||||
|
|
||||||
|
ctx.clearRect(0, 0, canvas.width, canvas.height)
|
||||||
|
|
||||||
for (let row = 0; row < size; row++) {
|
for (let row = 0; row < size; row++) {
|
||||||
for (let col = 0; col < size; col++) {
|
for (let col = 0; col < size; col++) {
|
||||||
if (eval(mask) == 0) {
|
if (eval(mask) == 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue