Lissajous XXIII

T-Shirts & Hoodies

Clothing Style:
or
$24.80
Rupert  Russell

Ballarat, Australia

  • Product
    Info
  • Reviews
  • Available
    Products
    6
  • Artist
    Notes

Sizing Information

S M L XL 2XL 3XL
Chest 36" 40" 44" 48" 52" 56"
Length 28" 29" 30" 31" 32" 33"
Sizing chart

Features

  • Sweatshop-free, ethically sourced 100% cotton apparel
  • Printed using cutting edge direct to garment technology
  • Slim fit, order a size up if you'd like it less fitting
  • Cold wash and hang out to dry

Reviews

Artist's Description

// Created with Processing
// Draws a Lissajous figures
// 3 April 2011
// Examples

int screen_width = 2000;
int screen_height = 2000;

/* Scale image and reduce by 5 pixels to remove from edge of screen */
int AX = (screen_width / 2) – 5;
int BX = (screen_height / 2) – 5;

float a = 4;
float b = 6;
float x1, y1, x2, y2;

int counter = 0;
int saveCounter = 0;
String file_name;
//
void setup(){
smooth();
fill(255);
strokeWeight(2);
size(screen_width, screen_height);
}
//
void draw(){
fill(#000000);
//
x1 = (sin(a * counter) * AX) + screen_width / 2;
//
y1 = (sin(b * counter) * BX) + screen_height / 2;
//
counter = counter + 1;
//
y2 = screen_width / 2;
//
x2 = screen_height / 2;
//
line(x1,y1,x2,y2);
ellipse((tan(a * counter) * AX) + screen_width / 2 , (tan(b * counter) * BX) + screen_height / 2, 10, 10);
ellipse((sin(a * counter) * AX) + screen_width / 2 , (sin(b * counter) * BX) + screen_height / 2, 10, 10);
//
saveCounter = saveCounter + 1;
if (saveCounter == 365) {
String file_name = “Lissajou_a=” + str(a) + “_b=” + str(b);
save(file_name);
noLoop();
}
}

T-Shirts & Hoodies Tags

processing lissajous maths linear

All Products Tags

processing lissajous maths linear

desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait
desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait

10%off for joining

the Redbubble mailing list

Receive exclusive deals and awesome artist news and content right to your inbox. Free for your convenience.