fix p5 call snafu
This commit is contained in:
parent
ca1a026980
commit
8d98f3e2b4
|
@ -357,7 +357,7 @@ export function p5 (commands) {
|
||||||
for (const call of calls) {
|
for (const call of calls) {
|
||||||
p5_calls.push(call)
|
p5_calls.push(call)
|
||||||
}
|
}
|
||||||
p5_calls.push("pop")
|
p5_calls.push(["pop"])
|
||||||
}
|
}
|
||||||
p5_calls[0] = ["background", ...resolve_color(background_color)]
|
p5_calls[0] = ["background", ...resolve_color(background_color)]
|
||||||
p5_render_turtle(states[states.length - 1], p5_calls)
|
p5_render_turtle(states[states.length - 1], p5_calls)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user