Tagged articles
157 articles
Page 1 of 2

HTML‑in‑Canvas Lets Browsers Render Games and Doom‑Style Effects

HTML‑in‑Canvas is an experimental Web API that captures HTML elements as images and draws them onto a canvas, giving developers pixel‑level control to create game‑like UI effects, dynamic layouts, and even embed live web content inside classic games like Doom, while the proposal advances through W3C.

AICanvasHTML-in-Canvas
0 likes · 9 min read
HTML‑in‑Canvas Lets Browsers Render Games and Doom‑Style Effects
IT Services Circle
IT Services Circle
Mar 31, 2026 · Frontend Development

How Pretext Calculates Text Layout Without DOM Reflows

Pretext is a TypeScript‑based text layout engine that accurately computes line breaks and element heights using canvas.measureText and Intl.Segmenter, eliminating costly DOM measurements, reflows, and layout thrashing while delivering sub‑0.05 ms performance for dynamic UI scenarios.

CanvasJavaScripttext layout
0 likes · 5 min read
How Pretext Calculates Text Layout Without DOM Reflows
Old Zhang's AI Learning
Old Zhang's AI Learning
Mar 15, 2026 · Artificial Intelligence

How Claude Code + Obsidian Automate Your Knowledge Management

Claude Code can read your project’s code, git history, and structure, then automatically create or update Obsidian notes, generate dev logs, and even produce architecture Canvas files with a single /obsidian command, offering a local‑first, plugin‑free workflow for AI‑driven knowledge management.

AI automationCanvasClaude Code
0 likes · 10 min read
How Claude Code + Obsidian Automate Your Knowledge Management
DeWu Technology
DeWu Technology
Dec 25, 2025 · Frontend Development

Build a High‑Performance H5 PAG Player: SDK, Image Editing, Batch Synthesis

This guide details how to implement a full‑stack H5 PAG player for the “Use Basketball to Know Me” activity, covering SDK loading, canvas‑based image manipulation (drag, scale, rotate), dynamic layer and text replacement, real‑time preview synchronization, snapshot export, batch synthesis, performance tuning, and fallback strategies.

Batch ProcessingCanvasPAG
0 likes · 30 min read
Build a High‑Performance H5 PAG Player: SDK, Image Editing, Batch Synthesis
Qunar Tech Salon
Qunar Tech Salon
Nov 27, 2025 · Backend Development

How a Visual Canvas Transforms High‑Performance Marketing Workflow Engineering

This article details the design and implementation of a visual canvas‑based marketing configuration system that replaces Apollo, introduces a custom Reactor‑powered workflow engine, outlines component ecosystems, solves concurrency challenges, and demonstrates significant efficiency, scalability, and reliability gains after deployment.

CanvasMarketingReactor
0 likes · 15 min read
How a Visual Canvas Transforms High‑Performance Marketing Workflow Engineering
Code Mala Tang
Code Mala Tang
Nov 9, 2025 · Frontend Development

How to Customize Rotation Icons and Dynamic Cursors in Fabric.js

This tutorial shows how to initialize a Fabric.js canvas, replace the default rotation handle with a custom SVG icon, create a rotating cursor using data‑URL SVGs, and optimize performance by updating the cursor only at 15‑degree intervals.

CanvasFabric.jscustom rotation icon
0 likes · 16 min read
How to Customize Rotation Icons and Dynamic Cursors in Fabric.js
Code Mala Tang
Code Mala Tang
Nov 7, 2025 · Frontend Development

Smooth Canvas Drag & Zoom on Mobile Using Fabric.js and CSS Transform

To enable fluid dragging and zooming of a Fabric.js seat‑layout canvas on mobile, the author replaces costly canvas viewport transforms with CSS transform translate/scale, adds mouse and touch handlers, debounces scaling, disables object caching, caps offsets, and throttles events, achieving smooth performance across browsers.

CSS transformCanvasFabric.js
0 likes · 16 min read
Smooth Canvas Drag & Zoom on Mobile Using Fabric.js and CSS Transform
Code Mala Tang
Code Mala Tang
Oct 29, 2025 · Frontend Development

Implementing Robust Undo/Redo in Fabric.js Canvas Editors

This article explains how to add undo and redo functionality to a Fabric.js canvas editor by maintaining a history stack, provides full source code, discusses performance considerations, and compares alternative approaches such as the Command Pattern and object‑level diff snapshots.

CanvasFabric.jsJavaScript
0 likes · 8 min read
Implementing Robust Undo/Redo in Fabric.js Canvas Editors
Code Mala Tang
Code Mala Tang
Oct 27, 2025 · Frontend Development

Master Fabric.js: Build Interactive Canvas with Zoom, Snap, and Guides

This article walks through setting up Fabric.js on a web page, creating a canvas, drawing rectangles, adding zoom and pan controls, implementing object snapping and alignment guides, and provides complete source code so readers can quickly build an interactive canvas application.

CanvasFabric.jsJavaScript
0 likes · 21 min read
Master Fabric.js: Build Interactive Canvas with Zoom, Snap, and Guides
Goodme Frontend Team
Goodme Frontend Team
Sep 22, 2025 · Frontend Development

