<?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: FacetLab</title>
    <description>The latest articles on DEV Community by FacetLab (@facetlab).</description>
    <link>https://dev.to/facetlab</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%2F4003791%2Fe2770ecc-c15c-480a-a047-216cdaf09aa3.png</url>
      <title>DEV Community: FacetLab</title>
      <link>https://dev.to/facetlab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/facetlab"/>
    <language>en</language>
    <item>
      <title>FacetLab: an open-source WebGL diamond 4Cs simulator</title>
      <dc:creator>FacetLab</dc:creator>
      <pubDate>Sat, 27 Jun 2026 11:14:48 +0000</pubDate>
      <link>https://dev.to/facetlab/facetlab-an-open-source-webgl-diamond-4cs-simulator-4km</link>
      <guid>https://dev.to/facetlab/facetlab-an-open-source-webgl-diamond-4cs-simulator-4km</guid>
      <description>&lt;p&gt;I built/maintain &lt;strong&gt;FacetLab&lt;/strong&gt;, a free browser-based WebGL simulator for learning the diamond 4Cs through play.&lt;/p&gt;

&lt;p&gt;Instead of reading a static explanation of cut, colour, clarity and carat, learners can inspect a rough crystal, choose an orientation, polish facets, and then review a simple 4Cs scorecard.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live simulator: &lt;a href="https://4cs.co.za/diamond-polishing-game/" rel="noopener noreferrer"&gt;https://4cs.co.za/diamond-polishing-game/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source code: &lt;a href="https://github.com/nichesza-max/facetlab" rel="noopener noreferrer"&gt;https://github.com/nichesza-max/facetlab&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project is educational only, not appraisal or pricing advice. It is meant as an interactive teaching aid for jewellery beginners, STEM/resource directories, and anyone curious about how visual trade-offs affect a finished stone.&lt;/p&gt;

&lt;p&gt;Tech-wise it is a small browser-first WebGL project that does not require signup or a download to try.&lt;/p&gt;

</description>
      <category>learning</category>
    </item>
    <item>
      <title>I made a browser game that teaches the diamond 4Cs by letting you polish a rough stone</title>
      <dc:creator>FacetLab</dc:creator>
      <pubDate>Fri, 26 Jun 2026 10:16:45 +0000</pubDate>
      <link>https://dev.to/facetlab/i-made-a-browser-game-that-teaches-the-diamond-4cs-by-letting-you-polish-a-rough-stone-4nk2</link>
      <guid>https://dev.to/facetlab/i-made-a-browser-game-that-teaches-the-diamond-4cs-by-letting-you-polish-a-rough-stone-4nk2</guid>
      <description>&lt;p&gt;FacetLab started with a simple question: what if learning the diamond 4Cs felt more like exploring than studying? Instead of handing people a static chart, I built a browser game where you start with a rough stone and make a series of visual decisions that gradually turn it into a finished gem. The result is a small, interactive lesson in cut, color, clarity, and carat, designed for visual learning rather than memorization. FacetLab is a free open-source WebGL learning simulator, with a live tool at &lt;a href="https://4cs.co.za/diamond-polishing-game/" rel="noopener noreferrer"&gt;4cs.co.za/diamond-polishing-game&lt;/a&gt; and source code on &lt;a href="https://github.com/nichesza-max/facetlab" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The idea was to make the 4Cs feel connected. In a real diamond, every choice affects the others. Polishing one facet changes how light moves. Changing proportions changes the look of the stone. A cleaner shape can reveal flaws differently. Even carat, which people often think of as a single number, becomes easier to understand when you see how size, symmetry, and cut interact on screen. That is the core of FacetLab: not a lecture about diamonds, but a hands-on way to see trade-offs in motion.&lt;/p&gt;

&lt;p&gt;I used WebGL because the subject benefits from depth, shine, and movement. A browser can do a lot when the goal is to show subtle differences in reflection and surface shape. That matters here, because diamond education is full of visual judgments that are hard to explain in text alone. With a 3D interface, learners can inspect the stone from different angles, try changes, and immediately see what happened. The game format turns abstract terms into something tangible.&lt;/p&gt;

&lt;p&gt;I also wanted the project to stay open-source on purpose. Education tools get better when people can inspect them, reuse them, and adapt them. By keeping the code public, FacetLab can be studied as a small example of how interactive learning can work in the browser. It is meant to be a teaching aid, not a polished sales tool, and that distinction matters. The focus is understanding, not persuasion.&lt;/p&gt;

&lt;p&gt;What I like most is that the experience stays lightweight. You open it in a browser, start with a rough stone, and learn by doing. There is no heavy onboarding and no need to commit terminology to memory before you begin. You just experiment, compare, and notice patterns. For some learners, that is the fastest path to understanding: see it, change it, and connect the result to the concept.&lt;/p&gt;

&lt;p&gt;If you want to try it, the live tool is &lt;a href="https://4cs.co.za/diamond-polishing-game/" rel="noopener noreferrer"&gt;FacetLab&lt;/a&gt;, and the code is on &lt;a href="https://github.com/nichesza-max/facetlab" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>gamedev</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
