GMU:Actors, Traces, Collectives/SS17/Funktionen: Difference between revisions

From Medien Wiki
(Created page with "<syntaxhighlight lang="Javascript"> void setup() { size(640,360); } void draw() { background(255); circle(200,200,40); } void circle(float xloc, float yloc, int size){...")
 
No edit summary
Line 1: Line 1:
<syntaxhighlight lang="Javascript">
<syntaxhighlight lang="JavaScript">
void setup() {
void setup() {
   size(640,360);
   size(640,360);

Revision as of 15:09, 8 June 2017

void setup() {
  size(640,360);
}

void draw() {
  background(255);
  circle(200,200,40);
}

void circle(float xloc, float yloc, int size){
  ellipse(xloc,yloc,size,size);
}