Skip to content

Instantly share code, notes, and snippets.

// For Kat Park's PESCA
// Based on the basic example of the Painless Mesh library
#include "painlessMesh.h"
// GH: I had to manually install the AsyncTCP library also to make this compile
#define MESH_PREFIX "whateverYouLike"
#define MESH_PASSWORD "somethingSneaky"
#define MESH_PORT 5555
#define MAX_PEERS 10 // GH: how many peers maximum
@gohai
gohai / processing-arm.txt
Created February 10, 2017 09:01
Plan for Gottfried's 2017 Processing Fellowship
-- core
Build image with January 2016 release
Fix overscan offset in JOGL
Fix libgles2-mesa incompatibility in JOGL
Evaluate Debian/Raspbian packages
Submit to http://www.pibakery.org/docs/contribute.html
Update link on download page
Revisit P3D issues (special cases in PGraphicsOpenGL.java, shaders; MoveEye still failed with 8 lights)
Debug draw performance
27fps on 1080p screen w/ empty P3D sketch
@gohai
gohai / glesgeneric.c
Last active February 10, 2016 22:31 — forked from sphaero/glesgeneric.c
Gstreamer glimagesink raspberry pi generic example
/*
* GStreamer GLES2 Raspberry Pi example
* Based on http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/generic/cube/main.cpp
* Modified for GStreamer 1.4.4 (Raspbian November 2015) by Gottfried Haider <gottfried.haider@gmail.com>
* Modified for Raspberry Pi/GLES2 by Arnaud Loonstra <arnaud@sphaero.org>
* Orginal by Julien Isorce <julien.isorce@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either