Skip to content

Instantly share code, notes, and snippets.

View dimkir's full-sized avatar
🎯
Focusing

dimkir

🎯
Focusing
View GitHub Profile
@dimkir
dimkir / example02_random_words.pde
Created November 12, 2013 15:36
Processing sketch : example02_random_words
import simplicity.*;
void setup(){
size(800,600);
textFont(createFont("Arial", 34));
fill(0);
println(RandomNames.info());
frameRate(10);
}
@dimkir
dimkir / Mover2.pde
Created November 12, 2013 15:38
Processing sketch : angularMotion
/*
Implementation of angular mover
*/
class Mover2
{
// location
PVector location;
PVector velocity;
PVector acceleration;
@dimkir
dimkir / nirclePointTest.pde
Created November 12, 2013 14:41
Processing sketch : nirclePointTest
final int THOUSAND = 1000;
final int C_POINT_COUNT = 100 *THOUSAND;
final color C_PIXEL_COLOR = #FFFFFF;
RandomPoints[] pointSets = new RandomPoints[2];
int curPointsetIndex = 0;
@dimkir
dimkir / lettersExplodeTest.pde
Created November 12, 2013 14:09
Processing sketch : lettersExplodeTest
//#GISTID:7431373
import geomerative.*;
import org.apache.batik.svggen.font.table.*;
import org.apache.batik.svggen.font.*;
RShape letterShape, polyshape;
int midX, midY;
void setup(){
size(800,600);
@dimkir
dimkir / my_save_frame.pde
Created November 12, 2013 14:17
Processing sketch : worldMapProject
/**
* This is automatically generated code.
* It is re-inserted into sketch every time code is inserted into PDE.
* Purpose of this code is to implement functionality of saving screenshot
* of running sketch on keyboard key release.
*/
@Override
void keyReleased(KeyEvent evt){
println("*******************keyEvent: " + evt.getAction() );
if ( evt.getAction() == KeyEvent.RELEASE ){
@dimkir
dimkir / lettersExplodeTest.pde
Created November 12, 2013 14:07
Processing sketch : lettersExplodeTest
//#GIST:7431373
import geomerative.*;
import org.apache.batik.svggen.font.table.*;
import org.apache.batik.svggen.font.*;
RShape letterShape, polyshape;
int midX, midY;
void setup(){
size(800,600);
@dimkir
dimkir / sketch_code.pde
Created November 11, 2013 11:11
Created using Sketch2Tweet tool
this is new code to
post
@dimkir
dimkir / sketch_code.pde
Created November 11, 2013 01:21
Created using Sketch2Tweet tool
this is new code to
post
@dimkir
dimkir / sketch_code.pde
Created November 11, 2013 01:21
Created using Sketch2Tweet tool
This is my code to post lalalala
@dimkir
dimkir / sketch_code.pde
Created October 30, 2013 09:31
Created using Sketch2Tweet tool
Amended at 1383125496217 import geomerative.*;
RShape shp;
RShape polyshp;
void setup(){
size(600, 600);
smooth();
// VERY IMPORTANT: Allways initialize the library before using it