Skip to content

Instantly share code, notes, and snippets.

View zellski's full-sized avatar

Pär Winzell zellski

  • Montpelier, VT
  • 01:17 (UTC -05:00)
View GitHub Profile
@munificent
munificent / generate.c
Last active December 26, 2025 00:01
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@donmccurdy
donmccurdy / state_of_gltf_for_webvr_devs.md
Last active May 17, 2021 03:51
Summary of the glTF 2.0 ecosystem, as it affects WebVR devs.

State of glTF 2.0 for WebVR Devs

Date: Sept 11, 2017.

Summary of the glTF 2.0 ecosystem, as it affects WebVR devs.

Engines

  • three.js, BabylonJS, and A-Frame v0.7.0+ support glTF2.0.
  • ... and more.