Compare commits
2 Commits
ce17e61495
...
07a14aa76c
Author | SHA1 | Date | |
---|---|---|---|
07a14aa76c | |||
6c663f598f |
|
@ -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()]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user