- download and unzip stable RealtimePi distro
- write the extracted .img to sdcard with Etcher
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>p5.js example</title> | |
<style> body {padding: 0; margin: 0;} </style> | |
<script src="p5.min.js"></script> | |
<!-- <script src="../addons/p5.dom.min.js"></script> --> | |
<!-- <script src="../addons/p5.sound.min.js"></script> --> |
import processing.pdf.*; | |
/* | |
* Processing High Resolution Output Generator Template | |
* Taken from: | |
* http://sighack.com/post/exporting-high-resolution-images-in-processing | |
* Thanks to: @sighack | |
*/ | |
int seed; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Practice AJAX</title> | |
<script type="text/javascript"> | |
function do_ajax() { | |
var req = new XMLHttpRequest(); | |
var result = document.getElementById('result'); | |
req.onreadystatechange = function() | |
{ |
import processing.pdf.*; | |
/* | |
* A complete tutorial can be found over at: | |
* http://sighack.com/post/exporting-high-resolution-images-in-processing | |
*/ | |
int seed; | |
int CONFIG_SCALE_FACTOR = 5; |
class PWindow extends PApplet { | |
PWindow() { | |
super(); | |
PApplet.runSketch(new String[] {this.getClass().getSimpleName()}, this); | |
} | |
void settings() { | |
size(500, 200); | |
} |
urls: | |
http://mubert.com/ | |
http://demo.mubert.com/ | |
http://play.mubert.com/ | |
http://play.mubert.com/pro/ | |
http://play.mubert.com/en/ | |
IDK (Chillstep?) | |
http://mubert.com:49994/ |
""" | |
This demonstration evolves a random point | |
population (parent) to order its points into a | |
circular arrangement (target). | |
The fitness is computed by measuring each point's | |
distance to its destination. | |
Read an introduction to genetic algorithms with python here: | |
https://www.codeproject.com/articles/1104747/introduction-to-genetic-algorithms-with-python-hel | |
""" |
# reading OSC from Processing, Alexandre Enkerli | |
# full screen, fulltime mouse, Alexandre Rangel | |
# 24-Nov-2016 | |
# Sonic Pi 2.11 | |
use_bpm 120 | |
set_sched_ahead_time! 0 # Setting that one to a negative value makes Sonic Pi complain, it sounds like. | |
live_loop :osc do # The loop is inside the fx as this is where the action will be. | |
osc=sync "/osc" # The OSC message which Processing sends, based on mouse coordinates. |