Skip to content

unitoftime/glitch

Folders and files

NameName
Last commit message
Last commit date
Oct 14, 2024
Oct 14, 2024
Nov 26, 2024
Oct 14, 2024
Mar 6, 2025
Oct 14, 2024
Mar 4, 2025
Feb 2, 2022
Jun 5, 2024
Oct 14, 2024
Oct 14, 2024
Oct 14, 2024
Jul 10, 2024
Mar 8, 2025
Mar 8, 2025
Nov 27, 2023
Oct 14, 2024
Mar 8, 2025
Mar 8, 2025
Mar 4, 2025
Dec 2, 2024
Mar 8, 2025
Jan 4, 2025
Jan 4, 2025
Nov 6, 2024
Jan 4, 2025
Mar 8, 2025
Mar 8, 2025
Mar 4, 2025
Mar 8, 2025
Mar 8, 2025
Mar 8, 2025
Mar 8, 2025
Mar 8, 2025
Mar 8, 2025
Feb 28, 2025
Mar 8, 2025

Repository files navigation

Go Reference build

Warning: This library is very much a work in progress. But you're welcome to check it out and provide feedback/bugs if you want.

Overview

Glitch is a shader based rendering library built on top of OpenGL and WebGL. At a high level, I'd like glitch to be data driven. Shaders are just programs that run on the GPU, so my objective is to make Glitch a platform that makes it easier to do the things that are hard in rendering:

  1. Efficiently ordering, moving, and batching data to the GPU
  2. Efficiently executing programs on that copied data

Platform Support

Currently, we compile to:

  • Desktop (Windows, Linux)
  • Browser (via WebAssembly)

Platforms that I'd like to add, but haven't added or haven't tested:

  • Desktop (MacOS - OpenGL is deprecated, I also don't own a mac. So it's hard to test)
  • Mobile Apps
  • Mobile Browsers

Usage

You can look at the examples folder, sometimes they go out of date, but I try to keep them working. Because APIs are shifting I don't have definite APIs defined yet.