Merge branch 'main' into release
This commit is contained in:
commit
8444c2f8d2
|
@ -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)
|
|
||||||
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()]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user