-i
- ignore errors
-c
- continue
-t
- use video title as file name
--extract-audio
- extract audio track
""" | |
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 | |
""" |
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/ |
class PWindow extends PApplet { | |
PWindow() { | |
super(); | |
PApplet.runSketch(new String[] {this.getClass().getSimpleName()}, this); | |
} | |
void settings() { | |
size(500, 200); | |
} |
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; |
<!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.*; | |
/* | |
* 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 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> --> |
#Program to drive Sonic Pi 3 visualiser written in "processing" | |
#by Robin Newman, September 2017 | |
#see article at https://rbnrpi.wordpress.com | |
#set up OSC address of processing sketch | |
use_osc '127.0.0.1',5000 | |
#select shapes to show | |
osc "/viz/shapes","e" #"s" "e" "r" Star,Ellipse, Rectangle or combination | |
sleep 0.1 | |
live_loop :c do |