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

From Medien Wiki
No edit summary
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 09:13, 9 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);
}