• Teach you to achieve a simple canvas clock effect


    Summary:Today, I’ll teach you to write a clock case of canvas. The effect may look simple without those fancy ones. This article is shared from Huawei cloud community《How to realize a simple canvas clock effect》, author: Aurora Borealis night.. 1、 First look at the effect: Write a clock case of canvas today. The effect may […]

  • CSS3 linear gradient


    CSS3 linear gradient Definition and usage The linear gradient() function creates an “image” of a linear gradient. To create a linear gradient, you need to set a starting point and a direction (specified as an angle). You also define the termination color. The stop color is the transition you want gecko to smooth, and you […]

  • Weekly point canvas animation – trigonometric function


    The main contents of this section include: Introduction to trigonometric function Analysis of common trigonometric functions The mouse rotates with the angle Seeing mathematical terms such as trigonometric function and Pythagorean theorem, do you have the feeling of shaking your legs! Well, even if you’ve been scared to pee, you can’t deny that the knowledge […]

  • Oracle — similar to PostgreSQL inheritance table


    Yesterday, I introduced the inheritance table in PostgreSQL. Today, let’s continue to discuss whether there are similar things in Oracle database. First of all, it can be clearly said that there is no object such as inheritance table in Oracle database.However, similar to the inherited tables of PostgreSQL, the data of different tables are associated […]

  • My husband’s first day: I was asked by my colleagues about the three modes of cloud computing


    catalogue catalogue 1、 IAAs (infrastructure as a service) infrastructure as a service 2、 PAAS (platform as a service) 3、 SaaS (software as a service) 4、 Relationship between the three 5、 Comparison between IAAs and PAAS “Cloud” is a metaphor of the Internet. “Cloud computing” is actually using the Internet to access, store or run server-side […]

  • The x-axis of echarts line chart (moving end) is not fully displayed


    main cause There are too many X-axis text, which requires text skew angle, line feed and omission X-axis text tilt angle, line feed interval The display interval of coordinate axis scale labels (effective in category axis) is set to 0 by default. Labels will be displayed in a non overlapping way (that is, partial text […]

  • Ptzview – Custom PTZ control


    Renderings and related two picture resources: Implementation steps: Inherit view Rewrite ontouchevent to calculate the angle according to the touch coordinates Rewrite OnDraw to rotate and draw pictures according to the angle The code is as follows: 1 import android.annotation.SuppressLint; 2 import android.content.Context; 3 import android.content.res.Resources; 4 import android.graphics.Bitmap; 5 import android.graphics.BitmapFactory; 6 import android.graphics.Canvas; […]

  • Gaode map API’s zoom scale control + 3D conversion


    Scale bar control First, introduce the control AMap.Scale Then use map.addControl () add control map <span style=”background-color: #f5f5f5; color: #800000;”> *</span><span style=”background-color: #f5f5f5; color: #000000;”>{</span><span style=”background-color: #f5f5f5; color: #ff0000;”>margin</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”>0</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span><span style=”background-color: #f5f5f5; color: #ff0000;”>padding</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”>0</span><span style=”background-color: #f5f5f5; […]

  • Registration countdown for lesson 2 of coding Devops in depth analysis series!


    Course introduction Devops misunderstanding and organizational preparation Devops helps enterprises and individuals quickly respond to market demand and deliver customer value. However, different roles have different explanations, and there are often cognitive gaps and obstacles in actual use. Deep analysis of coding Devops lesson 2——Devops misunderstanding and organizational preparationIt will be a specially invited lecturer […]

  • JS Math.sin And Math.cos Introduction and application – fireworks effect after mouse click


    Basic introduction Math.sin (x) The positive value of: X. The return value is between – 1.0 and 1.0; Math.cos (x) The cosine value of: X. Returns a number between – 1.0 and 1.0; Where x is the “radian” rather than the angle. Radian definition: two rays shoot from the center of the circle to the […]

  • Ethereum Development Guide


    A curated list of awesome Ethereum tutorials, articles, and resources. Solidity Create a digital greeter – Build a Hello World contract on the ethereum command line Cryptozombies – Learn to Code Ethereum DApps By Building Your Own Game. Solidity Doc – Official solidity documentation. Ethereum How does Ethereum work, anyway? – Explain how Ethereum functions […]

  • Take you to understand transform: rotate (including 3D view)


    preface Recently, in practice, we often need to use the CSS3 property transform: rotate, to X axis, Y axis, Z axisHow is it rotatedAfter struggling for a long time, I finally learned from my practice. I hope this article can help you. If you have any mistakes, please correct them, supplement them and exchange them […]