A step-by-step walkthrough of building seamless GPU-powered page transitions using WebGPU and vanilla JavaScript. The technique uses a persistent pool of WebGPU image planes that are never created or destroyed — instead they are detached from DOM tracking during transitions, tweened freely with GSAP (bounds and opacity), then reattached to the destination page's slots. A lightweight SPA router intercepts navigation, injects the new page alongside the old, fires out() and in() transition methods concurrently, and removes the old page only after all tweens complete. Key patterns include using getBoundingClientRect() for coordinate-free layout sync, a mutating lock to prevent overlapping transitions, and three transition roles: keep (morph), remove (fade out), and add (stamp + fade in).
Nguồn: https://tympanus.net/codrops/2026/06/30/building-persistent-page-transitions-with-webgpu-and-vanilla-javascript. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Servo 0.3 browser engine has been released alongside a monthly development recap. Key improvements include CSS font feature support, new DOM APIs, SpiderMonkey JavaScript engine updates fixing memory safety bugs, accessibility work, WebGPU feature additions, a new about:memory diagnostic tool, and reduced OS thread usage per CPU. The project operates on roughly $7,659/month in donations — below their $10k monthly goal — with funds covering CI servers, Outreachy interns, and maintainer costs.
Servo 0.3 has been released, bringing improvements to the servoshell demo browser and the underlying Rust-based browser engine. New features include additional scripting support, CSS enhancements like font-variant-numeric, layout improvements, WebGPU enhancements, and better developer tools. The project has also updated to Rust 1.95. While servoshell is still not suitable for daily use, it is increasingly capable and shows promise as an embedded browser engine alternative to the Chromium Embedded Framework (CEF).
Chrome 149-150 bổ sung hai tính năng WebGPU quan trọng: Immediates (push constants/root constants) cho phép truyền dữ liệu nhỏ, thay đổi thường xuyên trực tiếp vào shader qua WGSL <immediate> và API setImmediates(), tối ưu hiệu suất bằng cách bỏ qua tạo buffer GPU. Đồng thời, quy tắc validation chặt chẽ hơn với transient attachments, yêu cầu viewFormats rỗng khi tạo texture tạm thời và hạn chế thay đổi usage flags trong createView().
Lập trình viên nên đọc bài này để cập nhật cách tối ưu hóa hiệu suất rendering bằng Immediates trong WebGPU, giúp giảm chi phí CPU-GPU và xử lý dữ liệu thay đổi thường xuyên trên mỗi vẽ hình, đồng thời nắm rõ các quy tắc mới về transient attachments để tránh lỗi và bảo đảm tính ổn định trong ứng dụng.
Figma's design agent is now in open beta with expanded capabilities. Designers can prompt the agent to build reusable generative plugins and WebGPU-powered shader effects and fills directly on the canvas—no developer setup required. New context features let users attach files, reference other Figma files, search the web, and connect external tools via MCP connectors (GitHub, Atlassian, Slack, Linear, Hex). A new Skills system lets teams save and share reusable prompt-based slash commands to codify design philosophies and workflows. Agent conversations are visible to collaborators by default, turning iteration history into a shared resource.