Тёмный

Flexbox in 3d?? How is this even possible 

Theo - t3․gg
Подписаться 339 тыс.
Просмотров 57 тыс.
50% 1

I am absolutely blown away with pmndrs/uikit. I always love what the poimandres crew is cooking but this is some next level stuff. React Three Fiber devs are eating good today
SOURCES
/ 1762069894932160943
docs.pmnd.rs/u...
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 138   
@abhinavrobinson2310
@abhinavrobinson2310 3 месяца назад
Everyones gangsta until flex overflows and z-index bugs in 3D
@andgoedu
@andgoedu 3 месяца назад
z-index: 1000000; :p and just override everything - i make it broken from the start 😂
@abhinavrobinson2310
@abhinavrobinson2310 3 месяца назад
@@andgoedu z-index: (max_safe_int) :3
@perz1val
@perz1val 3 месяца назад
Z in 3D is just the 3rd dimension. When overlaying flat planes in 3D you'd need "z-index" for each axis which could be realized with quaternions xD
@abhinavrobinson2310
@abhinavrobinson2310 3 месяца назад
@@perz1val yes, and have you seen texture clipping bugs in game. I might be wrong but that would be the same thing here with UI.
@thabo256
@thabo256 3 месяца назад
shouldn't it be w-index then?
@cherubin7th
@cherubin7th 3 месяца назад
How to center in 3D D:
@mrdoob
@mrdoob 3 месяца назад
Center is default in 3D 🤓
@martijnvdven
@martijnvdven 3 месяца назад
After making sure our React apps could take inline SQL just like the original PHP days, it is now time to make sure our React apps can inherit Flash as well!
@lukasmolcic5143
@lukasmolcic5143 3 месяца назад
ok boomer
@sauravyash
@sauravyash 3 месяца назад
dinosaur grindset
@shapelessed
@shapelessed 3 месяца назад
If your fan starts spinning then there's a simple solution. Take it out 👀
@corewwwi
@corewwwi 3 месяца назад
hold it
@900bands
@900bands 3 месяца назад
put it in rice
@scrapmine
@scrapmine 3 месяца назад
If they want a mac without fan noise they can get a macbook air.
@atomparish
@atomparish 3 месяца назад
My PC has NEVER been quieter thanks for the tip!
@shapelessed
@shapelessed 3 месяца назад
@@scrapmine Coincidentally, that's exactly what I did. I have a Ryzen 7 3700X PC that somehow idles at 27'C on air cooling at 170RPM, but goes up to 70'C at load and makes a fair amount of noise (not the annoying kind, but the wooshing air kind of sound) I just switch to my M2 Air in the evenings because it's dead silent. Then I only hear the high pitch from the docking station's coils -_-
@fev4
@fev4 3 месяца назад
you know what, this is actually a great way to avoid web scrappers
@NAMEYOUTUBER
@NAMEYOUTUBER 3 месяца назад
good luck to the bots trying to scrape data in the z-axis
@shawn-skull
@shawn-skull 3 месяца назад
and so SEO
@shawn-skull
@shawn-skull 3 месяца назад
and so SEO
@brandonwinston
@brandonwinston 3 месяца назад
I started programming in 3d engines and when I started web dev i was surprised this kind of UI wasn't around.
@d4v3w
@d4v3w 3 месяца назад
Reminds me of those good old Flash swf pages 20 years ago
@ktxed
@ktxed 3 месяца назад
history tends to repeat itself. we rediscovered php as htmx or 'use server' and canvas rendering as an homage to swf.
@atxorsatti
@atxorsatti 3 месяца назад
weird flex but ok
@niuniujunwashere
@niuniujunwashere 3 месяца назад
"weird *flex*" i see what you did there... ;)
@kubre
@kubre 3 месяца назад
Flexbox in 3d is not achievement we should be worried
@zuma206
@zuma206 3 месяца назад
i didn't know there were flexbox haters
@austinhutchen
@austinhutchen 3 месяца назад
@@zuma206 same
@waleedsharif618
@waleedsharif618 3 месяца назад
Flexbox is the best
@dannyisrael
@dannyisrael 3 месяца назад
Someone explain this to me plz.
@Nekroido
@Nekroido 3 месяца назад
This is insane. I have to try how well it works with Gameface. It would be super cool to make game UIs with this library
@staaky
@staaky 3 месяца назад
the b5x-stateful error message could be from a browser extension, 1password currently has that bug
@WhatsuppFudd
@WhatsuppFudd 3 месяца назад
The rant part on the canvas bug is food for thought on how little skills on drawing (2d or 3d) exist in web dev community. Just as D3S seems like a game changer but at the end of the day it's just a thin wrapper on svg, a new version of VRML minus an event/transition model is not going to change the fundamentals on the lack ef visualization skillsets in the web ui/ux world.
@jamesryan864
@jamesryan864 3 месяца назад
Would a hidden, unstyled, static dom copy work for a11y?
@ego-lay_atman-bay
@ego-lay_atman-bay 3 месяца назад
I use a block based programming language (like scratch) called snap, which uses morphic.js, a canvas ui library that the snap dev made (it's a reimplementation of morphic in javascript). It's not the best canvas ui library, but it is still pretty good.
@atxorsatti
@atxorsatti 3 месяца назад
looking back and walking forward doesnt mean you are actually working forward. can we please stop this bullshit and actually focus on stuff that would make things more performant?
@yugalkishor557
@yugalkishor557 3 месяца назад
is software engineering overhyped ? because of these so called indian youtubers glamorize it ?
@oneeyefpv
@oneeyefpv 3 месяца назад
Kind of ironic that Theo hates on Flutter / Dart, but props this library ... lots of bias going on
@craigalbert8054
@craigalbert8054 3 месяца назад
Looks like their own docs didn't put a size on the Canvas element.
@gullinbursti
@gullinbursti 3 месяца назад
Reminds me of the PaperVision3D days.
@AvanaVana
@AvanaVana 3 месяца назад
15:00 pronounced “dry”. As in German, for…3. As in R3F & 3D. 20:45 ew…no. I was an old macromedia flash and director (also…quark immedia…anyone remember that one??) developer years ago, but some things should just stay dead.
@karlgustav9960
@karlgustav9960 3 месяца назад
Actually 3d accessibility is not that difficult using web components. I’m currently building my own web component factory, but you can probably go with something like a-frame or lit components. The trick is to have to host component not use shadow Dom directly, but to add a child Div and put the canvas in a shadowroot in there. That way all simblings inside the host web component can receive keyboard input and tab focus. There is absolutely no need for r3f a11y that way. I implemented it as a wrapper around react components, using a component context to communicate between the react world and the webcimponent world, but I did this for convenience. Also using r3f you can set the frameloop to „demand“ then you MacBook stops glowing :-)
@NabekenProG87
@NabekenProG87 3 месяца назад
Hasnt there been a Svelte 3D library for some time now? But as far as I can remember it was only a proof of concept
@hicoop
@hicoop 3 месяца назад
Threlte is around and is being updated constantly. It nearly matches r3f and includes essentials from drei. I like it better because less code🤷‍♂️
@NabekenProG87
@NabekenProG87 3 месяца назад
@@hicoop Thats what I was thinking of, didn't remember the name. Glad to hear it got some updates since last time I used it, definietely going to check it out
@codeChuck
@codeChuck 3 месяца назад
1. What do I think? - I think, that I should do some project for me and make money on it. 2. Is the future 3D? - The future sites are same old 2D, but with 3D embeds for better experience, as you said. Some of them would be entirely in 3D. - Also the example you showed sucks hard, because I hate useless moving parts on the screen, that block actual useful UI. And UI should be static. Moving parts are good in video games. 3. Should we expect more component libraries to show up and challenge the way we think about things? - What? Of course! What kind question this is? We are JS devs! New lib or update everyday! Deploy to prod on save! 4. Is this a real competitor for the old days of flash? - Why not? It better to be fast, and do not burn the video card in the process.
@absurd0000
@absurd0000 3 месяца назад
R3F dev here, stoked to play with this!
@thedavistheory7674
@thedavistheory7674 3 месяца назад
Give some love to the react xr repo, last commit was 10 months ago I think
@Fanaro
@Fanaro 3 месяца назад
It is mindboggling that it took this long for us to get here though, considering that 3D videogame interfaces have existed for decades and decades by now.
@elirane85
@elirane85 2 месяца назад
Well, have you ever tried to use a website that has "game" like ui? It looks good but it's maybe one of the worst ways to present information. Game menus/ui are usually a small part of your application, not the main thing and they are not what you focus on when playing the game. When your entire application in the UI, all of this "fluff" gets in the way of actually using it effectively. But that's just my opinion, maybe other people do want their google searches to have bright flashing colors and 7 different types of effects ;)
@yugalkishor557
@yugalkishor557 3 месяца назад
is software engineering overhyped?
@vitalysuper3193
@vitalysuper3193 3 месяца назад
I like how devs still push examples that doesn’t work with out of the box configs 😊
@dimpleyadav874
@dimpleyadav874 3 месяца назад
I wonder if i can use this to make my spline tool canvas tag responsive or maybe i can embed my spline scene thru uikit and ditch spline tool altogether
@Nodsaibot
@Nodsaibot 3 месяца назад
lol F accessibility, 100% F it
@SG_01
@SG_01 2 месяца назад
It's a nice idea, but I'm not integrating an always running browser into Unreal, Unity or Godot or similar just to run a UI like this, and even if I did it would likely not be performant enough for most games, let alone AR / VR application. Remember that the target for that is at least 90 fps, preferably 120+, and you also still have a game to run next to that.
@vitalysuper3193
@vitalysuper3193 3 месяца назад
2024: we can render a button! This a revolutionary
@connorskudlarek8598
@connorskudlarek8598 3 месяца назад
For the AI bros, this right here is why AI won't replace software developers for decades. This is a unique bit of software that AI has never been trained on and does not have emergence to create apps like this. Learning this and figuring out how to make cool stuff with it is what you'll be doing as an engineer.
@ThatBidsh
@ThatBidsh 3 месяца назад
I feel like this is just Declarative style programming for 3D, which isn't really anything new, but there's a ton of room for improvement with the workflows involved in that
@superbryntendo
@superbryntendo 3 месяца назад
I might use this for temporarily banned users... It'd be super entertaining to just make their experience hilariously bad while they're on "timeout".
@alirezakarampoor8914
@alirezakarampoor8914 3 месяца назад
it's always funny to see front end devs rediscovering things that are considered old tech in other areas XD like WOW now we can render UI in opengl inside a canvas , game devs and imgui users are laughing so hard right now .
@ChristopherCricketWallace
@ChristopherCricketWallace 3 месяца назад
I wonder if some people will like this because it would be much harder to scrape it for AI training. (not impossible, though).
@tonnoztech
@tonnoztech 3 месяца назад
ei theo can you please make videos of 10 minutes rather than 20? I dont mind if you post double as much but I prefer shorter content. sometimes is difficult to allocate 20 min
@edhahaz
@edhahaz 3 месяца назад
2026: How to make websites with Source engine. This is so cool, you can render at 80fps, unseen on web before
@PootCoinSol
@PootCoinSol 3 месяца назад
it's weird not just putting the styling inside className. But I'm not a webdeveloper so what do I know
@Matt23488
@Matt23488 3 месяца назад
I've been a web dev for 10 years and the number of times I have tried to figure out why a page element is missing and it turned out to be something stupid like 'height: 100%' causing the element to collapse is mind-boggling.
@spartanatreyu
@spartanatreyu 3 месяца назад
has a default size though. The reason their canvas wasn't working was because they won't using , they were using some spaghetti dependency hell's reimplementation of . If they weren't trying to compose all of these libraries human-centipede style, they could have just used the canvas element and your single rendering library of choice.
@erentr7167
@erentr7167 3 месяца назад
this is just flutter but with 3d access
@Lucas-gt8en
@Lucas-gt8en 3 месяца назад
flutter is just html but without
@dynamohack
@dynamohack 3 месяца назад
wow simple laptop have barely have juice to render the site and this is so cpu intensive not even usable wtf
@matthewpolak2167
@matthewpolak2167 3 месяца назад
Why does your lip always look like it's running away from your teeth?
@wrathop274
@wrathop274 3 месяца назад
Bro got skill issued in the middle of the video.
@JeyPeyy
@JeyPeyy 3 месяца назад
That looks really cool and completely useless. Very impressive
@dragons_advocate
@dragons_advocate 3 месяца назад
1995 VRML flashbacks:
@snatvb
@snatvb 3 месяца назад
I am from big game dev and work on big product. So, yes, we use React & Typescript to build GUI :) so, we had xml as language to describe scenes in games. Now we got jsx - that really powerful and gives you a lot of possibilities :) I hope this will continue to develop
@corymbuz
@corymbuz 3 месяца назад
r3dy ui is a similar (much worse version of this)
@TBTapion
@TBTapion 3 месяца назад
I wish these things were made more framework agnostic Edit: pressed post a little too quickly. This is incredibly cool though. The flexibility of just having normal dom elements like this in the canvas is great
@Vin50000
@Vin50000 3 месяца назад
when he says go back to the 360 era at 4:53, I don't think he realizes that console came out 19 YEARS AGO
@preyescar1
@preyescar1 3 месяца назад
Super hyped, this will make developing 2D with 3D so much easier than using html elements 😊
@valkyrieqp
@valkyrieqp 3 месяца назад
Thanks I hate it (as a 3D programmer)
@sapito169
@sapito169 3 месяца назад
this is super cool but i dont need this use case
@merveillevaneck5906
@merveillevaneck5906 3 месяца назад
heavy dose of copium around 7:33
@Bryan-zo6ng
@Bryan-zo6ng 3 месяца назад
Can I create a VR app now in React?
@Fanaro
@Fanaro 3 месяца назад
Flutter done right?
@ktxed
@ktxed 3 месяца назад
A usecase for vision pro lol 😂
@deckyfx2188
@deckyfx2188 3 месяца назад
this looks fun, but seems will cause debugging nightmare
@LindseyMysse
@LindseyMysse 3 месяца назад
What about accessibility?
@FUNNYcheese0806
@FUNNYcheese0806 3 месяца назад
Ai proof your websites!
@Logan9312
@Logan9312 3 месяца назад
6:42 this is why JavaScript is the worst language
@spartanatreyu
@spartanatreyu 3 месяца назад
That's not a problem with JS, it's a problem with crappy developers using too many dependencies to the point that they don't know how any of them works. This happens in every language that isn't a toy or only has one library with any usage.
@med.brunofreire
@med.brunofreire 3 месяца назад
Well, Adobe Flash is coming back…
@mikescholz6429
@mikescholz6429 3 месяца назад
Grid works in 3D.
@arthur...barros
@arthur...barros 3 месяца назад
Macromedia Flash, been there, done that.
@MitchKerry
@MitchKerry 3 месяца назад
Yayy. Flash!
@j.r.r.tolkien8724
@j.r.r.tolkien8724 3 месяца назад
Please STOP!! 🤣
@MommysGoodPuppy
@MommysGoodPuppy 3 месяца назад
as a vr dev, im hyped
@AncientSocrates
@AncientSocrates 3 месяца назад
That's cancer
@hank9th
@hank9th 3 месяца назад
What exactly is UIkit? I see that word used in a lot of different contexts (e.g. as a web thing, or as being compared to Apple SwiftUI) and I can't quite wrap my head around it.
@probablism9773
@probablism9773 3 месяца назад
Apple "old" UI building framework. Quite wonky. SwiftUI replaces it. Very declaritive. Way better. UIKit sucked.
@azuretan
@azuretan 3 месяца назад
It’s used for a lot of things… YOOTheme has a library called UIKit too.
@xGalasko
@xGalasko 3 месяца назад
LET HIM COOK
@audas
@audas 3 месяца назад
Soooooooo - Flash AS3.0 - well, almost. Still a few years away. Rustwasm is bringing us closer - but this will help.
@MattThomson
@MattThomson 3 месяца назад
Every time something like this happens I just wish we could have open sources flash instead of killing it off. Many years ago they used to use scale form for UI which was basically as3
@audas
@audas 3 месяца назад
@@MattThomson 100%. But the problem wasn't flash - the problem was Apple wanting the App store to be profitable - it was in all the major corporations interests to kill flash.
@duro6969
@duro6969 3 месяца назад
flexcube
@aiamfree
@aiamfree 3 месяца назад
or you could use A-Frame …
@darukutsu
@darukutsu 3 месяца назад
i read firefox in 3d 🤦‍♂️
@geexup
@geexup 3 месяца назад
React bros goes crazzzy
@LlamaPony
@LlamaPony 3 месяца назад
flashify all the things
@trespaul
@trespaul 3 месяца назад
7:08 france jumpscare
@dominik_vit
@dominik_vit 3 месяца назад
Now let’s add RSC
@ikadekadigunawan5622
@ikadekadigunawan5622 3 месяца назад
it sound like a lot of core here
@tthecooljose4674
@tthecooljose4674 3 месяца назад
them designers are coming
@XEQUTE
@XEQUTE 3 месяца назад
15:05 Matching cubes lmao marchine cubes theo
@engageintellect
@engageintellect 3 месяца назад
Awesome 👏
@arsheikh_insight
@arsheikh_insight 3 месяца назад
what is the current web browser are you using now ?
@kernel0verflow919
@kernel0verflow919 3 месяца назад
Arc Browser by the Browser Company from NYC
@arsheikh_insight
@arsheikh_insight 3 месяца назад
@@kernel0verflow919 I will make one like this
@hb50777
@hb50777 3 месяца назад
Nd which theme is that on his vscode ?
@sourabhmalviya1893
@sourabhmalviya1893 3 месяца назад
Canvas is next flash
@spartanatreyu
@spartanatreyu 3 месяца назад
always has been
@razdingz
@razdingz 3 месяца назад
hey man this is coool , more 3d stuff , maybe i can get job finally , and get the woman...
@IftekharHossen-rv7ht
@IftekharHossen-rv7ht 3 месяца назад
Make a video on directus cms. Best best best headless cms I have ever used.
@Tobsson
@Tobsson 3 месяца назад
Cool. Cool, cool, cool. - Abed
@SunsetTechuila
@SunsetTechuila 3 месяца назад
Обед очки усы уютненько
@sub-harmonik
@sub-harmonik 3 месяца назад
wow more eye candy bloat, just what the javascript/web ecosystem needs
@paul_sanchez
@paul_sanchez 3 месяца назад
did I see this live or is this a re-upload? I've definitely seen this before
@samuelvishesh
@samuelvishesh 3 месяца назад
7:19 yeah, that’s why I hate dynamic languages like JS and Python. Cuz it doesn’t say what’s broken.
@davidbriggs8109
@davidbriggs8109 3 месяца назад
Yoga for multiple languages means it's supported in java, nodejs and c++ ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-wS3EmNgrfcw.htmlsi=c5uRflFlqaFgo6mG&t=233
Далее
Dear Oracle, it's time to free JavaScript
24:25
Просмотров 76 тыс.
The "Wrong Way" To Use React
39:30
Просмотров 111 тыс.
Это нужно попробовать
00:42
Просмотров 440 тыс.
The First Post-React Framework Just Launched
20:46
Просмотров 110 тыс.
Why Everyone Loves Zustand
29:27
Просмотров 84 тыс.
Why Doesn’t Everyone Use This Animation???
23:59
Просмотров 100 тыс.
We need to talk about "founder mode"
44:16
Просмотров 47 тыс.
How React Query Won
34:52
Просмотров 78 тыс.
A flexbox trick to improve text wrapping
5:02
Просмотров 216 тыс.