Tag

svg

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
May 9, 2025 · Backend Development

Controlling SVG Animations with PHP Session Data: Techniques and Best Practices

This article explains how to combine PHP session management with SVG animation techniques—using server‑generated SVG, AJAX polling, or WebSocket communication—to create real‑time, personalized visual effects while addressing performance and security considerations.

PHPWeb Developmentanimation
0 likes · 6 min read
Controlling SVG Animations with PHP Session Data: Techniques and Best Practices
Sohu Tech Products
Sohu Tech Products
Apr 29, 2025 · Mobile Development

Understanding Android VectorDrawable and AnimatedVectorDrawable: Usage and Source Code Analysis

The article explains Android’s VectorDrawable format for SVG‑like scalable graphics, details its XML schema, shows how to create static vectors, gradients, and clip‑paths, then examines the underlying source‑code flow, and finally describes AnimatedVectorDrawable’s property‑based animations, inflation process, and runtime execution.

AndroidAnimatedVectorDrawableVectorDrawable
0 likes · 48 min read
Understanding Android VectorDrawable and AnimatedVectorDrawable: Usage and Source Code Analysis
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 20, 2025 · Frontend Development

Implement SVG Hover Color Change Using a Vue Custom Directive

This article explains how to create a reusable Vue custom directive that changes an SVG's fill color on hover, covering simple fill‑only SVGs, dynamic color parameters, and handling more complex SVGs by swapping SVG markup strings.

Custom DirectiveFrontend DevelopmentVue.js
0 likes · 9 min read
Implement SVG Hover Color Change Using a Vue Custom Directive
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 18, 2025 · Frontend Development

Implement SVG Hover Color Change with a Vue Custom Directive

This article explains how to simplify SVG hover color changes in Vue by creating a reusable custom directive that dynamically modifies the fill attribute or swaps SVG markup, reducing duplicated markup and improving maintainability for both simple and complex SVG graphics.

Custom DirectiveJavaScriptVue
0 likes · 9 min read
Implement SVG Hover Color Change with a Vue Custom Directive
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 13, 2024 · Frontend Development

Creating an Animated SVG Signature with Stroke‑Dasharray and CSS

This article explains how to design an artistic SVG signature, export it from Figma, and animate it using stroke‑dasharray, stroke‑dashoffset, and CSS keyframe animations to achieve a drawing effect on web pages.

CSSSignatureWeb Development
0 likes · 4 min read
Creating an Animated SVG Signature with Stroke‑Dasharray and CSS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 4, 2024 · Frontend Development

Customizing Edges in LogicFlow: From BaseEdge to Animated SVG Edges

This article explains the role of edges in LogicFlow diagrams, details the BaseEdge model and its properties and methods, describes built‑in straight, polyline and curve edges, and provides step‑by‑step code for creating custom animated edges with gradient and shadow effects.

Edge CustomizationJavaScriptLogicFlow
0 likes · 10 min read
Customizing Edges in LogicFlow: From BaseEdge to Animated SVG Edges
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 23, 2024 · Frontend Development

Building a Kirby‑Themed Animated Input Component with Vue 3 and GSAP

This tutorial demonstrates how to create a Vue 3 component that animates a Kirby‑styled input field using GSAP, covering SVG drawing, component structure, animation timelines, regex‑based state handling, and integration of styles and interactions for a visually engaging form element.

GSAPVue3animation
0 likes · 28 min read
Building a Kirby‑Themed Animated Input Component with Vue 3 and GSAP
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2024 · Frontend Development

Styling console.log Output: Colors, ASCII Art, Images, SVG and HTML in the Browser Console

This tutorial demonstrates how to enhance console.log messages with CSS colors, create ASCII art, embed base64‑encoded images, and render SVG or HTML content using the browser console, providing practical code examples and visual illustrations for developers.

Base64 ImageCSSJavaScript
0 likes · 7 min read
Styling console.log Output: Colors, ASCII Art, Images, SVG and HTML in the Browser Console
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 1, 2024 · Frontend Development

Design and Implementation of Front‑End Animations for NetEase Cloud Music 2023 Annual Listening Report

The 2023 NetEase Cloud Music Annual Listening Report showcases a front‑end animation pipeline where the motion designer codes directly in React, using CSSTransition for page fades, CSS keyframes for text and particle effects, SVG masks for data visualisation, 3D perspective tricks, and extensive device testing to balance visual richness with performance.

3DCSS animationFront-end
0 likes · 37 min read
Design and Implementation of Front‑End Animations for NetEase Cloud Music 2023 Annual Listening Report
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 9, 2024 · Frontend Development

Vue3 Admin Template Without UI‑Framework Dependency – Features, Layout, Routing, State Management, and SVG Icon Builder

This article presents a lightweight, UI‑framework‑free Vue3 admin template, detailing its visual style configuration, core layout, permission‑based routing, TypeScript‑based state handling, custom AJAX request wrapper, and an SVG icon bundler, along with code examples and package information.

Admin TemplateTypeScriptVue
0 likes · 11 min read
Vue3 Admin Template Without UI‑Framework Dependency – Features, Layout, Routing, State Management, and SVG Icon Builder
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 9, 2024 · Frontend Development