Why crossOrigin Breaks HTTP Cache in Canvas: Deep Dive into Browser Cache Keys

An in‑depth exploration reveals how setting the crossOrigin attribute on images prevents strong HTTP caching in Canvas operations, detailing the browser's cache‑key composition, the security implications of Canvas tainting, and practical strategies to standardize requests, configure CORS, and optimize performance.

Canvascrossoriginfrontend
0 likes · 17 min read
Why crossOrigin Breaks HTTP Cache in Canvas: Deep Dive into Browser Cache Keys
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 27, 2025 · Frontend Development

How to Build a Versatile Canvas Library with Edge Detection, Video Capture, and Particle Effects

Discover how to create a powerful, all‑in‑one Canvas toolkit that includes high‑performance edge detection, Web‑Worker‑accelerated video frame capture, particle‑based fade‑out effects, and a feature‑rich online drawing board, complete with undo/redo, layer management, and GPU‑smooth zoom and drag.

CanvasImageProcessingJavaScript
0 likes · 27 min read
How to Build a Versatile Canvas Library with Edge Detection, Video Capture, and Particle Effects
Sohu Tech Products
Sohu Tech Products
Feb 26, 2025 · Mobile Development

How to Convert Any Android View into a Shareable Image Bitmap

This tutorial explains how to capture any Android view—whether displayed, off‑screen, or generated programmatically—into a Bitmap, draw it with Canvas, and then save or share the resulting image, covering multiple view types and Android version compatibility.

AndroidCanvasImage Sharing
0 likes · 11 min read
How to Convert Any Android View into a Shareable Image Bitmap
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 23, 2025 · Frontend Development

AutoHue.js: Automatic Image Color Extraction for Web Banners

This article introduces AutoHue.js, a lightweight JavaScript library that uses Canvas, Lab color space conversion, and clustering algorithms to automatically extract dominant, secondary, and edge colors from images for seamless background integration in web banners, complete with usage examples and installation instructions.

AutoHueCanvasImage Processing
0 likes · 16 min read
AutoHue.js: Automatic Image Color Extraction for Web Banners
Architect
Architect
Nov 2, 2024 · Frontend Development

How to Build Robust Dark Watermarks and Boost OCR Accuracy in Web Apps

This article walks through the evolution of watermark techniques, demonstrates how to harden a front‑end watermark against deletion, invisibility, and covering using MutationObserver and canvas, introduces a low‑visibility dark watermark with decode logic, and details OCR integration and optimization to improve recognition accuracy in screenshot‑search scenarios.

CanvasImage ProcessingMutationObserver
0 likes · 21 min read
How to Build Robust Dark Watermarks and Boost OCR Accuracy in Web Apps
Ops Development & AI Practice
Ops Development & AI Practice
Oct 4, 2024 · Artificial Intelligence

How ChatGPT 4.0 with Canvas Redefines Multimodal Human‑AI Interaction

ChatGPT 4.0 with Canvas introduces a visual "canvas" that blends language and graphics, enabling multimodal dialogue, real‑time visual feedback, and collaborative workflows across education, design, and business, while posing technical challenges in vision‑language integration, context consistency, and performance optimization.

AI applicationsCanvasChatGPT
0 likes · 10 min read
How ChatGPT 4.0 with Canvas Redefines Multimodal Human‑AI Interaction
大转转FE
大转转FE
Sep 20, 2024 · Frontend Development

Poster Generation: Frontend, Backend, and Mobile Implementation Overview

This article explains various techniques for generating custom posters—including canvas, Fabric.js, html2canvas, and dom‑to‑image—covers client‑side, server‑side, and mobile approaches, compares their performance and compatibility, and provides solutions to common issues such as cross‑origin restrictions, white‑screen bugs, and image‑ratio problems.

CanvasFabric.jsfrontend development
0 likes · 18 min read
Poster Generation: Frontend, Backend, and Mobile Implementation Overview
DeWu Technology
DeWu Technology
Sep 11, 2024 · Frontend Development

Advanced Watermark Techniques and OCR Integration for Front-End Applications

The article details progressive front‑end watermark schemes—from a basic canvas overlay to mutation‑observer‑protected, hide‑ and cover‑resistant, and low‑opacity dark watermarks—and explains how adaptive tone handling, contrast tuning, region cropping, and a hybrid OCR pipeline (internal service with tesseract.js fallback) ensure robust, invisible data protection and accurate screenshot analysis.

CanvasFront-endImage Processing
0 likes · 20 min read
Advanced Watermark Techniques and OCR Integration for Front-End Applications
Sohu Tech Products
Sohu Tech Products
Aug 28, 2024 · Mobile Development

Implementing Firework Like Animation Effect in Android Apps

The article walks through creating a firework‑style animation for Android like buttons by building a custom ParticleDrawingView that renders launch particles and exploding spark groups on a Canvas, using ValueAnimator with configurable durations and interpolators to control four animation phases and particle properties such as position, velocity, alpha, and rotation.

