<?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: Kenzo Basar</title>
    <description>The latest articles on DEV Community by Kenzo Basar (@kenzobasarthedev).</description>
    <link>https://dev.to/kenzobasarthedev</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3390278%2Fa16e253d-9aa9-4cad-82af-873ad9b50a85.png</url>
      <title>DEV Community: Kenzo Basar</title>
      <link>https://dev.to/kenzobasarthedev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kenzobasarthedev"/>
    <language>en</language>
    <item>
      <title>🚀 Kenzo Graphics Library v2 – Build Lightweight 2D/3D Apps Without Dependencies</title>
      <dc:creator>Kenzo Basar</dc:creator>
      <pubDate>Sat, 26 Jul 2025 16:06:32 +0000</pubDate>
      <link>https://dev.to/kenzobasarthedev/kenzo-graphics-library-v2-build-lightweight-2d3d-apps-without-dependencies-1hcm</link>
      <guid>https://dev.to/kenzobasarthedev/kenzo-graphics-library-v2-build-lightweight-2d3d-apps-without-dependencies-1hcm</guid>
      <description>&lt;p&gt;*&lt;strong&gt;&lt;em&gt;KGL (Kenzo Graphics Library v2)&lt;/em&gt;&lt;/strong&gt;* is a lightweight, math-based 2D/3D rendering engine made for the web. Designed with speed and simplicity in mind, it allows you to create browser-based visual applications with no external dependencies—just a  and JavaScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ Why I Built KGL
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;As a developer who hates bloatware and overly complex engines, I wanted something fast, small, dependency-free, and still powerful enough to handle 3D scenes, voxel rendering, and UI overlays. So, I built KGL — a clean canvas-based engine that helps you go from idea to visuals in seconds.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  🔧 Key Features
&lt;/h2&gt;

&lt;p&gt;🚫 Zero Dependencies: No Three.js, no Babylon.js, no WebGL shaders.&lt;/p&gt;

&lt;p&gt;🎮 2D &amp;amp; 3D Support: Render both flat UIs and rotating cubes in one canvas.&lt;/p&gt;

&lt;p&gt;🧱 Voxel Engine: Chunk-style voxel rendering for sandbox-style games.&lt;/p&gt;

&lt;p&gt;👾 Entity System: Position, animate, and update 3D objects easily.&lt;/p&gt;

&lt;p&gt;🖱️ UI Overlay (KglUI + KglHTSTB): Build menus and overlays using HTML-like tags.&lt;/p&gt;

&lt;p&gt;🛠️ Custom Math Engine: Pure math-based transformations (no GPU trickery).&lt;/p&gt;

&lt;h2&gt;
  
  
  📦 Installation
&lt;/h2&gt;

&lt;p&gt;You can install KGL from npm:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br&gt;
npm install kenzo-graphics-library-v2&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Or use JSdelivr &lt;a href="https://cdn.jsdelivr.net/gh/KenzoBasarTheDev/KGL.js/" rel="noopener noreferrer"&gt;KGL.js&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You can also download manually: &lt;a href="//kenzobasarthedev.github.io/download/"&gt;Manual Download&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🧪 Sample Code&lt;br&gt;
Here's how easy it is to create a rotating cube using Kgl:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const canvas = document.getElementById('myCanvas');
const engine = new Kgl(canvas);

const cube = new KGLentity.Cube({ x: 0, y: 0, z: 0 }, 50, '#00FF00');

function loop() {
  engine.clear();
  cube.rotateY(0.03);
  engine.drawEntity(cube);
  requestAnimationFrame(loop);
}

loop();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;*&lt;strong&gt;&lt;em&gt;✔️ No setup. No WebGL context. Just you, canvas, and code.&lt;/em&gt;&lt;/strong&gt;*&lt;/p&gt;

&lt;h2&gt;
  
  
  🌍 Try the Demo
&lt;/h2&gt;

&lt;p&gt;👉 &lt;a href="https://kenzobasarthedev.github.io/rotating-cube/" rel="noopener noreferrer"&gt;Try out KGL Live&lt;/a&gt;&lt;br&gt;
👉 &lt;a href="https://github.com/KenzoBasarTheDev/KGL.js/" rel="noopener noreferrer"&gt;Browse on github&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧱 Module Overview
&lt;/h2&gt;

&lt;p&gt;Kgl       - Main renderer and engine core&lt;br&gt;
Kgl2D         - 2D drawing helpers&lt;br&gt;
KglUI         - HTML-style GUI system for canvas&lt;br&gt;
KGLvoxel      - Chunk-based voxel renderer&lt;br&gt;
KGLentity     - Cube/sphere/shape entity renderer&lt;br&gt;
KGLscenes     - Scene management (load/unload)&lt;br&gt;
KGLconfig     - Configure engine compatibility&lt;br&gt;
KglHTSTB      - Lightweight HTML-style textbox builder&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 Who Is It For?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Developers making custom game engines&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Students building canvas-based simulations&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Creators who want to avoid WebGL/GLSL complexity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;OS developers who need a browser-based GUI renderer&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  ⚠️ Not for...
&lt;/h2&gt;

&lt;p&gt;This is *&lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt;* a replacement for full engines like *&lt;strong&gt;&lt;em&gt;Three.js&lt;/em&gt;&lt;/strong&gt;* or *&lt;strong&gt;&lt;em&gt;Unity WebGL&lt;/em&gt;&lt;/strong&gt;*. &lt;strong&gt;KGL&lt;/strong&gt; is meant for lightweight, fast, and experimental development.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔄 Roadmap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;✅ KGLv2 Complete&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;📦 KGL on NPM&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🧩 Plugin System&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🌐 Built-in Scene Editor (Prototype)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;📊 Benchmark &amp;amp; GPU fallback (Planned)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🙌 Support &amp;amp; Contributions
&lt;/h2&gt;

&lt;p&gt;If you like what I’m doing, you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;⭐ Star the repo&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🐛 File issues&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;📢 Share the project&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  💬 Final Words
&lt;/h2&gt;

&lt;p&gt;KGL started as a *&lt;strong&gt;&lt;em&gt;hobby project&lt;/em&gt;&lt;/strong&gt;*, but I believe it can help others who want control, speed, and simplicity in their graphics projects. If you're building something cool with it — let me know!&lt;/p&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;Happy rendering! 🎨&lt;/em&gt;&lt;/strong&gt;*&lt;/p&gt;

&lt;p&gt;— &lt;strong&gt;Kenzo&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>rendering</category>
      <category>engine</category>
    </item>
  </channel>
</rss>
