Redraw and the Future of 2D Graphics on WebGPU

Featuring
Kewin Wereszczyński
Software Engineer
@
Callstack
Szymon Chmal
Software Developer
@
Callstack

A New Layer for WebGPU-Powered Graphics

Redraw explores a different path for building 2D graphics: one that sits above low-level WebGPU APIs while still giving developers access to GPU-driven primitives. Instead of working directly with WebGPU’s lower-level rendering model, Redraw provides abstractions for paths, brushes, strokes, materials, feathering, and animation.

That positioning matters. WebGPU gives developers more direct access to modern GPU capabilities, but it also introduces a lot of complexity. Redraw aims to make that power more approachable, especially for teams building graphics-heavy UI, advanced animation, visual effects, and drawing experiences.

Vector Graphics With More Expressive Strokes

A central part of Redraw’s API is its treatment of vector paths. The examples discussed covered variable-width strokes, animated SVG paths, single-stroke brushes, feathered edges, and color interpolation along a path. These features make it possible to create effects that feel closer to handwritten lettering, neon strokes, loaders, and calligraphic drawing without manually managing the full rendering pipeline.

The API model is closer to canvas-style programming than typical React component composition. Developers describe what should be drawn, how it should be brushed or filled, and how those values evolve over time. That makes the mental model more mathematical, but also more direct for graphics work.

Feathering, Blur, and Glass Effects

Redraw’s vector feathering is one of its most interesting areas. Instead of relying on repeated rasterization steps, the library can apply soft edges, blur-like effects, and layered visual treatments in a more GPU-oriented way. This opens the door to effects such as frosted glass, glowing outlines, sweep blur, and motion-like trails.

These capabilities are especially relevant as native platforms continue to move toward richer surfaces, layered translucency, and physically inspired UI. Effects like glassmorphism or liquid-style materials are hard to reproduce well with standard layout primitives alone. A rendering-focused approach gives developers better control over the visual result without forcing every effect through the layout system.

Physically Based Rendering for 2D UI

Redraw also includes physically based rendering concepts, including material properties, light direction, roughness, metalness, bevels, and ambient lighting. While this does not behave like a full 3D engine with global illumination, it gives 2D graphics a more tactile feel by simulating how light interacts with surfaces.

That makes Redraw useful for interfaces where depth, lighting, and material response are part of the product experience. Buttons, controls, badges, interactive visuals, charts, and meditation-style animations can all benefit from this kind of rendering model when subtle visual detail matters.

Where Redraw Fits

Redraw is still in technical preview, and its React Native story is not yet ready for everyday production use. The current API shows strong potential, particularly for vector-first graphics and GPU-driven animation, but the library will need more time in real applications before its practical boundaries are clear.

Its likely role is not to replace every canvas or animation library. Instead, Redraw looks like a promising middle layer: higher-level than raw WebGPU or TypeGPU, but closer to the GPU than layout-driven animation. For teams building advanced visual interfaces, that middle ground could become a very useful place to work.

Watch the full session to see Redraw’s playground examples, WebGPU rendering concepts, and practical experiments with animated paths, glass effects, and PBR materials.

Insights

Learn more about AI

Building a Software Factory: Write Specs an Agent Can Build From — cover

Nov 6Article

Building a Software Factory: Write Specs an Agent Can Build From

Learn how to research requirements, resolve open decisions, and write testable specs that AI coding agents can implement without the planning conversation.

 Large-Scale Migrations With Coding Agents: Planning, Verification, and Rollback — cover

Nov 4Article

Large-Scale Migrations With Coding Agents: Planning, Verification, and Rollback

Plan codebase migrations with coding agents using reviewable requirements, verification checks, staged rollouts, and defined rollback criteria.

Conversational Banking: From Customer Questions to Authorized Actions — cover

Nov 2Article

Conversational Banking: From Customer Questions to Authorized Actions

Explore conversational banking architecture through a card-dispute example, covering tool access, authorization, execution, observability, and human handoff.

Building a Software Factory: The Night My Agents Waited for Me — cover

Oct 28Article

Building a Software Factory: The Night My Agents Waited for Me

