Konva - making a rectangle with a hole

Konva - making a rectangle with a hole

VanquishedWombat

Konva's clipFunc is usually used to trim off the edges of oversize images. The magic here is that if we draw an outer path clockwise and an inner path counter-clockwise, the area defined by the inner path becomes a hole! Let's look into it...

Konva Tricks
Members only
Konva - animation with a tween

Konva - animation with a tween

VanquishedWombat

Konva has 2 ways of making things mvoe or change - the tween and the animation. Animations are more involved but more capable, whilst tweens are a simple option if the needs are few. In this short post we look at a simple tween.

Konva Animation Tween
Members only