Skip to content

Instantly share code, notes, and snippets.

@tchnmncr
tchnmncr / Latoo-V2.pde
Created August 22, 2023 17:00
Latööcarfian Dream Generator v2.0
/** Latööcarfian Dream Generator v2.0
* by tchnmncr @ eldri.tech
*
* 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)
*/
@tchnmncr
tchnmncr / NeuroMagabot.pde
Created December 4, 2020 22:04
NeuroMagabot (Processing + EPOC Neuroheadset + Magabot)
/**
* 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 December 4, 2020 22:01
Lyapunov Exponent (Processing)
/** 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 December 4, 2020 21:57
Latööcarfian Generator (Processing)
/** 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 / PlanetaryKeys.pde
Created December 4, 2020 21:44
Planetary Keys (Processing + MaKey MaKey)
/**
* Planetary Keys
*
* for use with conductive-painted keyboard
* and MaKey MaKey
*/
import ddf.minim.*;
import ddf.minim.signals.*;
@tchnmncr
tchnmncr / LightStoneToProcessing.pde
Created December 4, 2020 20:22
LightStone to Processing
/**
* 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 / HackArtDemo1.pde
Last active December 4, 2020 21:45
HACK.ART Demo 1 (Processing + Wifi Pineapple + Arduino)
/**
* 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 / HEXREAD.BAS
Created December 4, 2020 02:37
Hex Reader for Telehack
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 December 4, 2020 02:36
Memory Search for Telehack
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)