<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: hyun</title>
    <description>The latest articles on DEV Community by hyun (@bridgelightpet).</description>
    <link>https://dev.to/bridgelightpet</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4225443%2Fca527401-3ffe-4722-9e06-5433af709cb4.png</url>
      <title>DEV Community: hyun</title>
      <link>https://dev.to/bridgelightpet</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bridgelightpet"/>
    <language>en</language>
    <item>
      <title>I built a free pet memorial page with a small three.js garden that stays smooth on phones</title>
      <dc:creator>hyun</dc:creator>
      <pubDate>Wed, 04 Nov 2026 06:03:42 +0000</pubDate>
      <link>https://dev.to/bridgelightpet/i-built-a-free-pet-memorial-page-with-a-small-threejs-garden-that-stays-smooth-on-phones-4j9b</link>
      <guid>https://dev.to/bridgelightpet/i-built-a-free-pet-memorial-page-with-a-small-threejs-garden-that-stays-smooth-on-phones-4j9b</guid>
      <description>&lt;p&gt;I made &lt;a href="https://www.bridgelight.pet/?utm_source=devto" rel="noopener noreferrer"&gt;Bridgelight&lt;/a&gt;, a free, ad-free memorial page for a pet. Each pet gets one page: photos, a short video, letters, candles friends can light without an account, and a small 3D garden where the pet sits with you. Here is what went into the garden, since that was the hard part.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;p&gt;Next.js 16, three.js, Supabase (free tier), Vercel Hobby. No tracking cookies; visit counts come from Vercel Web Analytics.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making a small scene look real on a budget
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The sky and the distant trees are a CC0 HDRI from Poly Haven (lilienstein for day, spruit_sunrise for the golden hour), shown with &lt;code&gt;GroundedSkybox&lt;/code&gt; so the horizon sits on the ground instead of floating.&lt;/li&gt;
&lt;li&gt;Trees and grass as real meshes were far too heavy on phones, so the photo does the trees and a cheap instanced grass shader does the lawn, with mown stripes baked into the color.&lt;/li&gt;
&lt;li&gt;Rocks and ground use scanned CC0 textures. Credits ship in the app at /garden/CREDITS.txt.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The dog
&lt;/h2&gt;

&lt;p&gt;The dog is procedural, not a downloaded model: an adult skeleton (three-joint hind legs), shell fur rendered as stacked layers, and a few behaviours (wander, pant, sit by the bench). Lesson learned the hard way: big head, big eyes and round proportions read as a toy. Adult proportions read as a pet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping 60 fps on a phone
&lt;/h2&gt;

&lt;p&gt;A frame-time watchdog steps quality down in order: render resolution, then grass density to 55%, then shadows off, then grass to 25%. Desktop pixel ratio is capped at 1.5. A garden with 20 visitors went from about 2.4M to 1.35M triangles after capping visitor count and sharing geometry.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy choices
&lt;/h2&gt;

&lt;p&gt;Public, link-only or private per memorial. Candles and letters need no account. If you lose the secret link, recovery goes by email, twice a day at most.&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the rendering or the choices above. The garden is at &lt;a href="https://www.bridgelight.pet/?utm_source=devto" rel="noopener noreferrer"&gt;https://www.bridgelight.pet/?utm_source=devto&lt;/a&gt;&lt;/p&gt;

</description>
      <category>threejs</category>
      <category>webdev</category>
      <category>nextjs</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
