Loading video...

Video Failed to Load

Go Home

Using some magic to get this MVP DONE TONIGHT Linking components just like these rubber bands, high cohesion, low coupling. link, unlink, reconfigure. clean code, clean connections, clean execution CODING ALL NIGHT VIBING ALL NIGHT COME LOCK IN WITH ME

25,589 views • 1 year ago •via X (Twitter)

0 Comments

No comments available

Comments from the original post will appear here

Related Videos

Everyone's sleeping on image-to-3D AI models. They can make your app look incredibly unique, with just a little effort. Here's how. This is my calorie tracker, built in a week with nothing but prompting. Just Claude Code + a couple APIs. The visuals are all AI-generated. I'll be sharing the full workflow + all the crazy technical stuff Claude and I did to make this work, so nobody has to struggle through it like me. Deep dive coming soon! Till then, this is the high-level idea: 1. Get a clean image of the food (or whatever your asset is) - In my app, the user describes foods via text, or attaches images (or both) - If text, an LLM extracts the food description and formats it into a specific prompt I tuned for this design, and we generate an image using Z-Image Turbo through fal - If image, we do the same thing but with FLUX.2 [dev] to edit the user image into our reference design - Originally, both used Google Nano Banana, but switching to open models cut costs and latency a ton 2. Gaussian splatting (2D image → 3D model) - I tried various 2D-to-3D options on fal and ended up with TripoSplat as my preferred balance of speed, cost, latency; this turns an image into a 3D model that looks super high quality (link below) - The app displays the 2D image while our backend generates the 3D splat - We "groom" the splat to reduce size and load time by culling low-opacity/scale points 3. Render efficiently on device Originally, it looked great but ran at 10 FPS. Getting to 120 FPS was a crazy journey. TL;DR: - SwiftUI had to go; it forced us to render each asset in independent MTKViews, which wasn't workable - Instead, we composite every dish into one full-bleed CAMetalLayer using MetalSplatter (link below) - We had to make some optimizations within MetalSplatter's code too, to reduce the overhead of sorting points per render Then I added some finishing touches like the subtle rotation and parallax as they move around. I think it turned out pretty cool :) Overall, this took some effort, but we still got it done in less than a day. Hopefully your agent can follow in the footsteps of mine and do it much faster. Keep an eye out for the bigger writeup, which'll give your agent everything it needs. If you have any questions, drop em below!

Anshu

29,342 views • 2 months ago

Is your baby cutting a new tooth? The truth is, it can sometimes be difficult to get a good look. Babies aren’t legendarily cooperative when it comes to exploration of their mouths. But here’s an old trick that might help you get to the bottom of the situation. All you need is a clean glass - and voila! A window on your child’s gums! Teething usually begins with the two bottom incisors - located front and center - typically somewhere between 4 and 7 months of age. But, as with all things child development, teeth can arrive earlier or later in individual cases. Some babies are even born with natal teeth (though this isn’t always an ideal situation, both for the initiation of breast feeding and because these natal teeth often have weak root structures and, if dislodged, pose an aspiration danger… in which case a pediatric dentist may elect to remove them as a precautionary measure). While we’re on the topic of teething, know that the Food and Drug Administration warns against the use of over the counter numbing gels in young children. These products, which often contain a local anesthetics like Benzocaine or Lidocaine, can lead to a rare but serious (sometimes fatal) condition condition called methemoglobinemia, in which the oxygen-carrying capacity of red blood cells is greatly diminished. Instead, massage your baby’s gums with a clean finger or use a firm rubber (solid) teething toy. When did your little one(s) begin teething and what tips and tricks would you offer to help them through the discomfort? This toothy little one was shared to TT by chandler.crigler.

Dan Wuori

65,280 views • 2 years ago