Ask coding questions

← Back to all posts
illusion
LewisHamilton1 (0)

how do you fill this illusion?

Answered by Coder100 (18146) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18146)

mark as correct answer please @LewisHamilton1

LewisHamilton1 (0)

it didnt really solve my issue but ok sure can do @Coder100

realTronsi (926)

@LewisHamilton1 if it didn't solve your issue then don't mark it as correct lmao

LewisHamilton1 (0)

nvm ppl i alr sorted it thx @Coder100 it did work

Coder100 (18146)

Your begin_fill has to start with each shape, like this:

for c in [...]:
  t.begin_fill()
  t.color(c)
  ...
  t.end_fill()