• Canvas from the beginning to the pig


    Pay attention to the official account of “kite holders”, reply to “information” to get 500G information (all “arms”), and professional exchange groups. Ha ha) Through this article, you will understand the introduction of canvas and its more commonly used methods, and use canvas to achieve a piggy head. 1、 Introduction to canvas 1.1 what is […]

  • Edit ppt SmartArt graphics with Java


    This paper introduces how to edit the existing SmartArt graphics in PPT slide in Java program, including resetting graphics style, color, adding / deleting graphics node, editing node content, adding hyperlink to node (link to web page, link to specified slide), etc. In PPT to create SmartArt graphics, read SmartArt graphics can refer to this […]

  • An example of how to generate graphic verification code by using ashx in asp.net


    In this paper, the method of using ashx to generate graphic verification code in asp.net is introduced. The details are as follows: I don’t need to say more about the benefits of captcha. You all know it. I saw that someone wrote the captcha directly in the ASPX page on the Internet, that is to […]

  • HTML5 canvas column


    1、 Canvas element The drawing function of canvas element is shown by its context object, and the environment variable can be obtained from canvas element. html: <canvas id=”canvas” width=”300″ height=”150″> Canvas not supported </canvas> css: body{background-color:#eee;} #canvas{ border: 1px solid #333; } javascript: var ctx = document.querySelector(‘#canvas’).getContext(‘2d’); ctx.strokeStyle = ‘red’; ctx.strokeRect(0,0,100,100); 1. By default, the […]

  • JavaScript graphic example: random Sierpinski triangle


          stay“JavaScript graphic example: Sierpinski triangle”In this paper, we introduce the basic drawing method of Sierpinski triangle“JavaScript graphics example: iterated function system generated graphics”In this paper, the method of generating Sierpinski triangle by IFS is introduced. Next, we introduce two construction methods of Sierpinski triangle to expand the knowledge. 1. Random point method […]

  • How to get CPU temperature in Ubuntu Linux


    Lm_ Sensors is a command line tool used to display the current readings of all chip sensor data, including CPU temperature. By default, LM is not installed in Ubuntu Linux_ Sensors, so we have to install them ourselves. [email protected]:~$ sudo apt install lm-sensorsTest hardwareNext, we need to detect the hardware monitoring chip installed on the […]

  • svg


    Inline svg What is SVG? Svg refers to scalable vector graphics SVG is used to define vector based graphics for networks Svg uses XML format to define graphics The quality of SVG image will not be lost when it is enlarged or changed SVG is the standard of the World Wide Web Consortium Svg advantages […]

  • The foundation of canvas


    After watching SVG essentials for half a month, and then watching HTML5 + canvas basic course, I feel that most of the content is relatively easy. Many methods of canvas and element attributes of SVG have very similar functions. I’ve been busy with the project a while ago, and it took less than a week […]

  • JavaScript graphic example: plane mosaic pattern


    Mosaic with one or several plane figures of the same shape and size, and lay them together without any gap or overlap, is called plane mosaic of these figures. 1. A planar mosaic pattern realized by a polygon We can use regular triangle, square or regular hexagon to realize plane mosaic. (1) Tile with a […]

  • Aachartkit — powerful, beautiful and easy to use open source IOS chart Library


    English Document 🇬🇧 | Simplified Chinese document | Traditional Chinese document Your favoriteAAChartKitOpen source chart library is now moreswiftVersion is available, please click the link below for details Portal https://github.com/AAChartModel/AAChartKit-Swift preface AAChartKitProject, yesAAInfographicsOfObjective-CLanguage version, is in the popular open source front-end chart libraryHighchartsThis is probably the most exquisite third-party IOS open source chart library on […]

  • How to realize custom path animation in canvas


    In the recent project, I need to do a new requirement: realize the custom path animation in canvas. The so-called custom path here includes not only a straight line, maybe a combination of multiple straight lines, but also Bezier curves. Therefore, this animation may look like this: So how can we achieve this animation effect […]

  • Seven steps to master Apache spark 2.0 (2)


    It was popularized in the last articleSparkLet’s continue to study its core structure and easy-to-use API. This video is rich in content and can’t be missed by fan and Qi. Front portal:Seven steps to mastering Apache spark 2.0 (1) 3、 The core structure of Apache spark In order to better understand how the various components […]