Learn how permissions, review limits, and missing product decisions stalled two overnight coding agent runs, and how their maintainer revised the workflow.

Your AI Coding Agent Still Needs an Architecture — cover

Oct 22Article

Your AI Coding Agent Still Needs an Architecture

Use explicit contracts, behavior tests, and dependency checks to guide AI coding agents and review their changes through a TypeScript favorites example.

cover

Oct 15Live Stream

Who Left the Agents Running? React Native Software Factories

Join Kewin Wereszczyński and Szymon Chmal to explore what can go wrong in a React Native software factory overnight and the controls that keep agents on track.

cover

Oct 14Podcast

When Coding Gets Faster, What Breaks Next?

Matt Hargett explains how AI moves bottlenecks across testing, deployment, infrastructure, support, and the rest of software delivery.

cover

Oct 12Podcast

AI Coding Agents and Hermes With Tzvetan Mikov

Tzvetan Mikov discusses AI coding agents, context switching, low-level engine optimization, reviewing specs and tests, and his plans for Hermes X.

cover

Oct 12Podcast

State Machines for AI Agents With David Khourshid

David Khourshid explains state machines for AI agents, human approval steps, tracing, and handling invalid model outputs in agent workflows.

cover

Oct 9Article

How to Maximize AI SDLC? Measure the Outer Business Loop, Not the Inner Developer Loop

Connect AI-assisted development to measurable business outcomes. Matt Hargett shares a checklist for assessing user exposure, results, and delivery costs.

cover

Oct 7Talk

Automating Mobile QA with Cloud Agents

Michał Pierzchała shows how cloud-based QA agents can test real iOS and Android user flows and bring screenshots, recordings, and logs into pull requests.

cover

Oct 1Live Stream

Can Jev Make AI Agent Decisions Faster?

Explore Jev with Kewin Wereszczyński and Szymon Chmal: how it works, its approach to faster agent decisions, and possible local alternatives.

cover

Mar 19Tutorial

The Hard Way vs. The React Native AI SDK Way: Stop Writing Custom Modules for Every Model

Learn how React Native AI uses a unified provider model to switch between cloud and on-device LLMs without rewriting application logic, enabling reliable AI experiences online and offline.

cover

Mar 12Tutorial

Build Smarter Apps: Tool Calling & AI Orchestration Explained

Learn how on-device models in React Native can call tools, interact with external APIs, and return structured outputs you can use directly in application logic.

cover

Mar 5Tutorial

MLC LLM + React Native: On-Device AI Without the Pain

Learn how to run third-party on-device LLMs in React Native using MLC LLM. Choose your models, run them efficiently across platforms, and keep a unified JavaScript API with React Native AI.

cover

Feb 24Tutorial

Intelligent Fallbacks with Apple Intelligence in React Native

Learn how to use Apple’s built-in Foundation Models in React Native apps, reduce memory usage, and enable fast, fully on-device AI with React Native AI Apple.

cover

Feb 10Tutorial

What Is the React Native AI SDK? A Complete Intro & Quickstart

Learn why on-device AI matters for React Native apps, how local LLMs behave offline, and what problems React Native AI is designed to solve from day one.

cover

Jan 29Tutorial

Implementing an Android TurboModule with Kotlin

Learn how to implement a React Native TurboModule on Android, from the TypeScript spec and Codegen to the Kotlin implementation and package registration.

cover

Jan 19Tutorial

Working with Different Threads in Swift TurboModules

Learn how JavaScript, native module, background, and main threads interact in React Native TurboModules, and how to use GCD queues to run async work safely in Swift.

cover

Jan 9Tutorial

How to Add Type-Safe Constants to Swift TurboModules

Learn how to expose typed, immutable constants from a Swift TurboModule using Codegen, and get full end-to-end type safety between native and JavaScript.

cover

Dec 30Tutorial

Adding Event Emitters to Your TurboModule in Swift

Learn how to emit native events from a Swift TurboModule and subscribe to them in JavaScript, including proper memory management and Codegen integration.

cover

Dec 22Tutorial

Writing Your First TurboModule in Swift

Learn how to build a fully working TurboModule in Swift, integrate it with Codegen, and bridge it through Objective‑C inside an Expo app.