Skip to content

Instantly share code, notes, and snippets.

View maxdee's full-sized avatar
💭
all my cool stuff is on gitlab now

MaxD / supermedia_art maxdee

💭
all my cool stuff is on gitlab now
View GitHub Profile
@maxdee
maxdee / pin2dmd_processing.pde
Created February 13, 2021 02:25
pin2dmd_processing
// parse pin2dmd raw files
// https://github.com/neophob/wpc-emu/blob/master/client/scripts/lib/pin2DmdExport.js
byte raw[];
int offset = 0;
int frameSize = 0;
void setup(){
@maxdee
maxdee / plaunch.sh
Last active October 9, 2023 00:02
Launch Processing sketch from terminal
#!/bin/bash
# Place this file in a sketch folder and run it to launch your sketch
# You need to have processing-java installed https://github.com/processing/processing/wiki/Command-Line
# Usefull for developement when using other editors like Atom
# Usefull for launching with ssh, "DISPLAY=:0 ./plaunch.sh"
# Usefull for automaticaly launching a sketch on computer startup,
# specialy if you wish to be able to edit something in a .pde file and avoid having to re-export a application
processing-java --sketch="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" --output=/tmp/processing --force --run