Skip to content

Instantly share code, notes, and snippets.

View ertdfgcvb's full-sized avatar

Andreas Gysin ertdfgcvb

View GitHub Profile
@skeeto
skeeto / README.md
Last active December 20, 2021 14:00
AI driving simulation
@pd3v
pd3v / arpeggiating_in_tidalcycles.md
Last active November 22, 2018 22:33
Aperggiating in Tidalcycles

Arpeggiating in Tidalcycles

What is an arpeggio?

Let's start with a chord. A chord is a group of notes played at the same time; at least 3 of them. If you play those same notes, one after another, you have an arpeggio.

Play a chord

For instance, C Major chord and its notes: C E G

@Rawze
Rawze / ana_i2c_tinyslave.ino
Last active June 22, 2023 21:59
Arduino Attiny85 as 2-channel ana in + 1 chan pwm I2C slave device.
/*
ATtiny85 as 2-channel Analog + 1 PWM Output I2C Slave by Rawze. 05-16-2017
Default I2C adress = 0x04.
Program written and tested with ATTiny85 Arduino 8MHz internal clock bootloader.
Don't forget to select 8-Mhz internal clock and flash the bootloader on new hardware before first use.
@nowl
nowl / perlin.c
Created February 15, 2011 19:04
Perlin Noise in C
#include <stdio.h>
static int SEED = 0;
static int hash[] = {208,34,231,213,32,248,233,56,161,78,24,140,71,48,140,254,245,255,247,247,40,
185,248,251,245,28,124,204,204,76,36,1,107,28,234,163,202,224,245,128,167,204,
9,92,217,54,239,174,173,102,193,189,190,121,100,108,167,44,43,77,180,204,8,81,
70,223,11,38,24,254,210,210,177,32,81,195,243,125,8,169,112,32,97,53,195,13,
203,9,47,104,125,117,114,124,165,203,181,235,193,206,70,180,174,0,167,181,41,
164,30,116,127,198,245,146,87,224,149,206,57,4,192,210,65,210,129,240,178,105,