"fill is not defined" in code

#1

i thought fill was a javascript thing, but maybe the programming thing is a bit limited. maybe it’s a different problem.

EDIT: actually, not much exists (rect, ellipse, that stuff)

0 Likes

#2

Hey @awc95014,

Sorry this has taken a bit to respond.

fill(r,g,b) is a function that libraries will add to code! If you’re familiar with other tools like processing or p5.js, they use fill to color shapes. However, since Wick Editor uses a canvas drawing system we don’t have a fill or stroke command (yet, we might have one at some point in the future).

1 Like

#3

ok, thank you @Luxapodular.

0 Likes