<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by rouven lue on Medium]]></title>
        <description><![CDATA[Stories by rouven lue on Medium]]></description>
        <link>https://medium.com/@rouvenlue?source=rss-8e7421db5d79------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sdsXGEiUqdbi377RKhFpiw.png</url>
            <title>Stories by rouven lue on Medium</title>
            <link>https://medium.com/@rouvenlue?source=rss-8e7421db5d79------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:41:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rouvenlue/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[You Can’t Just Tell Claude “Make No Mistakes”]]></title>
            <link>https://medium.com/@rouvenlue/you-cant-just-tell-claude-make-no-mistakes-5f6371f530fd?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f6371f530fd</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 13:01:07 GMT</pubDate>
            <atom:updated>2026-10-07T13:01:07.272Z</atom:updated>
            <content:encoded><![CDATA[<h4>What building with AI keeps teaching me</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YO0O5UNdUaA5WT3_ARU80A.jpeg" /><figcaption>Me working from a train</figcaption></figure><p>If working with AI has taught me one thing, it’s that no matter how good the first iteration is of something you want to build, there is still a very long way to go. You can’t just tell Claude “Build me this, make no mistakes” and expect it to be done after that run. You will probably get a decent first result, but you will have no idea what features are there, how they work and what they are actually supposed to do.</p><p>I’m currently making one last effort to revive my project <a href="https://www.mensorai.com/">MensorAI</a> that I built at the beginning of this year. To get a better understanding of how it gets discovered by search engines and AI in the future, I decided to build a new project for exactly that purpose: Lumacite.</p><h3>Months of work in a week</h3><p>It’s crazy that nowadays it is normal for me to be working on multiple larger projects at the same time. Coding work that would have taken me months can now be done in a matter of a week. That’s one side of AI that I personally love and hate at the same time. You can build and test new ideas so fast, but the core of coding shifted so much.</p><p>The things I enjoyed most about this work just aren’t there anymore to that degree. I don’t have to research and deeply understand different domains or topics to be able to implement something for them. Learning about new things through coding was one of my favourite things, whether it was something in the healthcare world or something industry specific. I just found it very interesting to broaden my knowledge about so many different topics.</p><blockquote>“It is important to draw wisdom from many different places. If you take it from only one place, it becomes rigid and stale.” — Uncle Iroh, Avatar: The Last Airbender</blockquote><p>When I started building MensorAI at the beginning of this year, it was my outlet for exactly that.</p><p>And AI allows you to get lazy but still feel more productive than ever. You write less code yourself, you mostly review and steer, and you’re tempted to stop learning new things because AI will do it faster anyway.</p><p><strong>But even then, I realize how hard it still is to build an actually good product.</strong></p><h3>Everything falls apart</h3><p>UI and UX are often enough horrible on the first iterations. At first glance they might look good, but as soon as you try to understand what is actually happening, everything falls apart.</p><p>MensorAI had a canvas, for example. I thought it would be a good idea to have that, but in reality it didn’t really make sense.</p><p>I had to manually drag all the videos and sources into it, connect everything to a chat and so on. Compared to just asking my library, the useless overhead was noticeable.</p><p>So I deleted the canvas for now. Maybe there will come a day where it could be a useful feature, but that’s still not decided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Z1qMVgegHObIpkkhStCwA.png" /><figcaption>The canvas in the live version of MensorAI. I’ve removed it from the next version.</figcaption></figure><h3>Grill-me and a design system</h3><p>To work around things like this, I use the <a href="https://www.aihero.dev/skills-grill-me">/grill-me</a> skill by Matt Pocock consistently throughout projects.</p><p>It helps me make architecture decisions, brainstorm features, or sometimes I let the AI run a grill session with itself to let it figure out where it went wrong.</p><p>With the canvas, that’s what I’d do next: ask the AI to run a grill-me session on that feature and think through how we could make it useful in the future.</p><p>If you combine that with a design system from the very beginning, you can already achieve much better results. And that can be as simple as deciding “use <a href="https://ui.shadcn.com/">shadcn</a>”.</p><h3>Going live is a different story</h3><p>Launching your project to production is still a totally different story. You have to think about what APIs you’re using, what they cost, your infrastructure around it, security, and making sure my bank account doesn’t get drained because my backend has a bug and I suddenly get a $50k invoice from Cloudflare.</p><p>MensorAI is already live, so adjusting it is not that hard. Lumacite is still a bit far away from that. I built the basic app, which is in a good state, but all the ins and outs around it are not there yet.</p><p>There’s no hosting setup, no payment setup, auth still needs to be adjusted, and then there’s security and everything that comes with that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f6371f530fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Favourite Thing About Programming Is Disappearing]]></title>
            <link>https://medium.com/@rouvenlue/my-favourite-thing-about-programming-is-disappearing-9cae574d7269?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cae574d7269</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[photography]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 06:28:33 GMT</pubDate>
            <atom:updated>2026-04-08T09:42:25.347Z</atom:updated>
            <content:encoded><![CDATA[<h4>AI can research it, implement it, and ship it. But the understanding that used to come with the work is gone.</h4><figure><img alt="https://petetakespictures.com/fujifilm-recipes" src="https://cdn-images-1.medium.com/max/1024/0*97wB79ij7xxv2BHe.JPG" /></figure><p>A couple of weeks ago, I finally cancelled my Adobe subscriptions because I’m not using Lightroom and Photoshop. I’m barely taking photos anymore. Most of my camera work is video now and Davinci Resolve handles that perfectly. But I kept my subscription alive just in case. From around 10€ when I first subscribed to 18€ now. I couldn’t justify it anymore.</p><p><strong>But then the question became: what do I use for the photos I do take?</strong></p><p>I looked at Darktable, Affinity Photo, a few others. Nothing struck me. And since I’m a lazy developer, I figured I’d just build my own thing.</p><p>If you’ve ever used a Fujifilm camera, you know the look they produce straight out of camera. Their film emulations give you that analog feel without touching a single slider. It just looks soo good from the start.</p><p>I shoot with Sony which has no built-in film looks. Just Raw files I’ve been editing in Lightroom for years. But Raw files contain a lot of information. Enough, in theory, to recreate that same analog feel. Tap a preset, it applies the look. Maybe tweak a few sliders and you’re done. That’s was the baseline for my project.</p><h3>Skimmed, Pasted, Shipped</h3><p>So I did some research. Found articles explaining the technical process behind film emulation. How colour science works, how you map tone curves, how different film stocks handle highlights and shadows differently.</p><p>But instead of reading through those articles properly, understanding the colour science, writing the code myself, hitting bugs, fixing them, actually learning how film emulation works under the hood… I skimmed the articles, pasted the links into Claude Code, and let it handle the implementation.</p><p>The result? It’s ok. Nothing crazy. You get a somewhat usable tool in a couple of minutes. But perfecting it still takes time. Just, without you gaining anything out of it. The tool exists. But the deep understanding of the technicalities and why it works is missing now.</p><p>That used to be my favourite part of programming.</p><h3>Every Project Left Me a Little Smarter</h3><p>In almost 8 years of building software, the thing I always loved was this: to deliver a good product, you had to understand the thing you were building. You’d never become an expert. But you’d walk away knowing how logistics routing actually works, or what makes healthcare data tricky, or why a sports brand prices things the way they do. Every project left you a little smarter about the world.</p><p>That’s fading. And I’m not blaming the tools. I’m pointing fingers at myself here.</p><h3>The Guilt of Wasting Time on Learning</h3><p>I’m getting lazier. I notice it. When everything moves this fast, spending 2 weeks going deep on colour science feels like a luxury you can’t afford. The AI can research it. The AI can implement it. You just orchestrate and check if the output looks right.</p><p>And sure, understanding the domain still helps. It’s probably the difference between getting slop out of the AI and getting something that works great. But the pull to skip that step is strong. The guilt of “wasting time” on learning when you could just ship is real.</p><p>Which is ironic. Because curiosity is the reason I’m traveling right now. I left Germany to put myself in unfamiliar situations, to learn things I can’t learn sitting at a desk. But somehow, in the professional world, that same curiosity is the first thing I let go of.</p><h3>The Answer Without the Wiring</h3><p>A developer who actually understands colour science is going to build a fundamentally different photo tool than one who just pastes articles into an AI. That’s not a small difference. The knowledge you gain from going deep on something compounds in ways you can’t predict. What I learned building healthcare software showed up years later solving a completely unrelated problem. Connections form between domains that have no obvious relationship on the surface. And those connections are what turn into better products, better ideas, better decisions down the line.</p><p>When you let AI handle the understanding, you get the answer. But nothing sticks. Nothing transfers. You feel like you learned something, but when the next problem shows up, you’re starting from zero again. Someone called this the extraction problem. The AI extracts the answer for you, and you move on. But the wiring that would have connected this project to the next one never formed.</p><p>My film emulation tool works. Sort of. But when something breaks, I won’t know why. When I want to tweak how it handles shadows, I’ll have no intuition for it. I skipped the part where understanding compounds into something I can actually build on.</p><p>Programming gave me that kind of overlap for free. Every client, every industry, every weird edge case left behind something I could carry forward. I didn’t set out to become someone who knows a little about a lot of different fields. The work just did that to me. And honestly, it’s one of the reasons I’m decent at what I do. Not because I’m the best coder. Because I understood the thing I was coding for.</p><p>Now I have to be intentional about it. The work won’t force me to learn anymore. The AI will happily skip that step. And if I let it, I’ll slowly become someone who knows how to orchestrate tools but doesn’t understand what they’re building or why.</p><h3>Back to the Articles</h3><p>So I’m going back to those colour science articles. I want to know how Kodak Portra handles highlights. I want to understand why Fuji Velvia makes greens look the way they do. Maybe I’ll rewrite parts of the code myself, even if it takes longer.</p><p>Not because the AI can’t figure it out. Because that curiosity was always the whole point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cae574d7269" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I built an AI agent that remembers every tutorial I’ve watched]]></title>
            <link>https://medium.com/@rouvenlue/i-built-an-ai-agent-that-remembers-every-tutorial-ive-watched-efdf51719a96?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/efdf51719a96</guid>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Mon, 09 Mar 2026 03:07:21 GMT</pubDate>
            <atom:updated>2026-03-09T03:07:21.861Z</atom:updated>
            <content:encoded><![CDATA[<h4>Because “Watch Later” is where good intentions go to die.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0JVNIjxnlvkY5NUwoPwpQ.png" /><figcaption>Screenshot of MensorAI Library</figcaption></figure><p>I was mid-conversation with a friend, and I knew I’d watched a video about exactly this. Some tutorial that explained it perfectly. But I couldn’t find it. Not in my history, not in my likes, not anywhere. Gone in the depths of YouTube.</p><p>This kept happening. I watch a lot of tutorials across many different topics. Naturally, you just lose track. And YouTube’s own tools don’t help.</p><p>I probably watch 300+ tutorials a year. I’d guess maybe 5% of that actually sticks. The rest dissolves somewhere between “I should remember this” and the next video autoplay.</p><p>So I started building a system to fix it. Piece by piece, problem by problem. Here’s what I ran into and what I built.</p><h3>The retrieval problem</h3><p>YouTube’s search is designed to help you discover new content. It’s terrible at helping you find something you already watched.</p><p>Your history is a reverse-chronological dump with bad search, bad filtering and no context. Liked videos become a dumping ground you never revisit. You remember the concept but not the creator, the title, or when you watched it.</p><p>I built a Chrome extension that lives inside YouTube. You’re watching something, you open the sidebar with a shortcut, you start typing. That’s it.</p><p>The AI already has the full context through the transcript. You can ask questions, get summaries, extract key points. All while watching. And everything you interact with becomes searchable later.</p><p><strong>Zero friction was the constraint.</strong> If saving a video takes more than 2 seconds, you won’t do it. I know because I tried Notion, Obsidian, bookmarks, and a spreadsheet. None of them lasted more than a week.</p><h3>Watching doesn’t mean learning</h3><p>Your “Watch Later” list is a guilt trip. You save videos with good intentions and never go back. And even when you do watch them, passive consumption barely registers.</p><p>I built SpeedMode for this. The AI analyzes the full transcript and gives you a brief. Then it tests your understanding with questions specific to that video. It rates your answers and uses them to write your notes directly.</p><p>A 45-minute tutorial becomes 3 minutes of actual insight, plus notes you didn’t write.</p><p>This sounds like a small thing. It changed my daily workflow more than anything else I built. The reason is simple: active recall (testing yourself on material) beats passive consumption every time. There’s decades of learning science behind this. I just bolted it onto YouTube.</p><h3>Isolated notes don’t compound</h3><p>After a few months I had notes, transcripts, and context from hundreds of videos. All separate. All isolated. I couldn’t ask “<em>what do I know about database indexing?</em>” without manually digging through folders.</p><p>Here’s what I wanted: <strong>the more you save, the smarter it gets.</strong> Your library should compound, like a savings account for knowledge.</p><p>I built semantic search for this. Not keyword matching, meaning-based retrieval. That became the foundation for something bigger: you can chat with your entire library. The AI has all the context (your notes, the transcripts, everything) and answers with references to specific videos.</p><p>200 saved videos across 15 topics, and you can query all of them at once. “<em>What did I learn about caching strategies?</em>” pulls from 4 different videos you saved over 6 months.</p><p>Personal knowledge should be queryable. Not just stored.</p><h3>Your knowledge lives outside your workflow</h3><p>You’re coding, you hit a wall, you know you’ve watched a video about this exact problem. You open YouTube, get distracted by the homepage, lose 20 minutes, and maybe find the video. Maybe not.</p><p>I built an autonomous research pipeline that searches your library first, then discovers new YouTube content, evaluates it, saves the best videos, and synthesizes everything into a comprehensive answer. Your library gets smarter with every query.</p><p>Then I shipped it as a tool that plugs into <a href="https://github.com/anthropics/claude-code">Claude Code</a>, <a href="https://cursor.com/">Cursor</a>, or any AI coding assistant. Your second brain, inside your editor.</p><p>The first time it pulled an answer from a video I’d forgotten about, I knew this was working. I was debugging a streaming issue, triggered the research tool, and it referenced a video I’d saved 3 months ago about Server-Sent Events.</p><p>The answer was already in my library. I just couldn’t reach it before.</p><p>Every research query makes your library more valuable. Every saved video becomes searchable context for future questions. The compounding is real.</p><h3>The bigger picture</h3><p>We consume more educational content than any generation before us. Almost none of it sticks. I don’t think the fix is watching less. It’s building systems that make watching count.</p><p>I’m still iterating on this daily. The extension is <a href="https://www.mensorai.com/">live</a> if you want to try it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efdf51719a96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sometimes You Have to Move Backwards to Leap Forward]]></title>
            <link>https://medium.com/@rouvenlue/sometimes-you-have-to-move-backwards-to-leap-forward-07a5b64e23d2?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/07a5b64e23d2</guid>
            <category><![CDATA[short-story]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[digital-nomads]]></category>
            <category><![CDATA[lifestyle]]></category>
            <category><![CDATA[business]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 16:59:49 GMT</pubDate>
            <atom:updated>2026-01-09T16:59:49.514Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A reflection on 2025: the year I lost my security and gained freedom.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*9lndvou38Sq7IM_iginkvQ.jpeg" /><figcaption>Drawing of a man moving a chess piece</figcaption></figure><p>I’m writing this from a co-working space in Bangkok. Three months ago, I had no idea I’d be here. A year ago? I couldn’t have imagined this life was possible.</p><p>2025 wasn’t the year I planned. It was better and worse than anything I could have predicted.</p><h4><strong>January: The Beginning</strong></h4><p>The year started the way I wanted all my years to start: in motion.</p><p>I flew to Berlin to visit friends, then straight to Cape Town. No return ticket. No concrete plan. Just this feeling that I needed to be somewhere else, doing something different.</p><p>Cape Town looked like a dream from the outside. And honestly, in many ways, it was. I was technically solo traveling, but I was never really alone. I met incredible people. New friends, old friends, the kind of people who make you feel like you’re exactly where you’re supposed to be. I attended a filmmaking retreat, spent days exploring, felt alive.</p><p>But behind the scenes, everything was falling apart.</p><h4><strong>The Call</strong></h4><p>Somewhere between the beaches and the new friendships, I got the message.</p><p>The company I’d worked for, for six years, was shutting down. They couldn’t continue. Just like that, the stability I’d built my life around was gone.</p><p>I was on the other side of the world, and I felt it. That special kind of existential dread that hits when your safety net disappears mid-flight.</p><p>I had two choices. Panic and fly home to scramble for another job. Or go all in on what I’d been avoiding for years.</p><p>I wish I could tell you I made that decision with confidence. I didn’t. I was terrified. I lay awake at night running the numbers, imagining worst case scenarios, wondering if I was about to make the biggest mistake of my life.</p><p>I chose to go all in anyway.</p><h4>The Pivot</h4><p>I’d known for a long time that a “normal” job wouldn’t give me the freedom I was looking for. I’d just been too comfortable. Or too scared. Probably both.</p><p>Here’s the thing nobody tells you about making a big life change: the fear doesn’t go away. You don’t wake up one day feeling ready. You just eventually realize that staying where you are scares you more than jumping.</p><p>Losing my job wasn’t a setback. It was permission. Permission I’d been waiting for someone else to give me for years.</p><p>I decided to go all in on freelancing. No backup plan. No safety net. Just the belief that if I didn’t do it now, I never would.</p><h4>March: Moving Backwards</h4><p>When I got home in March, I made a decision that felt like defeat at the time.</p><p>I moved back in with my parents.</p><p>After years of independence, living on my own, building my adult life… I packed everything up and moved back home.</p><p>Why? Cutting costs, mostly. I’d just started a business with zero stable income. Paying rent didn’t make sense. And I needed runway to figure out what I was building, without monthly expenses crushing me.</p><p>It felt like failure. Like I’d gone backwards. Like everyone was watching me retreat.</p><p>But here’s what I learned: sometimes you have to take a step back to take a massive leap forward.</p><h4>Summer: Building Momentum</h4><p>Over the summer, I traveled constantly. France, Lisbon, Southern Spain, Barcelona.</p><p>I found new hobbies. Started DJing. (Still can’t quite believe that happened.) Played sets for friends. DJ’d at a creator event in Barcelona.</p><p>I was building something. Not just a business, but a life I actually wanted to live.</p><p>And I was planning my next move. The big one.</p><h4>October: The Leap</h4><p>In October, I made it official. I was going full digital nomad.</p><p>I need to be honest about something. In the weeks before I left, I was a mess. I kept second-guessing everything. What if freelancing dries up? What if I get lonely? What if I hate it? What if I run out of money on the other side of the world? What if this whole thing was a fantasy that sounds better than it actually is?</p><p>I almost backed out. Multiple times.</p><p>But I kept coming back to the same question: if not now, when? I had no lease. No job tying me down. No relationship keeping me in one place. Every condition I’d been waiting for was right there in front of me. And I was still scared.</p><p>That’s when I realized something. The fear wasn’t a sign to stop. It was a sign I was onto something. The things that scare you the most are usually the things that matter the most. The discomfort isn’t a warning. It’s an invitation.</p><p>So I did it. I bought the ticket. I left. Hands shaking, stomach in knots, no idea what was waiting for me.</p><p>It’s been three months now.</p><h4>Today: Bangkok</h4><p>I’m sitting in a co working space in Bangkok, and I couldn’t imagine anything better.</p><p>I can be wherever I want, whenever I want.</p><p>I’ve made friends all around the world. Something that feels like a special kind of privilege.</p><p>I’m building things I care about. I’m learning constantly. I’m living intentionally.</p><p>And yeah, I’m still scared sometimes. That hasn’t changed. But I’ve learned to take it as a good sign.</p><h4>What 2025 Taught Me</h4><p>Security is an illusion. The “safe” path can disappear overnight. The only real security is the ability to adapt.</p><p>Freedom requires sacrifice. Moving back with my parents felt like regression. It was actually the smartest decision I made all year.</p><p>The best decisions feel terrifying. If you’re not scared, you’re probably not growing. I was scared before going freelance. Scared before leaving Germany. Scared before almost every meaningful decision I made this year. I did them anyway. That’s the whole game.</p><p>Community is everything. From Cape Town to Bangkok, the people I’ve met have been the real reward. Not the places, not the freedom. The people.</p><p>You’re more capable than you think. A year ago, I couldn’t have imagined this life. Now I’m living it.</p><h4>Looking Forward: 2026</h4><p>I don’t know where I’ll be in 12 months. That used to scare me. Now it excites me. Okay, it still scares me a little. But I’ve made peace with that.</p><p>What I do know: I’m building tools to help people learn and grow. I’m documenting this journey, the messy, beautiful reality of it. I’m committed to living intentionally, not accidentally.</p><p>To everyone who supported me through this crazy year. I don’t even know where to start, but thank you. For believing in me when I didn’t believe in myself. For the couch surfing, the advice, the late night conversations, the encouragement. For talking me off the ledge when I was ready to abandon the whole plan.</p><p><em>Let’s make 2026 even better.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07a5b64e23d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built a Tool to Help Me Learn More from the Videos I Already Watch]]></title>
            <link>https://medium.com/@rouvenlue/i-built-a-tool-to-help-me-learn-more-from-the-videos-i-already-watch-cc276ac070df?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc276ac070df</guid>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[saas-tools]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Fri, 08 Aug 2025 20:04:32 GMT</pubDate>
            <atom:updated>2025-08-08T20:04:32.461Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Chrome extension I built to fix my YouTube learning habit.</h4><p>I watch a lot of YouTube. Probably too much.</p><p>Coding tutorials, productivity breakdowns, design tips, business advice — if it’s educational, I’ve probably watched it at 1.5x speed while convincing myself I’d remember it all.</p><p>Spoiler: I don’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*DitqKEMXlrpff-O_.jpg" /><figcaption>Person studying in front of a laptop with headphones on</figcaption></figure><h3>The Problem Nobody Talks About</h3><p>We’re drowning in incredible content, but we’re terrible at retaining any of it.</p><p>Think about it: When was the last time you took actual notes during a YouTube video? Or reviewed what you learned after?</p><p>Most of us treat YouTube like entertainment — even when we <em>think</em> we’re learning. We consume passively, then wonder why nothing sticks.</p><p>I tried fixing this the obvious way:<br>Opening a Notes app.<br>Creating “Learning” folders.<br>Telling myself I’d be more disciplined.</p><p>But let’s be honest: who has time to context-switch every time something clicks?</p><p>The friction killed it every time.</p><h3>Enter MensorAI</h3><p>After months of forgetting valuable insights, I got fed up and built something stupid simple: a Chrome extension that reminds you to take notes at just the right moment: <strong>right before the video ends</strong>.</p><p>No new workflow. No dashboards. Just a small, well-timed nudge that pops up when you’ve watched about 90% of a video.</p><p>That’s it.</p><p>It’s not about asking fancy questions or tracking every second — it’s just a lightweight way to <strong>capture your thoughts while they’re still fresh</strong>. One quick note, saved automatically to your personal library. Done.</p><h3>Why This Actually Works</h3><p>I’m not a learning scientist, but I know what doesn’t work: hoping I’ll remember something later or just saving it to my “watch later playlist”…</p><p>Research on active learning backs this up. Reflection and real-time note-taking dramatically improve retention. But most tools make this harder, not easier.</p><p>MensorAI works because it meets you where you already are.<br>You’re already watching YouTube. Now you’re just thinking about it a little more deliberately.</p><h3>What It Looks Like in Practice</h3><p>Install the extension → Watch videos like normal → Get prompted occasionally → Jot down quick thoughts → Actually remember stuff.</p><p>That’s it.</p><p>Your notes are stored in the extension, organized by video, searchable, and exportable. Nothing fancy, but it works.</p><h3>Who This Is For</h3><p>If you:</p><ul><li>Learn anything from YouTube (that’s most of us)</li><li>Get frustrated forgetting valuable ideas</li><li>And want to retain more without adding complexity</li></ul><p>Then this might help you too.</p><h3>The Honest Truth About Building This</h3><p>I built MensorAI because I was the target user. It started as a weekend project to solve my own problem and as it turns out I actually use it every day right now.</p><p>Is it revolutionary? Nope.<br>Is it a simple fix for an annoying problem? I think so.</p><h3>Try It Out</h3><p>MensorAI is free and takes 30 seconds to install. If you learn from YouTube and want to remember more of it, give it a shot.</p><p>It’s currently still really barebones, but I plan to add more and more features to it! Especially if other people also might find it helpful.</p><p>If it helps, great.<br>If not, uninstall it and forget I ever brought it up.</p><p>But if you’re like me, someone who genuinely wants to grow but struggles with information overload, this might be exactly what you need.</p><p>👉 <a href="https://www.mensorai.com/">Install MensorAI for free</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc276ac070df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Blender to the Web: Creating a 3D Donut Animation with React and Three.js]]></title>
            <link>https://medium.com/@rouvenlue/from-blender-to-the-web-creating-a-3d-donut-animation-with-react-and-three-js-2b4f655c11f0?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b4f655c11f0</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[threejs]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 23:27:47 GMT</pubDate>
            <atom:updated>2023-02-01T23:27:47.785Z</atom:updated>
            <content:encoded><![CDATA[<h4>Bringing my 3D donut to life with animations</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*erv-AxeZbq5ou-HC5e4Lmw.png" /><figcaption>current state of my expiremntal site</figcaption></figure><p>Last week I started improving my experimental donut website. This has helped me to get more comfortable with the fundamentals of react again and to get a better feel for the basics of three.js.</p><p>I have been reading through some of the react-three/drei documentation to see what I can do and have gotten a few ideas which i immediately tried to implement.</p><h3>Setting up the Animation</h3><p>Since I followed the Blender tutorial to create the donut, I also created a simple animation, which I wanted to play when the user clicks on the donut.</p><p>Fortunately, this was way easier than I thought. The code I generated based on the model already had some hooks implemented which took care of the most part.</p><pre>const { nodes, materials, animations } = useGLTF(<br>  &quot;/new-donut-for-threejs.gltf&quot;<br>);<br>const { actions } = useAnimations(animations, group);</pre><p>I’m using the useGLTF() hook from the @react-three/drei package, which uses useLoader and the GLTFLoader internally, to load the donut model.</p><p>In order to actually play back the animation, I need to use an AnimationMixer, and to do this easily I can use the useAnimations hook, which abstracts away the AnimationMixer.</p><p>Then, I can use the destructured actions variable from the object that the hook returned to work with the animation. As I wanted to play the animated sequence when the user clicked on the model, I had to create an onClick function which I added on the whole group of the model. In hindsight I probably should have added it on the mesh instead, but it worked either way.</p><h3>How to play the Animation</h3><p>In theory, it is pretty easy to play the animation. The actions variable has both a play() and a stop() function and it technically worked perfectly.</p><p>I created an animationState to check if I should start or stop the animation and updated the variable respectively.</p><pre>const [animationState, setAnimation] = useState(false);<br><br>const handleClick = () =&gt; {<br>  if(!animationState) {<br>    setAnimation(true);<br>    actions.DonutAction.play();<br>  } else {<br>    setAnimation(false);<br>    actions.DonutAction.stop();<br>  }<br>}</pre><p>The only catch was, that the stop() function completely reset the animation. Which means the donut suddenly jumped back to its starting position. This was fine for now, but I really wanted to find a solution, where the animation would just stop where it was and continue from there when the user clicked again.</p><h3>Follow my Mouse</h3><p>I wanted to let to donut follow the mouse movements of the user to make the whole site feel a bit more alive. This was actually pretty easy to achieve with some simple math and the useFrame hook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qQ-D17rBaOywhoAq_yeOyw.png" /></figure><p>The useFrame hook is called every frame which is perfect to implement effects like this.</p><p>It takes in a callback function which receives a state containing a lot of useful data such as the mouse position which is perfect for what I want to do.</p><p>First of all, I calculated the x and y coordinates based on the mouse position and the viewport dimensions and divided it by a number that basically represents how sensitive the effect is.</p><p>Then I just use the handy lookAt() function from the reference I initialised earlier and wrap the code inside an if statement, because it should only follow the mouse when the animation is inactive.</p><pre>const group = useRef();<br><br>useFrame(({ mouse, viewport }) =&gt; {<br>  if (!animationState) {<br>    const x = (mouse.x * viewport.width) / 2.5;<br>    const y = (mouse.y * viewport.height) / 2.5;<br>    group.current.lookAt(x, y, 1);<br>  }<br>});</pre><h3>Fixing the Animation</h3><p>After getting the small mouse feature working, I went back to trying to solve my animation problem. After Almost an hour of trial and error and reading the documentation, I finally found the the setEffectiveTimeScale() function.</p><p>To understand why the stop() function was not working in the first place I want to explain this in a bit more detail. Where working on an AnimationAction instance which has a few properties to keep track of the current state of the animation.</p><p>For instance: if you call isRunning() on an action a few conditions must be met for the function to return true. paused must be equal to false, enabled must be equal to true, timeScale is not 0, and there is no scheduling for a delayed start. The latter was not important in this case.</p><p>So what happens when you call the stop() function? The animation will be immediately stopped AND reset and that means that paused is set to false, enabled is set to true and time to 0. This why the animation suddenly jumps to its initial state, so I had to find another solution.</p><p>This is where I found the setEffectiveTimeScale() function. As the name says, it lets me set the timeScale of the animation and to stop, or better, to pause the animation I just set the value to 0.</p><p>It worked just as I wanted. The animation stopped exactly where it had been paused. Now the only issue was that I suddenly could not continue the animation. After debugging my code I was even more confused because everything was called as I expected.</p><p>So back to reading the documentation. Turns out, calling the play() doesn’t necessarily mean that the animation starts immediately. It is also bound to some conditions. I quickly realised what the problem in my specific situation was.</p><p>Quoted from the <a href="https://threejs.org/docs/index.html#api/en/animation/AnimationAction.play">documentation</a>:</p><blockquote><em>Some other settings (</em><a href="https://threejs.org/docs/index.html#api/en/animation/AnimationAction.paused"><em>paused</em></a><em>=true, </em><a href="https://threejs.org/docs/index.html#api/en/animation/AnimationAction.enabled"><em>enabled</em></a><em>=false, </em><a href="https://threejs.org/docs/index.html#api/en/animation/AnimationAction.weight"><em>weight</em></a><em>=0, </em><a href="https://threejs.org/docs/index.html#api/en/animation/AnimationAction.timeScale"><em>timeScale</em></a><em>=0) can prevent the animation from playing, too.</em></blockquote><p>Guess what I just did? Exactly! I set the timeScale to 0!</p><p>So for now my solution is that I just set the timeScale to 1 right before the play() function gets called.</p><pre>const handleClick = () =&gt; {<br>  if(!animationState) {<br>    setAnimation(true);<br>    actions.DonutAction.setEffectiveTimeScale(1)<br>    actions.DonutAction.play();<br>  } else {<br>    setAnimation(false);<br>    actions.DonutAction.setEffectiveTimeScale(0)<br>  }<br>}</pre><p>This definitely doesn’t feel like the intended way, but it works for now.</p><h3>Adding some Springs</h3><p>Now that I got some really basic stuff working, I wanted to have more possible interactions with and effects with the donut. And I’ve already seen a few examples where <a href="https://www.react-spring.dev/">react-spring</a> is getting used in combination with three.js so I wanted to try it out!</p><p>The package comes with its own set of hooks and animated elements to make your life as easy as possible. The hook which I’ll probably be using the most is useSpring.</p><p>My idea is pretty simple. When the user hovers over the donut, it should get bigger, and when the cursor leaves the donut, it should return to its normal size. And react-spring actually makes this quite simple for you.</p><p>First of all, I needed a way to detect if the user has hovered the donut. Well the biggest problem was figuring out what the property was actually called because there were like 3 different variants but onPointerOver and onPointerOut finally worked for me.</p><p>I quickly setup another state variable which I just called ‘active’.</p><p>The naming is so good nobody who would read the code later knew why it even exists at first glance.</p><p>In the onPointerOver function I just call setActive(true) so I know the user is currently hovering over the donut and in the onPointerOut function i do the opposite and call setActive(false).</p><p>With that out of the way I could initialse the useSpring hook and change the scale property depending on the active state.</p><pre>const { scale } = useSpring({<br>  scale: active ? 1.5 : 1,<br>});</pre><p>Now I only had to change the mesh element with an animated.mesh element that’s coming with @react-spring/three and everything was working as intended.</p><p>In the meantime I also moved logic to start and pause the animation from the onClick function to the hover logic, because for me it felt way smoother this way.</p><pre>&lt;animated.mesh<br>  scale={scale}<br>  onPointerOver={() =&gt; {<br>      setAnimation(true);<br>      actions.DonutAction.setEffectiveTimeScale(1)<br>      actions.DonutAction.play();<br>      setActive(true)<br>    }<br>  }<br>  onPointerOut={() =&gt;{<br>      setAnimation(false);<br>      actions.DonutAction.setEffectiveTimeScale(0)<br>      setActive(false)<br>    }<br>  }<br>&gt;<br>&lt;/animated.mesh&gt;</pre><h3>Adding some Color</h3><p>This was my last accomplishment for this week. I wanted to add some more color and not just this boring black background. I found a nice <a href="https://codesandbox.io/s/8x50e?file=/src/App.tsx">example</a> on the react spring documentation for a changing background color with async CSS variables. This was probably way more complicated than it had to be, but it was a nice little challenge to get it working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sTtIK5K8AYNSbjYxonAIrQ.png" /><figcaption><a href="https://codesandbox.io/s/8x50e?file=/src/App.tsx">https://codesandbox.io/s/8x50e?file=/src/App.tsx</a></figcaption></figure><p>So how did i do it?</p><p>In the App component where I currently implement my donut component and which is also at the root of the react application I pasted the the code for the spring.</p><pre>const [{ background }] = useSpring(<br>  () =&gt; ({<br>    from: { background: &quot;var(--step0)&quot; },<br>    to: [<br>      { background: &quot;var(--step1)&quot; },<br>      { background: &quot;var(--step2)&quot; },<br>      { background: &quot;var(--step3)&quot; },<br>      { background: &quot;var(--step4)&quot; },<br>    ],<br>    config: config.molasses,<br>    loop: {<br>      reverse: true,<br>    },<br>  }),<br>  []<br>);</pre><p>I added the variables in the CSS file.</p><pre>:root {<br>  --step0: #050505;<br>  --step1: #bad5ea;<br>  --step2: #fd8769;<br>  --step3: #ffdcb3;<br>  --step4: #ff615d;<br>}</pre><p>And the animation part should be working. Now I only needed figure out a way to know when the user was hovering the donut to change the style of the root div to this animated background.</p><p>Well my solution is quite simple. I once again created a new state variable in the App component.</p><pre>const [isHovering, setIsHovering] = useState(false);</pre><p><em>Which for some reason I decided to name properly this time.. Well still not perfect but better.</em></p><p>Then I implemented a callback function in the Donut component which I just called onHover and i would pass it true if it was called in the onPointerOver function, or false in the onPointerOut function.</p><pre>&lt;animated.mesh<br>	onPointerOver={() =&gt; {<br>	  setAnimation(true);<br>	  props.onHover(true);<br>	  actions.DonutAction.setEffectiveTimeScale(1);<br>	  actions.DonutAction.play();<br>	  setActive(true);<br>	}}<br>	onPointerOut={() =&gt; {<br>	  setAnimation(false);<br>	  props.onHover(false);<br>	  actions.DonutAction.setEffectiveTimeScale(0);<br>	  setActive(false);<br>	}}<br>&gt;<br>&lt;/animated.mesh&gt;</pre><p>Looking at this now, the code definitely needs some refactoring, but I’ll do that later..</p><p>Back in the App component I just had call setIsHovering() in the callback function</p><pre>&lt;DonutGLTF onHover={(isAnimating) =&gt; {setIsHovering(isAnimating)}} /&gt;</pre><p>And now I could make the final changes to the root div. Since it should be animating I also needed to change it to an animated.div element and finally, I only had to add this line as an attribute, which just checks if isHovering is true and then adds the background as a style, or null if it’s false.</p><pre>style={isHovering ? { background } : null}</pre><p>Next week what I want to achieve is, to get particles around the donut and implement some kind of 3D text, because this going to be essential when I’m going to create my actual site.</p><p>Thank you for reading!</p><p>Sources:</p><p>react-three/drei documentation: <a href="https://github.com/pmndrs/drei">https://github.com/pmndrs/drei</a></p><p>Documentation for AnimationAction: <a href="https://threejs.org/docs/#api/en/animation/AnimationAction">https://threejs.org/docs/#api/en/animation/AnimationAction</a></p><p>Documentation for AnimationMixer: <a href="https://threejs.org/docs/#api/en/animation/AnimationMixer">https://threejs.org/docs/#api/en/animation/AnimationMixer</a></p><p>Documentation for use-spring: <a href="https://react-spring.dev/docs/components/use-spring">https://react-spring.dev/docs/components/use-spring</a></p><p>Example for an animated background: <a href="https://codesandbox.io/s/8x50e?file=/src/App.tsx">https://codesandbox.io/s/8x50e?file=/src/App.tsx</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b4f655c11f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating my Interactive 3D portfolio: Getting sidetracked with Blender]]></title>
            <link>https://medium.com/@rouvenlue/creating-my-interactive-3d-portfolio-getting-sidetracked-with-blender-a6d1c9564b4f?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6d1c9564b4f</guid>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[threejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[blender]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Mon, 16 Jan 2023 13:44:39 GMT</pubDate>
            <atom:updated>2023-01-16T13:44:39.282Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating a 3D portfolio can be a challenging and exciting experience. This past week, I decided to take on the task of creating a basic design for my website, but I quickly found it difficult to create illustrations for a 3D design that included animations and other interactions, which are not typical for a normal website. So I decided to dive deeper into three.js instead.</p><p><em>Watch the video for this article:</em> <a href="https://www.youtube.com/watch?v=dgI7xAle_Vs">https://www.youtube.com/watch?v=dgI7xAle_Vs</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_i95R7VPP5diYndDZLGPOQ.png" /><figcaption>Example 3D gallery from the react-three/drei documentation (<a href="https://lx2h8.csb.app/">https://lx2h8.csb.app/</a>)</figcaption></figure><h3>Improving my Donut</h3><p>Three.js is a powerful JavaScript library that allows you to create interactive 3D graphics in the browser. I spent a significant amount of time watching the <a href="https://threejs-journey.com/">three.js journey course</a> from <a href="https://bruno-simon.com/">Bruno Simon</a>. Although the course is quite elaborate and I am far from finishing it, it has been a great resource for learning and understanding some core concepts of the library. These include working with cameras, geometry, textures, and how to use one of the many possible debug UIs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WlJMNW0f6j12UzjhdAyx2Q.png" /><figcaption><a href="https://bruno-simon.com/">https://bruno-simon.com/</a></figcaption></figure><p>For now, I decided to keep improving my donut proof of concept. Previously, I had run into issues with getting the sprinkles to work in the exported render. I created them using Geometry Nodes in Blender, but I couldn’t get them to work properly. After mentioning this in a <a href="https://youtu.be/QDoiD5vst9o">previous video</a>, someone suggested that I use a “Realize Instances” node to fix the issue. I immediately opened Blender, went to the “Geometry Nodes” tab, and added the missing node at the end of the node tree. I exported the render and opened it in a preview, but nothing changed.</p><h3>What went wrong?</h3><p>I realized that I had been adjusting the wrong node tree the whole time, which was why nothing was working as expected. After unpinning the node tree, selecting the correct object, and adding the “Realize Instances” node, I exported the render again and finally got the sprinkles I wanted. However, the sprinkles material stopped working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h_FWBixyhnrZv3kmWhRBjw.png" /><figcaption>Example of the broken sprinkle material in Blender</figcaption></figure><p>This problem got me really invested, and I went straight into tunnel vision. After spending way too much time researching this issue, I finally found an <a href="https://blenderartists.org/t/geometry-nodes-how-to-realize-instances-with-material/1366001/13">answer</a> to fix it. In short, I needed a different method to generate the random colors for the sprinkles.</p><h3>The Fix</h3><p>I was using the random value generated by the “Object Info” node and connected it into the “Color Ramp” to get a variety of colors. However, as soon as I realized the instances, they were no longer unique objects to Blender. The solution was to generate a random value inside the “Geometry Nodes” and use it as an output. I don’t understand enough of Blender to explain what’s going on behind the scenes, so I’ll just show you what I did:</p><p>First, I added an “Index,” a “Capture Attribute,” and a “Random Value” node. Then, I added the “Capture Attribute” before the “Instance on Points” node and connected the Geometry to Points attribute. After that, I used the “Index” as a “Value” and connected that output to the “Random Value” node, which finally gave me an output I could use in the shader.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fTu1umKeuSug2VdTqtcgdQ.png" /><figcaption>My confusing node tree. (Important nodes i added are “Index”, “Capture Attribute” and the “Random Value” on the left side)</figcaption></figure><p>I only had to replace the “Object Info” with an “Attribute” node where I could select the output I just created. All of this, just for the issue to only be fixed in Blender. After so much time wasted, I gave up on this for now. (Maybe someone out there knows a different method)</p><h3>Updating the Code</h3><p>After I was done getting sidetracked in Blender, I tried to implement the new donut model in my app. The last time I exported the model in the “.glb” format from Blender, but this time I switched it to the “.gltf” format. Honestly, I am not entirely sure what the difference between the two formats is.</p><p>In my code, I added a new component file where I wrote the missing lines to import and load the model to the canvas. I encountered some small issues with the camera and had to fix them because it was placed too far away from the model. I luckily just had to adjust the position of the PerspectiveCamera a little bit, because it got messed up while exporting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mBHTfDsaP41aWSj1w2cQkA.png" /><figcaption>The generated code for the gltf of the Donut</figcaption></figure><h3>Weekly Conclusion</h3><p>So far, creating a 3D portfolio can be a challenging and rewarding experience. It requires a lot of time and patience, but the end result is worth it. Three.js and Blender are both powerful tools that can help you create interactive, visually appealing and stunning designs. However, as with any new skill, there will be obstacles and setbacks along the way. It’s important to keep pushing through and not give up, as there are always solutions to problems and ways to improve. But the feedback I received so far really pushed my motivation to the next level and i definitely want to keep going and improving!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6d1c9564b4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I’m Trying To Build My Portfolio With Three.js and AI]]></title>
            <link>https://medium.com/better-programming/how-i-try-to-build-my-portfolio-with-three-js-and-the-help-of-ai-10268c9b0e62?source=rss-8e7421db5d79------2</link>
            <guid isPermaLink="false">https://medium.com/p/10268c9b0e62</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[blender]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[threejs]]></category>
            <dc:creator><![CDATA[rouven lue]]></dc:creator>
            <pubDate>Thu, 12 Jan 2023 10:48:52 GMT</pubDate>
            <atom:updated>2023-01-31T00:38:37.756Z</atom:updated>
            <content:encoded><![CDATA[<h4>My journey into interactive 3D websites</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sKWHF4HY4fGLEL9hC_Hx_g.png" /><figcaption><a href="https://threejs.org/">https://threejs.org/</a></figcaption></figure><p><em>Some nice, juicy spinning piles of melons were one of my first attempts to build something with </em><a href="https://threejs.org/"><em>three.js</em></a><em>.</em></p><p>Next, I worked on a library to create interactive 3D websites that could hold games, eye-catching product showcases, or anything else you can imagine, and I tried to use it to create my portfolio website.</p><p><strong>Note</strong>: You can also watch this as a <a href="https://www.youtube.com/watch?v=QDoiD5vst9o">video</a>.</p><h3>Why I’m Using Three.js</h3><p>Why, you ask? I always found it very intriguing and wanted to create something similar myself. I’ve been interested in 3D design/modeling for a long time and have played around with Blender and other software, so I really wanted to start creating something with three.js.</p><h3>The Challenges I Faced</h3><p>The biggest challenge I had was that I overkilled my tech stack. I didn’t use React for almost two years and already wanted to jump in with next.js and many other libraries, and everything fell apart. I got errors upon errors and nothing worked, and my motivation was gone.</p><p>But, my desire to restart this project got reignited, and now I want to approach this differently.</p><h3>My Vision and Idea</h3><p>First of all, I want to share my journey of creating this portfolio. I want to share what I learn and what challenges I face along the way, in the hope that it will keep my motivation up. When this website is finally done, I want to keep this channel going, finish all my abandoned side projects I have gathered in the past years, and even start new ones!</p><p>So… what was my idea in the first place? What did I want to use three.js for? Well, I had and still have a pretty clear picture in my mind: I’m a developer and a hobby photographer, and I wanted to display both of these, respectively. And since we now have all these fancy AI tools, I tried to let them paint this picture for me that I had in my head for the past year. My idea was to display a laptop and a camera as 3D models the user could interact with. The AI gave me some interesting results I can use for inspiration when I create my actual design later on, and I’ll probably come back to the AI again and again as this turned out to be a really useful tool already!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GO06c2_vyJbMPZrR6s1Hwg.png" /><figcaption>AI-generated user interface for inspiration</figcaption></figure><h3>Creating 3D Models</h3><p>I need to create these 3D models, which means I have to dive deep back into Blender, which already brings up donut flashbacks again. So, for now, all I want to achieve is to create a donut and display it on the website, which might be hard enough already since I also don’t have much experience in three.js. I’m gonna learn this as I go.</p><p>Therefore, the next logical step is to delete everything I had before to really start this project from scratch again… and fix my git config because it somehow got broken on this pc. Great, already wasting time on the most important stuff again.</p><p>Before I really started with Blender, I tried to use ChatGPT to help me create some 3D models because I saw some people using it to create svgs and some crazy Python scripts, so I thought, why not?</p><p>Well, it was completely lost with my prompts. Maybe I could get more useful results if I tried to fine-tune them, but I think the models were just too complex because look what weird creatures it created:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4S11ZWN_nrOIJ0Df_Skqg.png" /><figcaption>ChatGPT generated 3D model of a “camera”</figcaption></figure><p>After this little adventure, I decided to model some delicious donuts by myself. And after about seven hours, I had created this beauty:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BG7p9xFiDbahIYNjRIFY9Q.png" /><figcaption>Screenshot of Blender UI</figcaption></figure><h3>Exporting From Blender</h3><p>With my donut finished and my repository fixed, I successfully created a new React project, installed all the three.js libraries I needed. Now I only had to figure out how to export my model from Blender to use them in the project — but this already led to some problems.</p><p>After a quick research, I read through <a href="https://docs.pmnd.rs/react-three-fiber/tutorials/loading-models">this documentation.</a> It recommended using <a href="https://gltf.pmnd.rs/">this tool</a> to convert your model to a React component, but that seemed too good to be true. Turns out, half of the stuff I had in the render didn’t work in three.js.</p><p>Either it was so bright, and you couldn’t see anything, or random planes that got imported because I forgot to turn them off were in the render. But after some trial and error, I got something working in the preview.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nqSNKviOZWko128rNUKvyw.png" /><figcaption>Working donut model in three.js</figcaption></figure><p>As I already said, some stuff on the render didn’t work, and as you can see, the sprinkles on the donut and in the background are not displayed. This is because I used geometry nodes in Blender to create them, and I couldn’t really figure out how to get them working with the model export. If this is even possible. So I shifted my focus and just tried to get something to show up for now since the donut wouldn’t be my final render — more like a proof of concept. But it was good to know I really had to look out for a lot of things when I created my real models later on.</p><p>Funny enough, my biggest problem was figuring out why the donut was always displayed in a small part of the screen. And as I dug deep into the 20 lines of CSS that came with the default React app, I found the issue. I mindlessly used min-width and min-height that, for some reason, didn’t cover the full height of the screen. My washed CSS knowledge can’t explain why this happens, but after digging around, I changed it to width and height, and everything worked as expected. I love CSS.</p><p>The next thing I want to figure out is how I could display animations I created in Blender because that would open up some possibilities for later, but I don’t wanna spend too much time on it for now.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10268c9b0e62" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/how-i-try-to-build-my-portfolio-with-three-js-and-the-help-of-ai-10268c9b0e62">How I’m Trying To Build My Portfolio With Three.js and AI</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>