AndroidCanvasInterpolator
0 likes · 10 min read
Implementing Firework Like Animation Effect in Android Apps
vivo Internet Technology
vivo Internet Technology
Jun 5, 2024 · Frontend Development

Technical Guide to Generating Poster Images in H5 and Mini Programs

This guide explains how to generate shareable poster images entirely on the front end for H5 pages and mini‑programs, compares client‑side, front‑end, and server‑side approaches, reviews libraries such as html2canvas, dom‑to‑image, wxml‑to‑canvas and Painter, and offers solutions for design fidelity, CORS, and performance issues.

CanvasCross-OriginMini Program
0 likes · 17 min read
Technical Guide to Generating Poster Images in H5 and Mini Programs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 27, 2024 · Frontend Development

Generating Dynamic Posters with html2canvas in Web Pages

This tutorial explains how to use the html2canvas library to render dynamic HTML content into canvas images, covering installation, markup definition, styling, script implementation, download handling, and important limitations for creating shareable posters in front‑end applications.

CanvasJavaScriptfrontend
0 likes · 7 min read
Generating Dynamic Posters with html2canvas in Web Pages
Sohu Tech Products
Sohu Tech Products
Apr 24, 2024 · Mobile Development

How to Create a Rotating Color‑Changing Rounded Triangle in Android

This article walks through the mathematical analysis, coordinate calculations, and step‑by‑step Android code needed to draw an inverted equilateral triangle, animate a red/black tracing line, and rotate the shape with rounded corners, while addressing common pitfalls such as frame drops and aliasing.

AndroidCanvasCustom View
0 likes · 12 min read
How to Create a Rotating Color‑Changing Rounded Triangle in Android
DaTaobao Tech
DaTaobao Tech
Mar 18, 2024 · Game Development

How to Implement Real-Time Top-Down Game Maps with Canvas and Ray Casting

This article explains the role of maps in games and provides a step‑by‑step guide to creating a top‑down, real‑time minimap that follows the player, covering preparation, objectives, technical solutions, canvas rendering, ray‑casting calculations, and implementation details for both orthographic and oblique perspectives.

3D navigationCanvasGame Development
0 likes · 12 min read
How to Implement Real-Time Top-Down Game Maps with Canvas and Ray Casting
Goodme Frontend Team
Goodme Frontend Team
Mar 7, 2024 · Frontend Development

Must‑Read Frontend Insights & Tools You Can’t Miss This Week

This roundup curates the latest frontend resources—including web performance snippets, Deno’s new JSR registry, Vercel’s AI SDK, VSCode source navigation tricks, architecture design lessons, a Canvas rendering engine guide, React nested component pitfalls, Bilibili analytics platform case study, and product design simplification tips—providing practical knowledge for developers and product teams.

CanvasJavaScriptProduct Design
0 likes · 6 min read
Must‑Read Frontend Insights & Tools You Can’t Miss This Week
Goodme Frontend Team
Goodme Frontend Team
Jan 30, 2024 · Frontend Development

How to Build a Signature Pad in DingTalk Mini Programs with Taro & React

Learn step‑by‑step how to create a signature board for DingTalk mini‑programs using Taro and React, covering canvas creation, drawing logic, size adjustments, image export, undo functionality, landscape mode handling, and common pitfalls, so you can add reliable boss‑signed reports to your app.

Canvasfrontendmini-program
0 likes · 11 min read
How to Build a Signature Pad in DingTalk Mini Programs with Taro & React
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 7, 2024 · Frontend Development

Introducing Pictode: A Konva.js‑Based Graphical Editor Framework with Tutorials and Plugin Guide

This article presents Pictode, a Konva.js‑driven graphics editor framework, explains its core features, demonstrates how to set up a canvas, use drawing tools, selector and history plugins, and provides step‑by‑step code examples for integration with Vue or other front‑end projects.

CanvasJavaScriptKonva.js
0 likes · 14 min read
Introducing Pictode: A Konva.js‑Based Graphical Editor Framework with Tutorials and Plugin Guide
Goodme Frontend Team
Goodme Frontend Team
Dec 13, 2023 · Frontend Development

Unlocking Concurrency, JS Quirks, Security Risks & Canvas Collisions: Frontend Insights

This roundup highlights the latest frontend tools and deep‑dive articles, covering StyleX, Astro 4.0, Vitest 1.0, VS Code 1.85, lock mechanisms for single‑threaded concurrency, bizarre JavaScript behaviors, target="_blank" security flaws, plugin system designs, designer‑developer workflows, and canvas collision detection techniques.

CanvasJavaScriptSecurity
0 likes · 5 min read
Unlocking Concurrency, JS Quirks, Security Risks & Canvas Collisions: Frontend Insights
Goodme Frontend Team
Goodme Frontend Team
Nov 19, 2023 · Frontend Development

How to Securely Add Page and Image Watermarks with Canvas and CSS

This article explains how to protect confidential business documents by implementing page‑level watermarks using canvas and pseudo‑elements, and how to add robust watermarks to images via OSS parameters or client‑side canvas processing, while preventing removal through MutationObserver.

CanvasJavaScriptOSS
0 likes · 16 min read
How to Securely Add Page and Image Watermarks with Canvas and CSS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 25, 2023 · Frontend Development

