1. Preconditions Note: The coordinate system in 2D drawing environment is the same as the window coordinate system by default. It takes the upper left...
Canvas to achieve a snake game, improve the elements first. In the next article, we will optimize game prompts and user interactions according to the...
The concept of CSG construction solid geometry has been used by many people in industrial water conservancy and hydropower construction and games. The simplest solid...
The latest version of The Smooth Tabbar will be implemented with Flutter emulation in late 2021, with changes made according to the official Tabbar implementation...
Before introducing compression schemes for the Android platform, let's take a look at some of the main concepts of Bitmap. Pixel density is the number...
This effect should be implemented with a custom View. You can see that during the sliding process, two adjacent tabs have partial color changes, the...
After finishing the initial summary last time, I plan to make some improvements to the engine foundation. The most basic re-rendering to support animation, or...
Don't use rock-paper-scissors to decide who pays this time. It's too low. Check it out I made a little lottery assistant, and you're paying tonight,...
Made a poster generation demand, incidentally integrate the problem and JS, and then do poster generation more convenient. Gets the Canvas instance,this is the this...
PK creative Spring Festival, I am participating in the "Spring Festival creative submission contest", please see: Spring Festival creative submission Contest. This article teaches everyone...
Using Canvas and SVG to achieve mouse drag rectangle box, compare the two implementation strategies canvas to obtain image pixel data and change pixel color