This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int i,s=450;void setup(){size(900,900,P3D);}void draw(){translate(s,s);rotate(--i*.1,i%9,i%7,i%4);fill((-7<<i%36)-1);rect(s,0,30,30);}//#p5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float i;void setup(){size(900,900,P3D);}void draw(){translate(450+450*cos(i*.9),600+400*sin(i+=.01)*noise(i));sphere(30/noise(i));} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int i,j;color clr=#ff0000;void I(int a,int b,int c,int d,int N){if(N==0){fill(clr);clr<<=2;clr%=0xffffff;rect(a,b,c-a,d-b);}else{i=int(random(a,c));j=int(random(b,d));I(a,b,i,j,N-1);I(i,b,c,j,N-1);I(a,j,i,d,N-1);I(i,j,c,d,N-1);}}void draw(){background(#1356A2);I(-1,-1,width,height,2);} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://forum.openframeworks.cc/t/cannot-compile-of-errors-on-of3dprimitives-and-conflicting-gl-glew-declarations/30307/3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nano@nano004:~$ ls -l /boot | |
total 55676 | |
drwxr-xr-x 3 root root 4096 mei 21 2018 efi | |
drwxr-xr-x 2 root root 4096 aug 16 20:21 extlinux | |
drwxr-xr-x 2 root root 4096 nov 28 17:58 grub | |
-rw-r--r-- 1 root root 34179080 okt 20 01:07 Image | |
-rw-r--r-- 1 root root 5562384 aug 16 20:58 initrd | |
lrwxrwxrwx 1 root root 24 nov 28 17:58 initrd.img -> initrd.img-4.9.140-tegra | |
-rw-r--r-- 1 root root 14966197 nov 28 17:58 initrd.img-4.9.140-tegra | |
-rw-r--r-- 1 root root 487999 aug 13 06:29 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __ALVINUTIL_HPP__ | |
#define __ALVINUTIL_HPP__ | |
#include <string> | |
#include <array> | |
#include <librealsense2/rs.hpp> | |
namespace alvin { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (c) 2019 DATA Design, Art and Technology Arnhem | |
// for and by Deborah Mora | |
// BASED ON: | |
// Sends BBC micro:bit to OSC | |
// By Rebecca Fiebrink: January 2016 | |
// Sends to port 6448 using OSC message /wek/inputs | |
// Number of features varies according to feature selection in user drop-down (more info on screen) | |
// @NOTE communication with external devices is expected at 115200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#include <OSCMessage.h> | |
const char* ssid = "IoT"; | |
const char* pass = "IoT4onderwijs"; | |
WiFiUDP Udp; | |
// destination IP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#include <OSCMessage.h> | |
const char* ssid = "PORTABLE_IOT"; | |
const char* pass = "goodlife"; | |
WiFiUDP Udp; // A UDP instance to let us send and receive packets over UDP | |
const unsigned int localPort = 12345; // local port to listen for OSC packets (actually not used for sending) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LICENSE | |
// | |
// This software is dual-licensed to the public domain and under the following | |
// license: you are granted a perpetual, irrevocable license to copy, modify, | |
// publish, and distribute this file as you see fit. | |
// | |
// VERSION | |
// 0.1.0 (2016-06-01) Initial release | |
// | |
// AUTHOR |