Implementing Web Page Screenshot Functionality in the Browser: Techniques, Libraries, and Optimizations

This article explores how to capture and process screenshots of web pages directly in the browser, discussing canvas drawImage basics, pixel extraction, the trade‑offs of using html2canvas versus dom‑to‑image, performance and bundle size considerations, and alternative plugin‑based approaches.

Canvasdom to imagefrontend
0 likes · 18 min read
Implementing Web Page Screenshot Functionality in the Browser: Techniques, Libraries, and Optimizations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 21, 2023 · Frontend Development

Implementing Web Page Screenshot in Frontend: Techniques, Libraries, and Optimization

This article explores the challenges and solutions for implementing a web‑page screenshot feature, comparing canvas drawImage, html2canvas, dom‑to‑image, and Chrome extension approaches, while discussing performance, bundle size, and practical code examples for extracting and processing pixel data.

CanvasImage Processingdom to image
0 likes · 17 min read
Implementing Web Page Screenshot in Frontend: Techniques, Libraries, and Optimization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 3, 2023 · Frontend Development

Building a Canvas‑Based Rich Text Editor Similar to Word

This tutorial walks through creating a lightweight, canvas‑driven rich‑text editor that mimics Word’s layout and editing features, covering data structures, page rendering, text measurement, line calculation, cursor handling, keyboard input, deletion, line breaks, and selection using plain JavaScript and HTML5 canvas.

CanvasHTML5frontend
0 likes · 28 min read
Building a Canvas‑Based Rich Text Editor Similar to Word
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Jul 28, 2023 · Frontend Development

Master Modern Front-End: CSS 3D, Design Systems, Canvas Engine & Chrome 115

This article surveys recent front‑end advancements, covering stunning CSS 3D image effects, design‑system construction, the high‑performance leaferjs canvas engine, Chrome 115’s new capabilities, TypeScript’s typechat project, npm ecosystem insights, DDD practices in information services, and an overview of a leading front‑end team.

Browser FeaturesCanvasDDD
0 likes · 4 min read
Master Modern Front-End: CSS 3D, Design Systems, Canvas Engine & Chrome 115
Sohu Tech Products
Sohu Tech Products
Jul 26, 2023 · Frontend Development

In‑Depth Analysis of LeaferJS Rendering Engine Architecture and Performance

This article examines the architecture, rendering pipeline, update mechanism, and event‑picking strategy of the LeaferJS canvas library, illustrating how its lightweight node creation, selective full‑ and partial‑rendering, and optimized hit‑testing achieve high performance compared with alternatives like Konva.

CanvasJavaScriptLeaferJS
0 likes · 14 min read
In‑Depth Analysis of LeaferJS Rendering Engine Architecture and Performance
Baidu Geek Talk
Baidu Geek Talk
Jul 3, 2023 · Mobile Development

Sweep Light Loading Effects: Principles and Cross‑Platform Implementation

Sweep‑light loading effects, such as skeleton‑screen and logo sweeps, improve perceived performance by overlaying a moving translucent gradient mask, and can be implemented on iOS using Core Animation layers and timers, while Android uses shape drawables, ObjectAnimator or Canvas PorterDuff blending, with theme and performance considerations.

AndroidCanvasCoreAnimation
0 likes · 16 min read
Sweep Light Loading Effects: Principles and Cross‑Platform Implementation
58UXD
58UXD
Jun 5, 2023 · Product Management

How to Transform Low‑Code Canvas UX: Lessons from 58APAAS Redesign

This article explores the challenges AI poses to designers, examines why low‑code platforms struggle with user experience, analyzes real‑world canvas issues through competitor studies, and presents a comprehensive redesign of the 58APAAS canvas that improves framework, visual feedback, interaction, semantics, and UI guidelines while hinting at future AI‑driven enhancements.

AI integrationB2B toolsCanvas
0 likes · 9 min read
How to Transform Low‑Code Canvas UX: Lessons from 58APAAS Redesign
TAL Education Technology
TAL Education Technology
Apr 13, 2023 · Frontend Development

A Simple Introduction to WebGL for Frontend Visualization

This article provides a comprehensive introduction to WebGL, covering its relationship with OpenGL ES, differences from Canvas and SVG, performance comparisons, step‑by‑step code examples for drawing points, squares and shaders, and explains the complete rendering pipeline for front‑end developers.

CanvasGraphicsJavaScript
0 likes · 15 min read
A Simple Introduction to WebGL for Frontend Visualization
Advanced AI Application Practice
Advanced AI Application Practice
Mar 29, 2023 · Frontend Development

How to Implement Alignment Features in a Graphics Editor

This article walks through the step‑by‑step implementation of alignment functions—left, center, right, top, middle, and bottom—in a graphics editor by computing AABB boxes, deriving a mixed bounding box, and applying concise JavaScript loops to adjust element positions.

AABBAlignmentCanvas
0 likes · 6 min read
How to Implement Alignment Features in a Graphics Editor
58 Tech
58 Tech
Feb 28, 2023 · Frontend Development

