I took some time this evening to implement support for custom GLSL shaders in my @threejs_org node sandbox.
Write your own custom vertex & fragment shader, and the engine will automatically build a node with input ports that correlates with the declared uniforms.
I want to use the value of a promise only if it’s already resolved, otherwise I want to use a placeholder (think content generation on the server side or SW, optimizing for TTFB).
Since promises don’t have `isResolved` or something similar, `Promise.race` comes in handy!
Lordon : « On se souvient comment le nœud gordien a été « résolu » : tranché par un coup de sabre. Ici, pareil. C’est que toutes ces institutions, à la fin des fins, il s’agit de les faire crever. » https://t.co/DTL6K5FDvD
Surprise! 🎊
I have been waiting for this for 3 years now, really happy to have finally shipped it with @benjamincanac, @IamNuxt and @sergeybedritsky 🙌
https://t.co/vhiHcprM3C
I'm very glad to share with you my last prod with @GameinSociety & @brig_ht. It's been hell of a journey (almost a year) to craft this video game for the @CentrePompidou. Hope you'll enjoy playing as much as i put love in it ! <3 #videogames#unity3d#art
https://t.co/mq9arwZVai
Tip: JavaScript's Array.flat() accepts a depth parameter. Array.flat(Infinity) flattens recursively until the array contains no more nested arrays! https://t.co/n4FI1nS2Ii
Whenever you want to store different data types in the same ArrayBuffer, things get hard.
📣With `buffer-backed-object` (~1kB), you can create objects (and arrays of objects!) backed by a buffer. Tailored for off-main-thread and WebGL use-cases.
https://t.co/bHriDrzMxI
RSF bâtit une immense « Bibliothèque libre » dans « Minecraft » pour permettre aux joueurs de pays pratiquant la censure sur le Net de lire des articles habituellement inaccessibles. https://t.co/mPak13t63R
Bady Dalloul évoque son pays d’origine, la Syrie, par des dessins blottis dans de toutes petites boites d’allumettes, exposées en enfilade sur les murs de l’expo #NotreMondeBrule@PalaisdeTokyo Bouleversant
La reconnaissance faciale est déjà là, et elle menace le droit de manifester, par @adeslebaroudeur. Relai d'un travail de fond mené par @laquadrature
https://t.co/Dbl9iVpue8