using implementations
This commit is contained in:
parent
6dfb39ccbd
commit
668e2a6190
|
@ -131,6 +131,12 @@
|
|||
context.fillStyle = color;
|
||||
context.fillRect(i * width, canvas.height, width - 1, -d * canvas.height);
|
||||
});
|
||||
|
||||
const result = queue[0].step();
|
||||
if (result) {
|
||||
queue.shift();
|
||||
if (!result.done) queue.push(...result.generate(data));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user