Achieving True WYSIWYG in Low‑Code Editors: Editing Layer and Rendering Layer Design

This article explains how a low‑code editor can provide true WYSIWYG editing by separating the canvas into an editing layer and a rendering layer, using an iframe for isolation, synchronizing layout information via DOM measurements, and addressing the challenges of component overlap, performance, and cross‑technology integration.

CanvasWYSIWYGeditor design
0 likes · 11 min read
Achieving True WYSIWYG in Low‑Code Editors: Editing Layer and Rendering Layer Design
Aotu Lab
Aotu Lab
Feb 2, 2023 · Frontend Development

Mastering Skia with CanvasKit: From Surfaces to Perspective Transforms

This guide explains how to use the open‑source Skia 2D graphics library via the canvaskit‑wasm WebAssembly package to create surfaces, draw shapes, apply paints, shaders, blend modes, and perform 2D matrix transformations—including translation, scaling, rotation, skew, and perspective—culminating in a complete procedural design workflow with reusable JSX components.

CanvasGraphicsSkia
0 likes · 18 min read
Mastering Skia with CanvasKit: From Surfaces to Perspective Transforms
php Courses
php Courses
Jan 20, 2023 · Frontend Development

Create a Browser Fireworks Animation with HTML, CSS, and JavaScript

This tutorial walks you through building a full‑screen fireworks effect in the browser by structuring the HTML, styling the text and canvas with CSS, and implementing the animation logic using JavaScript's Canvas API, utility functions, and object‑oriented firework and spark classes.

CSSCanvasHTML
0 likes · 16 min read
Create a Browser Fireworks Animation with HTML, CSS, and JavaScript
Yuewen Frontend Team
Yuewen Frontend Team
Jan 10, 2023 · Frontend Development

How to Build a Smooth Semi‑Circular Progress Bar with Canvas and SVG

This tutorial walks through creating a semi‑circular progress bar using both Canvas and SVG, covering preparation, drawing techniques, angle calculations, animation loops, anti‑aliasing optimizations, and dynamic updates, and compares the visual and performance differences between the two approaches.

CanvasSVGanimation
0 likes · 14 min read
How to Build a Smooth Semi‑Circular Progress Bar with Canvas and SVG
JD Retail Technology
JD Retail Technology
Dec 21, 2022 · Frontend Development

Introduction and Design of JD Waterdrop Low-Code Canvas

The article presents an overview of JD's Waterdrop low-code platform, detailing the canvas concept, types, research on existing solutions, development goals, design architecture, adaptive layout algorithms, common layout patterns, and future plans for enhancing the front‑end building experience.

CanvasDrag-and-DropUI design
0 likes · 11 min read
Introduction and Design of JD Waterdrop Low-Code Canvas
Liulishuo Tech Team
Liulishuo Tech Team
Dec 20, 2022 · Frontend Development

Introduction to HTML5 Canvas: Basics, Usage, and Practical Examples

This article introduces HTML5 Canvas, explains its advantages over SVG, and provides comprehensive guidance on using the Canvas API—including context acquisition, drawing shapes, paths, arcs, gradients, pixel manipulation, state management, transformations, and a complete clock example—illustrated with code snippets and visual demos.

2D GraphicsCanvasHTML5
0 likes · 14 min read
Introduction to HTML5 Canvas: Basics, Usage, and Practical Examples
DaTaobao Tech
DaTaobao Tech
Dec 5, 2022 · Frontend Development

Canvas-Based Image Viewer with Touch Gestures for H5

The article presents a full‑featured H5 image viewer built on the native canvas API that supports touch gestures such as swipe, drag, pinch‑zoom and double‑tap, handles slide switching, boundary control, initial centering, mouse‑wheel emulation, and high‑resolution rendering via devicePixelRatio, eliminating the need for native bridges.

CanvasImage ViewerResponsive Design
0 likes · 16 min read
Canvas-Based Image Viewer with Touch Gestures for H5
ELab Team
ELab Team
Nov 11, 2022 · Frontend Development

How No‑Code Platforms Transform Frontend Development: Architecture, Canvas & Drag‑Drop Techniques

This article explores the rise of no‑code/low‑code builder platforms, detailing their core concepts, architecture, UIDL specifications, sandboxing, drag‑and‑drop mechanics, smart snapping, component insertion, and event handling, offering practical insights for frontend engineers building modern visual editors.

CanvasDrag-and-DropFrontend Architecture
0 likes · 42 min read
How No‑Code Platforms Transform Frontend Development: Architecture, Canvas & Drag‑Drop Techniques
Huolala Tech
Huolala Tech
Oct 25, 2022 · Frontend Development

One‑Click Web Area Screenshot: Using Clipboard API & DOM‑to‑Image

This article explains how to implement a one‑click precise screenshot feature in a web application by leveraging the Clipboard API, converting DOM elements to images via SVG foreignObject, handling styles and resources, and finally writing the image to the system clipboard.

CanvasSVGWeb API
0 likes · 11 min read
One‑Click Web Area Screenshot: Using Clipboard API & DOM‑to‑Image
DataFunSummit
DataFunSummit
Sep 27, 2022 · Frontend Development

