Tag:Draw

  • Elegant learning webgl (2) – shaders and buffers in webgl

    Time:2020-4-23

    In the previous chapter, we learned some common knowledge of Web BGL and tried to draw the first web BGL program. Next, we will introduce some basic concepts of Web BGL, including vertex shader, slice shader and buffer What are vertex shaders and slice shaders buffer The source address of this series is: https://github.com/fortealll 1、 […]

  • High quality front-end snapshot scheme: self shot from page

    Time:2020-4-22

    Author: ggvswild 1. Background Saving web pages as pictures (hereinafter referred to as snapshots) is an effective means for users to record and share page information, especially in various forms of interest testing and marketing promotion. The snapshot phase is usually at the end of the page interaction process, which summarizes the user’s final participation […]

  • Implementation of signature function in applet

    Time:2020-4-21

    Effect display preparation The use of canvasMainly usedbindtouchstart,bindtouchmoveTwo attributes capture the movement of fingers, and draw the coordinates before and after the movement with canvas drawing API wx.createCanvasContextThis API is used to create and get the specified canvas object Code description Declare a canvas in wxml Specify the canvas ID and touch start and move […]

  • Mini PS app – integrated open poster, ink electronic signature, picture drag and drop for individual consumption

    Time:2020-4-21

    Minasan, oh, ha, yo~Personal production, this article mainly explains the production idea and implementation code of the recently compiled small program based on uni app framework, which integrates multi-dimensional editing such as image dragging, ink electronic signature, and open poster. Catalog 1. Full source link 2. Realization ideas 3. Core code3-1. Multi direction editing of […]

  • Mini PS app – integrated open poster, ink e-signature, image drag and drop for individual consumption

    Time:2020-4-20

    Minasan, oh, ha, yo~Personal production, this article mainly explains the production idea and implementation code of the recently compiled small program based on uni app framework, which integrates multi-dimensional editing such as image dragging, ink electronic signature, and open poster. Catalog 1. Full source link 2. Realization ideas 3. Core code3-1. Multi direction editing of […]

  • How to build a lightweight canvas rendering engine

    Time:2020-4-19

    background When we develop a canvas application, we have to choose a rendering engine (such as pixijs) or a more powerful game engine (such as cocos creator and layabox) for efficiency. The rendering engine usually has the concept of Sprite. A complete interface will be composed of many sprites. If you write a more complex […]

  • Canvas element

    Time:2020-4-15

    The canvas element itself is simple, with only two attributes, width and height, to specify the size of the element on the screen. The wrapped content in the canvas element will be displayed as an alternative content when the browser does not support the canvas element. All the functions of canvas are embodied in JavaScript […]

  • Asynchronous rendering of IOS — source code analysis of yyasynclayer

    Time:2020-4-14

    Asynchronous rendering of IOS Recently I saw it.YYAsyncLayerHere is a summary.YYAsyncLayerIs the wholeYYKitThe foundation of asynchronous rendering. The GitHub address for the entire project is here. You can download it first, or you can follow me step by step to understand how it achieves asynchronous rendering. How to realize asynchronous Two ways to achieve asynchronous. […]

  • PlantUml for Atom in Windows

    Time:2020-4-11

    Is plantuml? Support rapid UML drawing Sequence diagram Use case diagram Class diagram Activity diagram Component diagram State diagram Deployment diagram Object diagram wireframe graphical interface Platuml provides plug-ins for atom, Android studio and sublime text 2, which is convenient and quick to draw the required UML in your editor. Bob -> Alice : hello […]

  • Wechat applet generating Poster Canvas text wrapping

    Time:2020-4-2

    Sharing in wechat applets, the official website only provides the ability to share to friends and group chat, not the API to share to the circle of friends. Therefore, the common way to share the applet to the circle of friends is to generate a dynamic poster with canvas, paste a picture of the applet […]

  • Basic use of canvas

    Time:2020-4-1

    Canvas can be used to make photo sets or animation of checkpoints, or even real-time video processing and rendering. Here I will introduce the simple use of canvas 1: Canvas label The canvas tag and the IMG tag look very similar, Canvas has only two optional attributes, width and height. There are no SRC and […]

  • Using user control to realize RichTextBox with line number and ruler in WinForm (with code download)

    Time:2020-3-31

    scene The RichTextBox control allows users to input and edit text while providing more advanced formatting features than normal textbox controls. Effect       Note: Blog home page:https://blog.csdn.net/badao_liumang_qizhi Official accountDomineering procedural apeGet programming related ebooks, tutorials and free downloads. Realization Create a new user control, guagerichtextbox. Editing a user control is equivalent to defining […]