Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Introducing Project Redraw, a new grade of 2d primitives for Web & Native

222,124 Aufrufe • vor 4 Monaten •via X (Twitter)

55 Kommentare

Profilbild von William Candillon
William Candillonvor 4 Monaten

In a regular 2D library, colors and stroke width are scalar values. In Redraw, you can set a JS function as a callback that will be compiled and executed on the GPU. That callback receives all the geometry information needed to compute the effect: tangent, arc length, distance.

Profilbild von William Candillon
William Candillonvor 4 Monaten

For colors, you can build gradients based on the arc length of the path, its distance, or even its tangent. These single-stroke paths support self-intersections.

Profilbild von William Candillon
William Candillonvor 4 Monaten

Self intersections can even be blended with one another

Profilbild von William Candillon
William Candillonvor 4 Monaten

The geometry information on paths is so rich that you can build all sorts of interesting rendering effects. Similar to what ThreeJS does but here your input is an SVG Path, Figma design, not a triangle mesh.

Profilbild von William Candillon
William Candillonvor 4 Monaten

Vector feathering enables a couple of powerful use-cases. Two that I really love: analytical motion blur and fast backdrop filters. These can be built in a single render pass, no extra rasterization needed.

Profilbild von William Candillon
William Candillonvor 4 Monaten

Watch the full announcement at

Profilbild von William Candillon
William Candillonvor 4 Monaten

Redraw is available as a technical preview to subscribers. Your support is what has enabled such an initiative. We are a very early into this project. Lots to figure out.

Profilbild von Vanilagy
Vanilagyvor 4 Monaten

Video goes unbelievably hard

Profilbild von William Candillon
William Candillonvor 4 Monaten

Thank You 🙏😊

Profilbild von Carlito
Carlitovor 4 Monaten

Can it be used in another framework for instance Pixi? Or is it a whole different paradigm?

Profilbild von William Candillon
William Candillonvor 4 Monaten

it integrates with anything that rins on WebGPU including Pixi

Profilbild von sardor
sardorvor 4 Monaten

Getting acquired by Apple speedrun any%

Profilbild von firtoz
firtozvor 4 Monaten

@steveruizok did you see this

Profilbild von Ben Backus
Ben Backusvor 4 Monaten

The emergent properties of AI are fascinating. We've seen so many cool web development advancements in the last few months since claude hockeysticked

Profilbild von ayuba
ayubavor 4 Monaten

cc @steveruizok

Profilbild von Joevin Gracien
Joevin Gracienvor 4 Monaten

"Alala les courbes de Bézier" 🤣

Profilbild von William Candillon
William Candillonvor 4 Monaten

🤣🤣

Profilbild von Karan
Karanvor 4 Monaten

freaking cool! this is coming from a hardcore after effects guy. love the simplicity of a path svg input, looks light aswell

Profilbild von Rakibul
Rakibulvor 4 Monaten

how can I draw my custom one ?

Profilbild von William Candillon
William Candillonvor 4 Monaten

change the svg path at the top

Profilbild von MacKenzie Fisher (MK)
MacKenzie Fisher (MK)vor 4 Monaten

This is so cool! Thank you!!!

Profilbild von RSI
RSIvor 4 Monaten

Your contribution to react native is commendable

Profilbild von Daxesh
Daxeshvor 4 Monaten

this is what every designer should add up in their list, it's really very useful

Profilbild von Guy tamam
Guy tamamvor 4 Monaten

Amazing, as a former full time lettering and calligraphy artist, this is very exciting. Wondered btw when we’ll get a 2d version of 3js ❤️

Profilbild von William Candillon
William Candillonvor 4 Monaten

🙏🙏😊

Profilbild von Guy tamam
Guy tamamvor 4 Monaten

When it will be public?

Profilbild von Startracker 🔺
Startracker 🔺vor 4 Monaten

Beautiful! Can't wait to see how far can this go in UI design!

Profilbild von Amit Digga
Amit Diggavor 4 Monaten

Is it open to contributions? Are you looking for any outside contributions?

Profilbild von William Candillon
William Candillonvor 4 Monaten

yes of course, always!

Profilbild von tw.heo24
tw.heo24vor 4 Monaten

SVG paths as rich geometry feels like a really powerful direction. So much room for interaction-heavy UI here.