Web Watermark Techniques: Visible, Dynamic, and Invisible Watermarks

This article explains various web watermark methods—including simple visible logos, full‑page overlays, dynamic canvas‑generated marks, SVG‑based text watermarks, and robust invisible (blind) watermarks—while covering implementation details, security considerations, and protection mechanisms such as Shadow DOM and MutationObserver.

CanvasSVGShadow DOM
0 likes · 16 min read
Web Watermark Techniques: Visible, Dynamic, and Invisible Watermarks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 5, 2022 · Frontend Development

Liquid Flow Effects with SVG, CSS Masking, and Canvas – A Frontend Development Tutorial

This article demonstrates how to create dynamic liquid‑flow animations for static images using SVG filters (feTurbulence, feDisplacementMap), CSS mask‑image, Canvas drawing, and TweenMax, providing step‑by‑step code for generating hotspots, animating them, and integrating image upload and canvas clearing in a web page.

CSSCanvasMasking
0 likes · 13 min read
Liquid Flow Effects with SVG, CSS Masking, and Canvas – A Frontend Development Tutorial
Huolala Tech
Huolala Tech
Aug 2, 2022 · Frontend Development

How to Build a Lightweight Canvas Mosaic Tool for Image Redaction

This article explains how to implement an in‑platform image masking solution using a small JavaScript mosaic library, covering the background problem, design choices, core canvas algorithms, key code snippets, dynamic brush size handling, and practical integration steps.

CanvasPixel Manipulationimage-mosaic
0 likes · 14 min read
How to Build a Lightweight Canvas Mosaic Tool for Image Redaction
Alipay Experience Technology
Alipay Experience Technology
Mar 10, 2022 · Frontend Development

How We Built a High‑Performance React Data Grid with AntV S2

This article details how Ant Financial’s front‑end team created a fast, extensible React big‑data table component using the open‑source AntV S2 Canvas library, covering performance‑driven technical choices, custom cell editing, virtual scrolling, freezing, filtering, sorting, and integration challenges that replaced costly commercial spreadsheet solutions.

AntV S2CanvasLarge Data
0 likes · 29 min read
How We Built a High‑Performance React Data Grid with AntV S2
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Mar 7, 2022 · Frontend Development

Web Animation Techniques: CSS Frame, Tween, JavaScript, SVG, and Canvas

Web animation enhances user experience by providing visual feedback and dynamic content, and this article surveys common frontend animation methods—including CSS frame and tween animations, JavaScript style manipulation, SVG animations, and Canvas/WebGL techniques—detailing their implementations, use cases, and performance considerations.

CSSCanvasSVG
0 likes · 9 min read
Web Animation Techniques: CSS Frame, Tween, JavaScript, SVG, and Canvas
ByteDance ADFE Team
ByteDance ADFE Team
Mar 7, 2022 · Frontend Development

2D Drawing on the Web: Basics, Techniques, and Performance Optimizations

This article introduces the fundamentals of 2D drawing on the web using SVG, Canvas, and WebGL, compares their strengths, demonstrates code examples for shapes and paths, explains event handling and picking methods, and provides practical performance optimization strategies for rendering and interaction.

2d-drawingCanvasSVG
0 likes · 10 min read
2D Drawing on the Web: Basics, Techniques, and Performance Optimizations
Tencent Cloud Developer
Tencent Cloud Developer
Mar 2, 2022 · Frontend Development

Front-end Page Screenshot: dom-to-image and html2canvas – Usage and Implementation Principles

This article compares the front‑end screenshot libraries dom‑to‑image and html2canvas, explains their APIs and underlying SVG‑or‑canvas rendering pipelines, walks through typical usage code, highlights common pitfalls such as cross‑origin images and scrolling, and offers practical configuration and debugging tips for developers.

CanvasFront-endSVG
0 likes · 21 min read
Front-end Page Screenshot: dom-to-image and html2canvas – Usage and Implementation Principles
ByteFE
ByteFE
Feb 11, 2022 · Frontend Development

Editorial Recommendations: 2022 Frontend Trends, Chrome @layers, ECMAScript 2022, Canvas Engine, Three.js 3D Winter Olympics Page, AST Manipulation, SCSS Theming, and Fractal Snowflake

This curated newsletter highlights 2022 frontend trends, monetizing technical blogs on Medium, new Chrome @layers rules, upcoming ECMAScript 2022 features, a custom canvas layout engine, a Three.js‑React 3D Winter Olympics page, JavaScript AST tooling, SCSS one‑click theming, and a fractal snowflake canvas demo.

CanvasThree.js
0 likes · 6 min read
Editorial Recommendations: 2022 Frontend Trends, Chrome @layers, ECMAScript 2022, Canvas Engine, Three.js 3D Winter Olympics Page, AST Manipulation, SCSS Theming, and Fractal Snowflake
The Dominant Programmer
The Dominant Programmer
Feb 10, 2022 · Frontend Development

Quick Start with Fabric.js: Building a Canvas App in Vue

This guide introduces Fabric.js—a library that adds an object model, SVG parsing, and interactivity to HTML5 Canvas—and walks through setting up a Vue project, installing the library, creating a canvas element, and drawing a red rectangle with concise code examples.

