Canvas fireworks collection -- fireworks bloom with fan avatars ๐งจ
๐ "I make a wish to the fireworks and hope you will always be by my side"
๐ "If you don't have enough stars in the sky, go and have a look at the fireworks. The fireworks in the world touch the hearts of all people."
๐จ tips: if you like, you can pay attention to the blogger's private letter code~
โก You can also look at the ...
Posted on Sat, 06 Nov 2021 08:55:15 -0400 by knelson
Analysis of KonvaJS Principle
Preface
Everyone who has used Canvas knows that it has a lot of APIs, and it's also very difficult to use. For example, if I want to draw a circle, I need to adjust a bunch of APIs, which is not friendly for development.
const canvas = document.querySelector('canvas');
const context = canvas.getContext('2d');
// Set Font Style
context.font = ...
Posted on Sun, 10 Oct 2021 12:56:51 -0400 by coily