Creating Laser‑Cutting Effects with Three.js, SVG Logos and Vite

This tutorial demonstrates how to use Three.js, TypeScript and Vite to load an SVG logo, extract its Bézier curve points, generate evenly spaced laser paths, animate multiple lasers with Line2, and finally separate the logo from a floor using shape holes, providing complete source code and visual results.

3D renderingThree.jsTypeScript
0 likes · 18 min read
Creating Laser‑Cutting Effects with Three.js, SVG Logos and Vite
DaTaobao Tech
DaTaobao Tech
Feb 26, 2024 · Frontend Development

Implementing Tab Border Effects with SVG

To create a tab interface with connected borders, recessed rounded corners, and smooth scrolling transitions, the article explains abandoning CSS due to background‑cover problems and instead using SVG paths that map the four corner vertices, employ arc commands for inner curves, dynamically update coordinates during scroll, and discusses the resulting performance and scalability trade‑offs.

Border DesignCSSFrontend Development
0 likes · 17 min read
Implementing Tab Border Effects with SVG
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 7, 2024 · Frontend Development

Implementing a Circular Dashboard Gauge in H5 Using Pure HTML, CSS, and JavaScript

This article documents a step‑by‑step exploration of four native HTML/CSS/JS approaches to create an animated circular dashboard gauge on an H5 page, discusses the challenges encountered, and presents a final SVG‑based solution with code examples.

CSSDashboardJavaScript
0 likes · 9 min read
Implementing a Circular Dashboard Gauge in H5 Using Pure HTML, CSS, and JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 16, 2023 · Frontend Development

Debugging html2canvas: Understanding Canvas Rendering and Fixing Export Bugs

This article walks through debugging html2canvas by examining its rendering pipeline, comparing foreignObject and pure canvas methods, analyzing stacking contexts, and presenting practical fixes for export bugs, including configuration tweaks and DOM manipulation techniques.

DebuggingcanvasforeignObject
0 likes · 15 min read
Debugging html2canvas: Understanding Canvas Rendering and Fixing Export Bugs
Bilibili Tech
Bilibili Tech
Sep 12, 2023 · Frontend Development

Font2svg: Converting Fonts to SVG for Efficient Web Rendering

Font2svg converts large font glyphs into on‑demand SVG paths using Python’s freetype‑py and svgpathtools, dramatically shrinking download size, speeding page loads, and improving user experience, with CDN‑served SVGs, a lightweight front‑end injector, and graceful fallback, as demonstrated by a 98 % size reduction in a Bilibili case study.

Font RenderingPythonfont2svg
0 likes · 15 min read
Font2svg: Converting Fonts to SVG for Efficient Web Rendering
360 Tech Engineering
360 Tech Engineering
Jul 3, 2023 · Frontend Development

Rendering Techniques for Browser Visualizations: DOM, SVG, Canvas, WebGL, and WebGPU

This article explains the four primary browser rendering approaches—DOM (HTML+CSS), SVG, Canvas, and WebGL/WebGPU—detailing their principles, advantages, limitations, and practical examples to help developers understand the underlying mechanics of web‑based visualizations.

DOMRenderingWebGL
0 likes · 12 min read
Rendering Techniques for Browser Visualizations: DOM, SVG, Canvas, WebGL, and WebGPU
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 8, 2023 · Frontend Development

Animating Chinese Character Transformations with D3.js: From SVG Paths to FIFO Queue Animation

This article demonstrates how to convert Chinese characters into SVG paths using Batik, then creates a D3.js animation that morphs one character into another, addressing path length mismatches with a FIFO‑style point‑by‑point transition and adding a swing effect via setInterval.

FIFOJavaScriptPath Morphing
0 likes · 8 min read
Animating Chinese Character Transformations with D3.js: From SVG Paths to FIFO Queue Animation
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.

Frontend DevelopmentJavaScriptanimation
0 likes · 14 min read
How to Build a Smooth Semi‑Circular Progress Bar with Canvas and SVG
HomeTech
HomeTech
Dec 20, 2022 · Frontend Development

Design and Implementation of an Indoor Space Management System Using SVG and Vue

This article describes the architecture, functional modules, technology choices, and detailed implementation techniques—including coordinate definition, collision detection, zoom/drag handling, object selection, batch operations, alignment, and indoor positioning—of a Vue‑based indoor space management platform that visualizes workstations, meeting rooms, and assets on an interactive map.

Frontend DevelopmentVuecollision detection
0 likes · 10 min read
Design and Implementation of an Indoor Space Management System Using SVG and Vue
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 11, 2022 · Frontend Development

Web Fonts, SVG Icons, and Building an SVG Icon Component with Vite and Ant Design Vue

This article explains the fundamentals of computer fonts, compares bitmap, vector, and stroke fonts, discusses why SVG icons are preferred over font icons on the web, and provides a step‑by‑step guide to implementing a reusable SVG icon component using Vite, Ant Design Vue, and related tooling.

Ant Design VueComponentWeb Fonts
0 likes · 14 min read
Web Fonts, SVG Icons, and Building an SVG Icon Component with Vite and Ant Design Vue