CanvasFabric.jsGraphics
0 likes · 4 min read
Quick Start with Fabric.js: Building a Canvas App in Vue
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 8, 2022 · Frontend Development

Design and Implementation of a Simple Canvas Layout Engine for Front-End Development

This article presents a lightweight, framework-agnostic canvas layout engine that parses CSS-like styles, performs document-flow layout, renders via a depth-first canvas draw, supports interactive events, works across web and mini-program environments, and demonstrates its API, debugging tools, performance results, and future extensions.

CanvasJavaScriptLayout Engine
0 likes · 25 min read
Design and Implementation of a Simple Canvas Layout Engine for Front-End Development
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jan 14, 2022 · Frontend Development

Understanding ZRender: Canvas Rendering, API Usage, and Custom Element Development

This article introduces the ZRender canvas rendering engine, explains its underlying Canvas2D API, demonstrates how to integrate ZRender into projects, and provides detailed code examples for creating shapes, handling events, adding animations, and extending the library with custom elements such as video support.

CanvasData visualizationJavaScript
0 likes · 54 min read
Understanding ZRender: Canvas Rendering, API Usage, and Custom Element Development
DeWu Technology
DeWu Technology
Dec 23, 2021 · Frontend Development

Pure JavaScript Smooth Curve Generation Using Bézier Curves

This guide shows how to generate smooth, high‑quality curves from a polyline in pure JavaScript by computing quadratic and cubic Bézier points, deriving control points via angle‑bisector geometry, assembling the segments, and rendering and animating the result on an HTML5 canvas without external libraries.

Bézier CurveCanvasFront-end
0 likes · 10 min read
Pure JavaScript Smooth Curve Generation Using Bézier Curves
DeWu Technology
DeWu Technology
Dec 23, 2021 · Frontend Development

Canvas Performance Optimization Techniques

Canvas performance hinges on the number and size of drawn shapes, so optimizing by reducing draw‑calls, using layered or clipped rendering, and offloading heavy drawing to OffscreenCanvas or Web Workers can preserve frame rates and keep the UI responsive.

CanvasJavaScriptWeb Workers
0 likes · 15 min read
Canvas Performance Optimization Techniques
php Courses
php Courses
Dec 22, 2021 · Frontend Development

Christmas-Themed Mini Games with Source Code (jQuery, HTML5, Canvas)

This article introduces five fun Christmas-themed mini games—including a jQuery lottery page, a cliff‑crossing Santa game, a canvas gift‑catching game, an HTML5 red‑packet game, and a mobile jQuery red‑packet game—each with a brief description and downloadable source code links.

CanvasGame DevelopmentHTML5
0 likes · 3 min read
Christmas-Themed Mini Games with Source Code (jQuery, HTML5, Canvas)
DeWu Technology
DeWu Technology
Dec 16, 2021 · Frontend Development

Canvas Performance Optimization Techniques

Optimizing HTML5 canvas performance involves reducing draw calls, using layered and clipped rendering, performing quick bounding‑box checks, and offloading heavy drawing to OffscreenCanvas with Web Workers, enabling smooth animation even when thousands of shapes are rendered.

CanvasJavaScriptRendering
0 likes · 14 min read
Canvas Performance Optimization Techniques
Ctrip Technology
Ctrip Technology
Dec 9, 2021 · Frontend Development

Canvas Animation in React: Principles, Implementation, and Performance Optimization

This article explains the fundamentals of web animation, compares animation techniques such as CSS, SVG, and Canvas, demonstrates how to create frame‑based Canvas animations with JavaScript and Konva, shows how to integrate them into React (including react‑konva), and provides performance‑optimisation strategies for smoother rendering.

CanvasKonvaReact
0 likes · 19 min read
Canvas Animation in React: Principles, Implementation, and Performance Optimization
Baidu Geek Talk
Baidu Geek Talk
Dec 6, 2021 · Frontend Development

Next-Generation Document Reader Architecture and Implementation Using Canvas

The team replaced Baidu Wenku’s HTML‑CSS reader with a Canvas‑based architecture (CReader) that separates logic, data, parsing, rendering and application layers, enabling direct long‑image export, fast text selection, anti‑copy protection, annotation support, and cross‑platform deployment on PC, WAP and mini‑programs.

CanvasDocument ReaderText Selection
0 likes · 8 min read
Next-Generation Document Reader Architecture and Implementation Using Canvas
KooFE Frontend Team
KooFE Frontend Team
Nov 28, 2021 · Frontend Development

How Konva.js Uses Random Colors for Precise Canvas Hit Detection

Konva.js detects whether a point lies inside a shape by assigning each shape a unique random color key, rendering a hidden hitCanvas with these colors, and then reading the pixel color at the click position to identify the corresponding shape, supporting up to 16.7 million objects.

CanvasJavaScriptKonva.js
0 likes · 5 min read
How Konva.js Uses Random Colors for Precise Canvas Hit Detection
ELab Team
ELab Team
Nov 26, 2021 · Frontend Development

