Based on: Double Checkerboard by Barbara Dwyer, 1976
Category: direct
Description:
//code from p5js This sketch does not run in the browser.
/* Part of the ReCode Project (http://recodeproject.com) Based on "Double Checkerboard" by Barbara Dwyer Originally published in "Computer Graphics and Art" v1n3, 1976 Copyright (c) 2024 randomartin - OSI/MIT license (http://recodeproject/license). */ /* @pjs pauseOnBlur="true"; */ function setup() { createCanvas(3508,3508); background(255); beginShape(); for(i=-150;i<=150;i++){ let tx = pow(sin(i*3),3); let ty = pow(cos(i*3),3); let x = width/3; let y = height/3; //fill(0); strokeWeight(1.5); vertex(sin(ty*3)/ty*y,ty*y+x+width/6); vertex(width/2-150,tx-ty*x+y+width/6); } endShape(CLOSE); } function draw() { }