Profilbild von Tequila Funk
Tequila Funkvor 4 Monaten

0:22 😍 my hands are scratching to build music visualizers with this

Profilbild von William Candillon
William Candillonvor 4 Monaten

That's a hot topic I think. There are lot of great visualization shaders out there and I'm really wondering what would happen if we had that geometry information to it (e.g the effect is driven by path geometry) 🤔🤔

Profilbild von Bernardo Ferrari
Bernardo Ferrarivor 4 Monaten

wow, fantastic!!

Profilbild von Ꭻ𐌀𐌂𐌊𐌉𐌄
Ꭻ𐌀𐌂𐌊𐌉𐌄vor 4 Monaten

So smoooooth!!

Profilbild von 𝘿𝙖𝙫𝙞𝙙 ✦ 𝙈𝙂𝙏
𝘿𝙖𝙫𝙞𝙙 ✦ 𝙈𝙂𝙏vor 4 Monaten

the chess quote timing works here. Cross-platform 2d that feels elegant instead of compromised is the actual hard part. This looks like the move

Profilbild von Bin Liu
Bin Liuvor 4 Monaten

incredible work 🫡🫡🫡 really excited about this - the way you designed the primitives just opened the doors for a ton of video motion graphics that was really really hard to do in the past 👏👏

Profilbild von William Candillon
William Candillonvor 4 Monaten

Happy Hacking 🫡

Profilbild von matt sephton
matt sephtonvor 4 Monaten

I'm getting an error on the playground. But it looks super cool. Would love to try this

Profilbild von wilson 🇵🇹🇬🇧
wilson 🇵🇹🇬🇧vor 4 Monaten

@FlutterDev perhaps this could be a source of inspiration for future APIs.

Profilbild von James Buckhouse
James Buckhousevor 1 Monat

super cool

Profilbild von konstantinpaulus
konstantinpaulusvor 4 Monaten

Super cool :) Curious, is redraw implemented in C++ or TypeScript?

Profilbild von William Candillon
William Candillonvor 4 Monaten

TypeScript (WebGPU)

Profilbild von konstantinpaulus
konstantinpaulusvor 4 Monaten

Interesting! Will this api also work in native environments other than react native? E.g. flutter or swift?

Profilbild von William Candillon
William Candillonvor 4 Monaten

I think so if they support WebGPU. Instead of TypeGPU these could use a more declarative approach for custom effects.

Profilbild von Guillermo Gette
Guillermo Gettevor 4 Monaten

This is awesome. Is there a skill for the 🤖?

Profilbild von William Candillon
William Candillonvor 4 Monaten

Yes I think so 😊

Profilbild von Carlos
Carlosvor 4 Monaten

wow

Profilbild von Simon Schmid
Simon Schmidvor 4 Monaten

@sebastienlorber Hoi zämme

Profilbild von Alexander | 🇬🇧
Alexander | 🇬🇧vor 4 Monaten

I read this as red raw - DOPE project though excited to use and test it all

Profilbild von Serhii Y.
Serhii Y.vor 4 Monaten

This looks amazing, and I'm really grateful you're building it. I know it's still at early stage, but I'm curious, do you think bindings beyond TypeScript could be possible in the future, like Kotlin, Rust, or other native-friendly APIs?

Profilbild von William Candillon
William Candillonvor 4 Monaten

if the platform support WebGPU, yes I think that can be seriously considered.

Profilbild von Serhii Y.
Serhii Y.vor 4 Monaten

That makes sense. Android already has Jetpack WebGPU bindings, so it feels like there could be an interesting path for native Android support in the future. As a native Android dev, I'd be very excited to try it from Kotlin.

Profilbild von Sascha "GSD" Reuter
Sascha "GSD" Reutervor 4 Monaten

@sama @tim_cook @tobi ReactNative (including its web target) + Redraw should form the standard for adhoc/realtime AI interfaces by virtual assistants and chatbots. If you ever tried the RN-driven PS5 dashboard you know it's true. 😎

Profilbild von Azeem
Azeemvor 1 Monat

link

Profilbild von Danila Poyarkov
Danila Poyarkovvor 4 Monaten

Looks great! Do you plan to open-source it someday?

Ähnliche Videos