Skip to content

Instantly share code, notes, and snippets.

@wnjnz
Created October 23, 2017 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wnjnz/2f58bd7c4c66c8dce3bc99dd4ce38c1f to your computer and use it in GitHub Desktop.
Save wnjnz/2f58bd7c4c66c8dce3bc99dd4ce38c1f to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/becelih
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.16/p5.js"></script>
</head>
<body>
<script id="jsbin-javascript">
function setup(){
createCanvas(400,800);
}
function draw(){
stroke(2);
background(50);
ellipse(20,20,100,100);
}
</script>
<script id="jsbin-source-javascript" type="text/javascript">function setup(){
createCanvas(400,800);
}
function draw(){
stroke(2);
background(50);
ellipse(20,20,100,100);
}</script></body>
</html>
function setup(){
createCanvas(400,800);
}
function draw(){
stroke(2);
background(50);
ellipse(20,20,100,100);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment