formatting
This commit is contained in:
parent
250aa80c8d
commit
1634f305fd
|
@ -163,7 +163,7 @@ function TIC() {
|
||||||
|
|
||||||
for (let x = 0; x < 240; ++x) {
|
for (let x = 0; x < 240; ++x) {
|
||||||
for (let y = 0; y < 136; ++y) {
|
for (let y = 0; y < 136; ++y) {
|
||||||
const c = pix(x, y)
|
const c = pix(x, y);
|
||||||
if (c >= 12) {
|
if (c >= 12) {
|
||||||
pix(x, y, c + 1);
|
pix(x, y, c + 1);
|
||||||
}
|
}
|
||||||
|
@ -171,7 +171,7 @@ function TIC() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rect(200, 0, 50, 136, 0)
|
rect(200, 0, 50, 136, 0);
|
||||||
|
|
||||||
for (const [i, step] of steps.entries()) {
|
for (const [i, step] of steps.entries()) {
|
||||||
print(step.name, 1, y, i + 2);
|
print(step.name, 1, y, i + 2);
|
||||||
|
@ -179,8 +179,6 @@ function TIC() {
|
||||||
y += offset;
|
y += offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const yOffset = ((frames % speed) / speed) * 12;
|
const yOffset = ((frames % speed) / speed) * 12;
|
||||||
circ(seed.value + x, seed.step * offset + 2 + yOffset, 2, 12);
|
circ(seed.value + x, seed.step * offset + 2 + yOffset, 2, 12);
|
||||||
print(seed.value, x + lineLen + 5, seed.step * offset + yOffset, 12);
|
print(seed.value, x + lineLen + 5, seed.step * offset + yOffset, 12);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user