Skip to content

Instantly share code, notes, and snippets.

@tchnmncr
tchnmncr / NeuroMagabot.pde
Created Dec 4, 2020
NeuroMagabot (Processing + EPOC Neuroheadset + Magabot)
View NeuroMagabot.pde
/**
* NeuroMagabot
*
* Transforms data from the Emotiv EPOC neuroheadset
* into control data for the Magabot, via OSC.
* see https://github.com/Magabot
*/
import processing.serial.*;
import oscP5.*;
@tchnmncr
tchnmncr / LyapunovExponent.pde
Created Dec 4, 2020
Lyapunov Exponent (Processing)
View LyapunovExponent.pde
/** Lyapunov Exponent
*
* Based on code on pg. 62 of _Chaos in Wonderland_
* by Clifford A. Pickover
*
*/
float calcLyapunovExponent(float a, float b, float c, float d) {
float Lsum = 0;
float n = 0;
@tchnmncr
tchnmncr / LatoocarfianGenerator.pde
Created Dec 4, 2020
Latööcarfian Generator (Processing)
View LatoocarfianGenerator.pde
/** Latööcarfian Generator
*
* Based on code on pg. 26 of _Chaos in Wonderland_
* by Clifford A. Pickover
* Good ranges for a, b, c, and d:
* (-3 < a, b < 3)
* (0.5 < c, d < 1.5)
*/
float a = 1.5641136;
@tchnmncr
tchnmncr / HackArtDemo1.pde
Last active Dec 4, 2020
HACK.ART Demo 1 (Processing + Wifi Pineapple + Arduino)
View HackArtDemo1.pde
/**
* HACK.ART Demo 1
* by tchnmncr @ eldri.tech
*
* This Processing sketch demonstrates interaction with
* Hak5's WiFi Pineapple and Arduino.
*
* Made with Processing 3.2.1.
*/
@tchnmncr
tchnmncr / PlanetaryKeys.pde
Created Dec 4, 2020
Planetary Keys (Processing + MaKey MaKey)
View PlanetaryKeys.pde
/**
* Planetary Keys
*
* for use with conductive-painted keyboard
* and MaKey MaKey
*/
import ddf.minim.*;
import ddf.minim.signals.*;
View LightStoneToProcessing.pde
/**
* LightStone to Processing
*
* This sketch reads and graphs heart rate variability and
* skin conductance level data from the LightStone device
* via OSC messages from GlovePIE.
*/
import oscP5.*;
import netP5.*;
@tchnmncr
tchnmncr / HEXREAD.BAS
Created Dec 4, 2020
Hex Reader for Telehack
View HEXREAD.BAS
10 REM HEXREAD.BAS BY TECHMAGE@TELEHACK.COM
20 PRINT "STARTING ADDRESS (DEC)";
21 INPUT A: REM STARTING ADDRESS (DECIMAL)
25 PRINT "DATA PER LINE";
26 INPUT L: REM LINE LENGTH
30 PRINT "LINES PER PAGE";
31 INPUT P: REM PAGE LENGTH
35 DIM D(L): REM DATA ARRAY
40 AC=A: REM CURRENT ADDRESS (INCREMENTS)
50 REM *** BEGIN PAGE LOOP ***
@tchnmncr
tchnmncr / MEMSRCH.BAS
Created Dec 4, 2020
Memory Search for Telehack
View MEMSRCH.BAS
5 REM MEMSRCH.BAS BY TECHMAGE@TELEHACK.COM
10 PRINT "START ADDRESS (DEC)";
15 INPUT AS: REM STARTING ADDRESS (DECIMAL)
20 PRINT "END ADDRESS (DEC)";
25 INPUT AE: REM ENDING ADDRESS (DECIMAL)
30 PRINT "SEARCH STRING";
35 INPUT S$: REM SEARCH STRING
40 L=LEN(S$): REM LENGTH OF SEARCH STRING
45 DIM AA(L): REM ADDRESS ARRAY
50 AC=AS: REM CURRENT ADDRESS (INCREMENTS)