<?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 Vipin Pathak on Medium]]></title>
        <description><![CDATA[Stories by Vipin Pathak on Medium]]></description>
        <link>https://medium.com/@curllmooha?source=rss-a39a2f673110------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_EJuWOIjwgzOC3VEOmSCuA.png</url>
            <title>Stories by Vipin Pathak on Medium</title>
            <link>https://medium.com/@curllmooha?source=rss-a39a2f673110------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 18:40:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@curllmooha/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[i built a three.js portfolio you can walk around in.]]></title>
            <link>https://medium.com/@curllmooha/i-built-a-three-js-portfolio-you-can-walk-around-in-d0ff55fd1645?source=rss-a39a2f673110------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0ff55fd1645</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[threejs]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vipin Pathak]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 08:46:55 GMT</pubDate>
            <atom:updated>2026-10-30T08:46:55.535Z</atom:updated>
            <content:encoded><![CDATA[<p><em>a three.js and GLSL portfolio by Vipin Pathak aka CURLLMOOHA : a dandelion loader, two ways to look around, grass that leans, trees that look away, rain that soaks in, and a fire that knows when it’s wet.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ePjGW_HRwnYYHn-Key-EA.jpeg" /></figure><p><em>you land here. everything in this picture is moving a little.</em></p><p>okay. i’m vipin, a three.js developer from india, and my portfolio is a meadow.</p><p>you land at a camp, a whole day goes by in three minutes, and instead of scrolling to my projects you walk to them. it’s react three fiber, glsl, and way too many evenings: <a href="https://www.curllmooha.com/"><strong>curllmooha.com</strong></a>.</p><p>the pond and the screens and the sketchbook get all the attention. fair. but when someone tells me the place feels <em>alive</em>, they’re never talking about those. they mean the grass leaning, or the rain, or a lantern that won’t sit still.</p><p>so this post is about the small stuff.</p><h3>it starts with a dandelion</h3><p>even before the meadow loads, there’s a dandelion. no loading bar. no percentage. the seed head just fills in while the world loads behind it, and when it’s ripe you blow it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J4lBDrxIx1V63frtCn3Gww.jpeg" /></figure><p><em>left to right: waiting, blowing, landing.</em></p><p>here’s the part i like most. that tap is not just for show. browsers won’t let a page make a sound until you’ve done <em>something</em>, so the tap is also the “okay, you may play music now” gesture. so the opening doesn’t run on a timer. it waits for you. you blow, the seeds fly, and the meadow is finally allowed to make a sound. and there are no audio files in the project at all: everything you hear is synthesised live, note by note.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*pTDqeAZ-hH2yLE0i8Vcqxw.gif" /></figure><p>the seeds carry the letters of my name down onto a floating island. each seed is a proper little dandelion seed with a parachute made of fifty-six hairy bristles. i drew all of them with three instanced meshes, so ten parachutes and fifty loose seeds cost three draw calls. yes, i counted.</p><h3>two ways to look at it</h3><p>up at the top of the screen there’s a switch: <strong>3rd person</strong> or <strong>1st person</strong>. flip it whenever you like. it’s the one setting i’d never take out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y5UBZVg8E0m-wvi-o-9Gew.jpeg" /></figure><p><em>left: third person. right: first person, same spot.</em></p><p><strong>third person</strong> is the default. the camera sits behind and above your character and follows the character around, so you can see the character, the camp and the place they’re standing in all at once. it’s the “look, a tiny person in a big meadow” view.</p><p><strong>first person</strong> drops the camera to the character’s eyes. i gave it a wider field of view than you’d expect (72 degrees) on purpose, so the meadow wraps around you instead of feeling like you’re looking down a tube. you can look up at the sky too, up to about 38 degrees, because a meadow you can’t look up in is just a floor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*nT3E7XOhTyKzw1AALkhElA.gif" /></figure><p>the camera swoops from behind the character to their eyes.</p><p>one small thing that only exists because of this switch: in first person the trees stop opening windows for you (more on that in a minute), because there’s no character in view to hide.</p><h3>grass in three.js: real blades, real wind</h3><p>there’s no grass texture anywhere in this project. every blade is real geometry, a thin ribbon with four segments so it can bend along its length. one chunk of meadow holds up to 2,850 of them, drawn as a single instanced mesh, and chunks stream in as you walk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SpiMGQ7hB0kHI4CriKWn2Q.jpeg" /></figure><p><em>the character is standing in it, not on it.</em></p><p>the terrain and grass groundwork started from <a href="https://github.com/mesqme/infinite-terrain">infinite-terrain</a> by Misha Kiiatkin (MIT). i took it apart and made it mine.</p><h3>wind that actually arrives</h3><p>my first wind just swayed in place and it looked like shimmering. real wind <em>arrives</em>. so now there are three layers:</p><ul><li>a big slow lean from a scrolling noise texture, so neighbouring blades lean together</li><li>a smaller random lean on top, so no two blades agree</li><li>a <strong>gust</strong>: one soft band that sweeps across the field in the wind’s direction. it’s measured from where you’re standing, so you always watch it come at you</li></ul><p>and the gust isn’t just a grass thing. it also shoves the bird feeder and the kite. it’s weather, not an effect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*PLVBx3tEHyeSA6UM6ajKbQ.gif" /></figure><p><em>watch the lean travel, not the blades.</em></p><h3>the grass remembers you</h3><p>walk through it and the blades around your path bow away from where you’ve been. tiny thing. it’s also why the grass feels like somewhere you’re <em>in</em>.</p><h3>grass has no idea what a light is</h3><p>this one cost me an afternoon. three.js lights don’t reach a custom grass shader, so at first the grass stayed lit like it was noon while the rest of the world went through the day. very funny. very wrong.</p><p>so the grass reads the world by hand. the sun, the moon, the lamps and the fire get published continuously and the shader copies them. dusk turns the blades olive. at night each blade catches a thin edge of moonlight. next to the fire they go warm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-MOWlY8w35iI__76A5xwg.jpeg" /></figure><p><em>same grass, a bit later.</em></p><h3>the trees look away (a see-through dither in three.js)</h3><p>okay, this is the one i’m secretly proudest of.</p><p>trees are the only thing in the meadow big enough to hide you from the camera. so when you walk behind a canopy, the leaves open a little window right over the character. it’s an oval, a bit taller than wide, the character’s own proportions, and it fades out into the leaves on a fine dither instead of a hard edge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X4jvU70hZ12KKrfQiAuVhw.jpeg" /></figure><p><em>look at the edge: that’s dots, not a circle.</em></p><p>a few choices that make it work, and that i’d steal if i were you:</p><ul><li><strong>no rim.</strong> a clean circle looks like a hole punched in the tree. dots thinning out look like leaves thinning out</li><li><strong>the dots are the same size on every screen</strong>, about a pixel and a half, so a phone and a 4k monitor look the same</li><li><strong>the edge wavers slowly</strong>, so it reads as foliage and not as a shape stamped on the screen</li><li><strong>the leaves lean aside a little</strong>, the way branches give when you walk under them. only a little, though. push them further and they pile up into a ring, which looks like a tunnel</li><li><strong>only trees do it</strong>, and only the part that’s in front of you. nothing behind you is touched. and it switches off in first person, where you don’t need it</li></ul><p>the same dither frays the edge of the meadow where the world ends, so the soil breaks into fine dots instead of hard scallops.</p><h3>weather</h3><p>there’s a switch at the top: sunny or rain. flip it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbgD1pxJs7LmnATLqxnnGQ.jpeg" /></figure><p><em>same spot. the grass gets heavier and the sky closes in.</em></p><h3>rain is lit by what’s around it</h3><p>my first rain was one fixed pale blue. at night it drew bright white lines across a black sky, which is rain nobody could possibly see. i looked at it for a while and felt bad.</p><p>real rain doesn’t have a colour of its own. it shows you the light around it. so now a drop picks up the sky it refracts (most of the day, almost none of the night), and it picks up the lamps and the fire near it, strongest when it’s between you and the light. that’s why rain around a street lamp sparkles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*nQ63ThMmzUHbLFGbUbK_0g.gif" /></figure><p><em>one lamp, one rainy night.</em></p><h3>a splash is three things</h3><p>when a drop lands, it bursts into a few droplets, they get thrown up and fall back, and it leaves a ring. on soil the ring is quick and tight, about a quarter of a second. on the pond it’s slower and wider, nearly three quarters of one.</p><p>the cpu only picks where the next drop lands, a few dozen times a second. the flight, the fade and the rings are all worked out on the gpu from the moment of impact, so nothing gets rewritten per frame. up to 96 splashes are alive at once (44 on weaker devices).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*_iM_Mh3WlA1VscsOuhDYuQ.gif" /></figure><p><em>the pond takes its rings slowly.</em></p><h3>the small things</h3><p>this is my favourite part. none of it’s on a checklist and nobody would miss it. but it’s why the place feels like it keeps going when you stop moving.</p><h3>the ground gets soaked, slowly</h3><p>wetness is not the same as rain. the meadow follows the rain slowly. it takes most of a minute of rain to soak and longer to dry, so a shower leaves something behind.</p><p>watch the ground in this one. it starts dry and light, then the soil darkens as it takes the water, and puddles start to gather where it dips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*B8N2zKiNqhTG_DB1fzsbKQ.gif" /></figure><p><em>a couple of minutes of rain, sped up.</em></p><p>puddles gather on level ground only, and they fill outward the longer it rains. never inside the fire ring, never on the pond’s bank. they get their own rings and little glints from the lamps.</p><h3>the fire knows</h3><p>in the rain the campfire doesn’t just switch off. wet fuel puts a fire out <em>gradually</em>, and the heat outlasts the flame.</p><p>i shot this one at night, because that’s when you can actually see it. at first the fire burns happily, throwing sparks and a thin plume of smoke. then the rain starts. the flame shrinks as the logs soak. the wet, hot wood smoulders and keeps smoking for a while after the flame is gone, then you get steam, then nothing. stop the rain and, as the wood dries, the fire should come back. i did not plan to be this invested in a fire.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*uK5lLwob5VM9eXm3uAPciA.gif" /></figure><p><em>sped up. watch the smoke after the flame is gone.</em></p><h3>a lantern that won’t hold still</h3><p>every lamp post has a lantern on a chain, and the model comes with its own swing animation. but that animation has no idea which way the wind blows. so the gust shoves the whole lantern downwind about its socket and a spring pulls it back. it’s pushed while the gust crosses, then swings back through rest once it’s passed. that’s why the lamp trails the grass instead of moving with it.</p><p>the lamps also light the grass around them: up to five at a time, reaching about eight and a half units. that’s why the meadow glows near each post and goes dark between them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Eu6KyxzCnTdwuIAjx2KNXA.gif" /></figure><p>[[ IMAGE: 15-lamp-swing.gif ]]</p><p><em>pushed by the same gust as the grass, then it trails it.</em></p><h3>the tvs have a plug</h3><p>on the hill there’s a heap of old tvs. they play my projects. and they’re on because <strong>there’s a cable.</strong></p><p>an actual cable runs across the grass from the pile to a lamp post, with a little junction box strapped to the pole. that’s it. that’s the reason the screens work. the tvs are plugged into the lamp. a boring detail. also the whole difference between a prop and a place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvsFfVRHi4OCFv07qHYXKg.jpeg" /></figure><p><em>left: the junction box on the lamp post, and the cable leaving it. right: the same cable going into the pile.</em></p><p>follow it and you can see the whole run, lamp to tvs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*kJwyY8SdiixU7UOEwEKRFA.gif" /></figure><p>the meadow is also slowly taking the pile back: ivy climbs up the back and sides. after dark the screens throw their colour onto the ground in front of them, and a few moths turn up for the light.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XterB_iU-sfJ9l_tcEG5KA.jpeg" /></figure><h3>the board that says who made all this</h3><p>walk south from the camp and you’ll find a noticeboard. it’s the one landmark in the meadow that’s about a person instead of a place. a pitched roof of terracotta shingles, cream painted planks, dark brown lettering, like a sign somebody painted by hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f1YJ4tEje3oF_HlT8_pCfg.jpeg" /></figure><p><em>the meadow keeper’s board. ivy included.</em></p><p>the name on it is raised in the same font the opening drops out of the sky, so you meet it a second time in the same letters. there’s a little warm light under the eave that pools on the lettering at night, and the birds use the roof ridge as a perch.</p><p>and there’s a bamboo wind chime hanging off the corner. it sways with the same gusts as everything else, and a strong enough gust knocks the clapper into the tubes. each strike plays that tube’s note. so the weather plays music.</p><h3>the sketchbook</h3><p>out east, there’s a book sitting in the grass.</p><p><a href="https://sketchbook.curllmooha.com/">it’s my sketchbook</a>: the little three.js experiments i made along the way. the cover is cognac leather, stamped with a seed head, because the whole meadow is made of seeds and the book is basically a record of them. when it appears, a puff of wind bows the grass around it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BlbGOPGK04xSi7RpSVae8Q.jpeg" /></figure><p>two things i obsessed over. first, the cover: a hardcover is heavy, so mine lifts against its own weight, tips past the balance point, falls open fast and rocks once before it settles. no gliding. second, the pages: every sketch is mounted like a plate in a printed book, with a paper margin around it, never cropped. under each one, a small lowercase caption in the meadow’s own voice.</p><h3>the birds are building</h3><p>look up in the trees and some of them have nests. a woven pouch, a flask, a gourd, each hanging from a branch on its own little cord, just below the leaves, so you can see them without hunting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*deDV3_8fwHn_v_rtjVJVRQ.jpeg" /></figure><p>about one tree in ten has them, and more near camp. birds nest near a feeder they can rely on, and that’s also where you hang out. every tree is the same model, so i picked the spots where a nest can hang once, from its skeleton.</p><p>and some nests are still being built. a bird that’s building spends most of its day off working on it, and the progress is remembered for your whole visit: a nest that finished while you were watching <em>stays</em> finished. when it gets dark they go home. when it rains they go looking for cover. nothing happens at once. each bird’s clock runs out at a different time, so in the morning they wake up one by one, like actual birds who didn’t set an alarm.</p><h3>why i bother</h3><p>nobody asked for any of this. a portfolio has to show the work. it does not need puddles.</p><p>but two years of three.js taught me that people don’t remember the effect. they remember the moment something <em>reacts</em>. the grass bowing after you. the fire giving up. a lantern still swinging after the gust has gone. the leaves opening a window because they noticed you.</p><p>so go stand in the meadow. blow the dandelion, switch it to rain, wait a minute, and watch the fire: <a href="https://www.curllmooha.com/"><strong>curllmooha.com</strong></a>.</p><p>if you build things like this, or want something like it built, <a href="https://www.curllmooha.com/hire">i’m easy to find on the site</a>. and tell me: what tiny detail would you add to a place like this?</p><p><em>vipin pathak · creative developer</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0ff55fd1645" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Building Blocks of Three.js — Scene, Camera, Cube, and More!]]></title>
            <link>https://medium.com/@curllmooha/the-building-blocks-of-three-js-scene-camera-cube-and-more-91f9c0ca7cf0?source=rss-a39a2f673110------2</link>
            <guid isPermaLink="false">https://medium.com/p/91f9c0ca7cf0</guid>
            <category><![CDATA[webdev]]></category>
            <category><![CDATA[threejs]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Vipin Pathak]]></dc:creator>
            <pubDate>Fri, 03 Jan 2025 16:32:28 GMT</pubDate>
            <atom:updated>2025-01-03T16:32:28.414Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Building Blocks of Three.js — Scene, Camera, Cube, and More!</h3><p>When you first dive into Three.js, it can feel like stepping into a whole new world — literally! Three.js is a powerful library that brings 3D graphics to life on the web, but before you can create interactive 3D scenes and fancy animations, you need to get comfortable with the basics. Think of these as the building blocks of your 3D world. Once you understand how to set up the core elements, you’ll be ready to dive into the fun stuff.</p><p>Let’s break down the essential components you’ll need to get started with Three.js.</p><h3>Setting Up the Stage: The Three.js Basics 🖥️</h3><p>Creating a 3D scene isn’t just about throwing objects in space. You need to set up three key things: a <strong>scene</strong>, a <strong>camera</strong>, and a <strong>renderer</strong>. Here’s how each one works:</p><ol><li><strong>Scene</strong> — This is the container where everything lives. All the 3D objects, lights, and cameras you create will exist in this space.</li><li><strong>Camera</strong> — Just like a movie camera, this determines what the viewer can see in the 3D world. In Three.js, the most common type of camera is the <strong>PerspectiveCamera</strong>, which mimics how we see the world in real life.</li><li><strong>Renderer</strong> — The renderer takes everything from the scene and camera and displays it on the screen. It’s the engine behind your 3D visuals.</li></ol><p><strong>Code Snippet: Setting Up the Basics</strong></p><pre>// Scene setup<br>const scene = new THREE.Scene();<br>// Camera setup<br>const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);<br>// Renderer setup<br>const renderer = new THREE.WebGLRenderer();<br>renderer.setSize(window.innerWidth, window.innerHeight);<br>document.body.appendChild(renderer.domElement);</pre><p>Once these components are set up, you have your 3D world ready to go!</p><h3>Adding Objects: Say Hello to the Cube 🟦</h3><p>Now that the stage is set, it’s time to add some objects. In Three.js, you can create 3D objects using <strong>geometry</strong> (the shape) and <strong>material</strong> (the look). I started with a simple <strong>cube</strong> because it’s easy to work with and fun to watch!</p><p><strong>Code Snippet: Adding a Cube</strong></p><pre>// Create a geometry (cube)<br>const geometry = new THREE.BoxGeometry();<br><br>// Create a material (color)<br>const material = new THREE.MeshBasicMaterial({ color: 0x00ff00 });<br><br>// Combine geometry and material to create the cube<br>const cube = new THREE.Mesh(geometry, material);<br><br>// Add the cube to the scene<br>scene.add(cube);</pre><p>At this point, you’ve got a cube sitting in your 3D scene. But what’s a cube if it’s not moving, right? Let’s add some animation!</p><h3>Animating the Scene: Making Things Move ⏱️</h3><p>The next step is animation. After all, 3D graphics aren’t much fun if everything is static. The <strong>animation loop</strong> in Three.js allows you to make your objects move. In my case, I decided to make the cube spin. With just a few lines of code, I was able to rotate it along all three axes (X, Y, and Z).</p><p><strong>Code Snippet: Animating the Cube</strong></p><pre>// Animation loop<br>function animate() {<br>  requestAnimationFrame(animate);<br><br>  // Rotate the cube<br>  cube.rotation.x += 0.01;<br>  cube.rotation.y += 0.01;<br><br>  // Render the scene from the camera&#39;s perspective<br>  renderer.render(scene, camera);<br>}<br><br>// Start the animation<br>animate();</pre><p>Now, my cube wasn’t just sitting there — it was spinning around in the 3D space, and the scene was alive!</p><h3>Lighting: Brightening Up the Scene 💡</h3><p>3D objects can look flat and dull without lighting. Lighting is what gives depth, shadow, and life to your scene. In Three.js, you can add different types of lights. For this basic setup, I added <strong>ambient light</strong> to make everything visible and <strong>directional light</strong> to simulate sunlight.</p><p><strong>Code Snippet: Adding Lights</strong></p><pre>// Ambient light to illuminate the scene<br>const ambientLight = new THREE.AmbientLight(0x404040); // Soft white light<br>scene.add(ambientLight);<br><br>// Directional light to simulate sunlight<br>const directionalLight = new THREE.DirectionalLight(0xffffff, 1); // White light<br>scene.add(directionalLight);</pre><p>With the lights in place, the cube started looking much more dynamic. Shadows and highlights brought out its shape, and the whole scene felt more realistic.</p><h3>Why These Basics Matter 🛠️</h3><p>Before diving into the more complex features of Three.js, it’s essential to get comfortable with the core fundamentals. Setting up a scene, adding objects, animating them, and lighting them properly provides the solid foundation you need to build anything else.</p><p>These basic concepts are what everything else depends on — without them, adding interactivity, advanced animations, or any kind of visual effects would be like trying to build a house without a solid foundation. Once you’re comfortable with these building blocks, you’ll have the skills to tackle more advanced projects and create truly dynamic and engaging 3D experiences.</p><h3>What’s Next? 🚀</h3><p>Now that the foundation is solid, it’s time to move on to the exciting stuff! In the next steps, I’ll be exploring how to make your 3D scenes interactive — think clickable objects, user-driven animations, and much more. The possibilities are limitless, and I’m thrilled to continue this adventure with Three.js, pushing the boundaries of what we can create!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91f9c0ca7cf0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Made a Cube Spin (And That’s Just the Beginning) — My Three.js Journey!]]></title>
            <link>https://medium.com/@curllmooha/i-made-a-cube-spin-and-thats-just-the-beginning-my-three-js-journey-86d3a4567ca7?source=rss-a39a2f673110------2</link>
            <guid isPermaLink="false">https://medium.com/p/86d3a4567ca7</guid>
            <category><![CDATA[modern-web-development]]></category>
            <category><![CDATA[threejs]]></category>
            <category><![CDATA[creative-web-design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Vipin Pathak]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 14:22:14 GMT</pubDate>
            <atom:updated>2025-01-01T14:22:14.795Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Made a Cube Spin (And That’s Just the Beginning) — My Three.js Journey!</h3><p>So, here I am, starting a new adventure in the world of <strong>Three.js</strong>. As a frontend developer, I’ve spent a lot of time working with React and Tailwind. But deep down, I always wanted to add some 3D magic to my projects. Everything was flat, and I wanted to break out of that. Enter <strong>Three.js</strong> — the library that brings 3D graphics to life on the web.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FLVnLu7QhlxvQDGPcGs__g.png" /></figure><h3>Why Three.js? 🤔</h3><p>If you’ve been on the web long enough, you know everything is getting cooler — animations, effects, interactive websites. But here’s the kicker: <strong>3D graphics</strong>. Yep, that’s what I was missing. I was tired of looking at flat websites and thinking, “Hey, I can do better than that!” So, I looked for a tool that could help me bring a little depth (literally) to the web. That’s where Three.js came in. It makes it easy to create stunning 3D graphics in the browser. No need to be a WebGL wizard.</p><h3>Day 0: The Cube That Changed Everything 🟦</h3><p>Let’s be real. When I first started, I had no idea what I was doing. I stared at the documentation, scratched my head, and then decided, “Let’s keep it simple!” So, I created a cube. Yes, a <strong>rotating cube</strong>. Nothing fancy, just a cube spinning around in circles. But guess what? I was thrilled! Watching it rotate felt like I had unlocked a new level in web development. I was like, “This is it. I’ve made it.”</p><p>I know, it’s just a cube. But trust me, when you’re on Day 0 of Three.js, seeing that cube spin feels like magic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YonxOqZZ7Y-oC3CXY3y4A.png" /></figure><h3>What’s Next? 🌟</h3><p>Now that I’ve gotten my first cube spinning, I’m ready to dive deeper. I plan to learn about raycasting, shaders, animations, and all the cool stuff Three.js has to offer. I’ll be sharing my journey along the way — trust me, it’s going to be full of mistakes, glitches, and lots of fun! So if you’re into 3D graphics and want to see a developer learn, follow along. Spoiler alert: there might be a lot more cubes!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86d3a4567ca7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>