Skip to content

Instantly share code, notes, and snippets.

View magpie514's full-sized avatar

Magpie magpie514

View GitHub Profile
@paultag
paultag / gol.c
Created February 22, 2011 06:07
Goofy Game of Life impl
#include <iostream>
#include <limits.h>
#include <math.h>
using namespace std;
int WORLD = 0;
int LASTWORLD = 0;
int NEWWORLD = 0;
@knowuh
knowuh / photo.py
Last active May 28, 2023 10:49
Blender script to turn an image data block into 3D cubes...
import bpy
import colorsys
"""
cubify-image.py - Turns each pixel of an image into a scaled cube.
Noah Paessel | @knowuh - updated on 2022-02-13 (test w Blender 3.1b)
MIT license http://opensource.org/licenses/MIT
WARNING: This script will generate a thousands objects (one per image pixel)
I recommend only using it with image with less than 40,000 pixels (200x200).
@leiradel
leiradel / retromods.md
Last active June 29, 2023 05:20
Retromods spec brain dump. *Highly volatile!*

Retromods

What is a mod?

A mod is a set of code and assets that changes or augments the way a game is run. Examples of mods are:

  • Music and sound packs that replace the original game music and sound.
  • Graphics packs that replace the original game graphics.
  • Level packs that change or replace the original game levels.
  • Achievements that are awarded to the players when they complete tasks in the game.