You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gray board where you place pieces stays the same and could therefore be drawn once at the beginning in a p5.Graphics and then displayed with image() instead of doing the rendering every frame for no change. The preview feature does change the transparency of the board though.
Two options:
Draw dynamically the board during preview for the transparency effect
Find an alternative to the slow tint() method
The text was updated successfully, but these errors were encountered:
The gray board where you place pieces stays the same and could therefore be drawn once at the beginning in a
p5.Graphics
and then displayed withimage()
instead of doing the rendering every frame for no change. The preview feature does change the transparency of the board though.Two options:
tint()
methodThe text was updated successfully, but these errors were encountered: