This file contains hidden or 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
(define (parse [s : s-expression]) : FBAPEsug | |
(cond [(s-exp-number? s) (numS (s-exp->number s))] | |
[(s-exp-list? s) | |
(let ([sl (s-exp->list s)]) | |
(cond [(= length sl 3) | |
(case (s-exp->symbol (first sl)) | |
[(+) (plusS (parse (second sl)) (parse (third sl)))] | |
[(*) (multS (parse (second sl)) (parse (third sl)))] | |
[(-) (bminusS (parse (second sl)) (parse (third sl)))] | |
[(**) (expS (parse (second sl)) (parse (third sl)))] |
This file contains hidden or 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
#lang plai-typed | |
;;data def | |
(define-type FBAPE-expressions | |
[numC (n : number)] | |
[plusC (l : FBAPE-expressions) (r : FBAPE-expressions)] | |
[subC (l : FBAPE-expressions) (r : FBAPE-expressions)] | |
[multC (l : FBAPE-expressions) (r : FBAPE-expressions)] | |
[expC (l : FBAPE-expressions) (r : FBAPE-expressions)] | |
; [grtrZeroC (a : FBAPE-expressions) (b : FBAPE-expressions) (c : FBAPE-expressions)] |
This file contains hidden or 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
void setup(){ | |
size(800,600); | |
background(255); | |
} | |
void draw(){ | |
noStroke(); | |
fill(0); | |
//triangle(30, 80, 30, 20, 86, 50); | |
scale(1.115); |
This file contains hidden or 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
PImage portre; | |
void setup(){ | |
size(800,600); | |
portre = loadImage("keko.jpg"); | |
colorMode(HSB,100); | |
} | |
void draw(){ | |
background(0); |
This file contains hidden or 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
PShape sekil; | |
void setup(){ | |
size(800,600); | |
sekil= loadShape("shape.svg"); | |
noLoop(); | |
draw(); | |
} | |
void draw(){ |
This file contains hidden or 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
PFont yazi; | |
void setup(){ | |
size(800,600); | |
yazi = loadFont("GillSans-48.vlw"); | |
} | |
void draw(){ | |
background(255); | |
textFont(yazi, 48); |
This file contains hidden or 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
//author:Baran Elitez | |
int millisoff; | |
//PImage bg; | |
color step1 = color(0,0,0); | |
color step2 = color(112,219,255); |
This file contains hidden or 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
PShape flower; | |
PImage moon,tribe,tribe2; | |
PFont textCubic; | |
void setup(){ | |
int sizeTribe=200; | |
textCubic= loadFont("Cubic-48.vlw"); | |
textFont(textCubic,48); | |
size(800,600); |
This file contains hidden or 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
// Auduino, the Lo-Fi granular synthesiser | |
// | |
// by Peter Knight, Tinker.it http://tinker.it | |
// | |
// Help: http://code.google.com/p/tinkerit/wiki/Auduino | |
// More help: http://groups.google.com/group/auduino | |
// | |
// Analog in 0: Grain 1 pitch | |
// Analog in 1: Grain 2 decay | |
// Analog in 2: Grain 1 decay |
This file contains hidden or 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
import tweepy | |
import sys | |
import jsonpickle | |
import geojson | |
import os | |
# with AppAuthanticator i can gather more tweets :) | |
auth = tweepy.AppAuthHandler("4R3sDtya1Kt9O38tcoJI1Q", "o9nvU3JoUZisDkaH6eSXARnMiyE5TXN98ib2jDb6N3A") | |
api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notify=True) |
OlderNewer