How to Build a High‑Performance, Multi‑Touch Canvas Drawing Board from Scratch

This article walks through creating a fully customizable, high‑performance HTML5 canvas drawing board for online teaching, covering devicePixelRatio handling, responsive layout, touch and mouse event processing, drawing pipelines, multi‑touch support, erasing modes, caching strategies, undo/redo, and brush extensions, all with complete React code examples.

CanvasUndo Redodrawing
0 likes · 33 min read
How to Build a High‑Performance, Multi‑Touch Canvas Drawing Board from Scratch
KooFE Frontend Team
KooFE Frontend Team
Oct 27, 2021 · Frontend Development

Detect Clicks Inside Polygons on Canvas with Crossing & Winding Numbers

Learn how to capture click events on an HTML5 Canvas, compute the click coordinates, and determine whether the point lies inside a polygon using both the Crossing Number (even‑odd) method and the more robust Winding Number algorithm, complete with JavaScript code examples.

Canvascrossing-numberpoint-in-polygon
0 likes · 7 min read
Detect Clicks Inside Polygons on Canvas with Crossing & Winding Numbers
Tencent Cloud Developer
Tencent Cloud Developer
Sep 27, 2021 · Frontend Development

html2canvas Implementation Principles and Opacity Rendering Issue Analysis

The article explains html2canvas’s workflow—cloning, parsing, and rendering based on stacking contexts—and diagnoses why transparent overlays appear opaque in screenshots, revealing that the npm package lacks opacity handling; it then proposes adding an OpacityEffect class that records and applies element opacity via canvas globalAlpha to fix the issue.

CSSCanvasOpacity
0 likes · 11 min read
html2canvas Implementation Principles and Opacity Rendering Issue Analysis
ByteFE
ByteFE
Sep 9, 2021 · Frontend Development

How to Build a Canvas‑Based Image Cropping Hook in React

This article explains how to create a reusable React hook that uses two canvas layers to let users select a region on an image, shows a gray‑out overlay with a border during selection, and returns the cropped area as a base64 PNG, including full implementation details and future enhancements.

CanvasHookImage Cropping
0 likes · 12 min read
How to Build a Canvas‑Based Image Cropping Hook in React
LOFTER Tech Team
LOFTER Tech Team
Aug 25, 2021 · Frontend Development

Technical Summary of H5 Animation Techniques for NetEase LOFTER

This article presents a comprehensive technical summary of various H5 animation solutions—including pure CSS, dynamics.js, random motion, frame animation, lottie, video and APNG/WebP—along with mobile adaptation strategies using flexbox and practical video preloading methods for improved performance and user experience.

CanvasFlexboxJavaScript animation
0 likes · 18 min read
Technical Summary of H5 Animation Techniques for NetEase LOFTER
Taobao Frontend Technology
Taobao Frontend Technology
Aug 10, 2021 · Frontend Development

Optimizing Video Thumbnail Selection: Canvas vs FFmpeg WebAssembly

This article examines how Taobao's front‑end team built a custom video frame‑capture tool, compares video+canvas with FFmpeg‑WebAssembly approaches, presents testing results, implementation details, and future optimizations to improve thumbnail selection efficiency and user experience.

CanvasVideo processingWebAssembly
0 likes · 5 min read
Optimizing Video Thumbnail Selection: Canvas vs FFmpeg WebAssembly
TAL Education Technology
TAL Education Technology
Jul 8, 2021 · Frontend Development

Resolving WeChat H5 Authorization Loops, Poster Generation, and Page Performance Tracking

This article details the challenges encountered when developing WeChat H5 pages—such as authorization‑loop redirects, cross‑origin poster creation with html2canvas, iPhone 100vh scrolling bugs, and precise performance timing using window.performance—and presents practical code‑based solutions and compatibility tips for both iOS and Android devices.

AuthorizationCanvasH5
0 likes · 12 min read
Resolving WeChat H5 Authorization Loops, Poster Generation, and Page Performance Tracking
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jul 1, 2021 · Mobile Development

Implementing Chinese Character Auto‑Trace (描红) in Flutter: Data Handling, SVG Conversion, Coordinate Transformation, and Animation

This article details a Flutter‑based solution for automatically tracing Chinese characters, covering data preprocessing, SVG‑to‑coordinate conversion, scaling, Y‑axis inversion, translation, centering correction, and smooth stroke animation with frame‑rate optimization.

CanvasChinese charactersCoordinate Transformation
0 likes · 15 min read
Implementing Chinese Character Auto‑Trace (描红) in Flutter: Data Handling, SVG Conversion, Coordinate Transformation, and Animation
ELab Team
ELab Team
Jun 24, 2021 · Game Development

Build a Simple Path Tracer in TypeScript: From Geometry to Ray Tracing

This article walks through the fundamentals of computer graphics, explaining rasterization, geometry, and ray tracing, then shows how to implement a basic path‑tracing renderer in TypeScript using vectors, rays, spheres, a camera, and Web Workers to render on a canvas.

CanvasPath Tracingcomputer graphics
0 likes · 35 min read
Build a Simple Path Tracer in TypeScript: From Geometry to Ray Tracing