Skip to main content

p5js image




function setup(){
  createCanvas(800,600);
  strokeWeight(5); //white lines and stroke around shapes 
}
function draw(){
  background(0,165,10,1); //green background
  stroke(1);
  line(100,600,100,50); //black vertical line
  if(mouseIsPressed){
    stroke(0);
  }else{
    stroke(255,255,255); // color white in upper horizontal and diagonal lines
}
fill(255,0,0); // color red of the shapes: round, rectangular
  line(800,50,50,50);
  line(1200,800,50,50);
  rect(300,200,160,85);
  rect(400,250,160,85);
  rect(550,5,160,85);
  rect(300,5,160,85)
  rect(50,10,160,85);
  rect(600,390,100,100);
  stroke(1); // black lines diagonal described below
  line(1,100,100,100); //black short horizontal line
  line(100,100,1400,880); //black diagonal line
 stroke(255); // color of stroke around moving shapes are the same as the static ones
ellipse(mouseX, mouseY,50,50);
ellipse(100,400,50,50);
ellipse(100,300,50,50);
ellipse(100,200,50,50);
ellipse(100,500,50,50);
}


Comments

Popular posts from this blog

Personal Website

homepages.utoledo.edu/mditore Critique Do not link name and last name with an artwork (p5.js) Change the location of Contact, also change the name to call it Blog Make sure that the Generative art is linked to the page or use a photograph to linked it to the p5.js site Make sure that all formatting is unified Correct grammar mistake in Animation on page 1  Photographs sizing on portfolio: Print

Web Links

Positioning the p5.js sketch canvas in the website (November 16) https://github.com/processing/p5.js/wiki/Positioning-your-canvas   How to structure a effective Typographic Hierarchy https://www.toptal.com/designers/typography/typographic-hierarchy Writing About your Work https://creative-capital.org/2013/01/03/writing-about-your-work/ https://theabundantartist.com/how-to-write-an-artists-statement-that-doesnt-suck/ https://www.artbusiness.com/artstate.html Image Maps https://www.w3schools.com/html/html_images_imagemap.asp In Dreamweaver https://helpx.adobe.com/dreamweaver/using/image-maps.html Rhizome https://artbase.rhizome.org/wiki/Main_Page V2 https://www.v2.nl/ Intercommunication Center https://www.ntticc.or.jp/en/ Penny Stamps Lectures  https://stamps.umich.edu/penny-stamps-speaker-series Light Box Query https://lokeshdhakar.com/projects/lightbox2/ Google Fonts https://fonts.google.com/ Meta Tags https://www.w3schools.com/tags/tag_meta.asp How to Create Tooltips https://...

Generative Artists

Generative Art: "is a process of algorithmically generating new ideas, forms, shapes, colors and patterns. First, you create rules that provide boundaries for the creation process. Then, a computer follows those rules to produce new works on your behalf." Algorithm Art or Code Art or Procedural Art: "It is a step-by-step method of solving a problem. And it is one of the fundamental building blocks of computer science." https://aiartists.org/generative-art-design   Michael Hansmeyer Manolo Gamboa Naon Anders Hoff Katharina Brunner       https://katharinabrunner.de            / https://x.com/MSchories/status/1084766780701184000?s=2 Jon McCormack Brian Eno Roelof Pieters and Samim Winiger, co-founders of  https://creative.ai/ Fernando Ramallo Meatt Pearson Mark J. Stock Casey Reas Frieder Nake Georg Nees Michael Noll Grace Hertlein Muriel Cooper Ben Fry Muriel Cooper Scott Draves Anastasia Opera Sol Lewitt Daniel Shiffman Lauren...