Compare commits

..

No commits in common. "07a14aa76c4559d6d91446db7923fc0dc63b5703" and "ce17e61495e7a61c1b9bfdf942bfd131937fb7bd" have entirely different histories.

View File

@ -68,7 +68,7 @@ export function p5 (commands) {
const new_state = command_to_state(prev_state, this_command) const new_state = command_to_state(prev_state, this_command)
all_states[turtle_id].push(new_state) all_states[turtle_id].push(new_state)
} }
// console.log(all_states) console.log(all_states)
const [r, g, b, _] = resolve_color(background_color) const [r, g, b, _] = resolve_color(background_color)
if ((r + g + b)/3 > 128) set_turtle_color([0, 0, 0, 150]) if ((r + g + b)/3 > 128) set_turtle_color([0, 0, 0, 150])
const p5_calls = [...p5_call_root()] const p5_calls = [...p5_call_root()]