Tyler Ben

Generation

// main.js function setup() { createCanvas(500, 500); background(0); } function draw() { background(0); point(0, 0); point(0, 500); point(500, 0); point(500, 500); point(250, 250); point(250, 50); point(250, 450); point(50, 250); point(450, 250); point(50, 50); point(50, 450); point(450, 50); point(450, 450); }I’m

<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.js"></script> <script> // main.js function setup() { createCanvas(500, 500); background(0); } function draw() { background(0); point(0, 0); point(0, 500); point(500, 0); point(500, 500); point(250, 250); point(250, 50); point(250, 450); point(50, 250); point(450, 250); point(50, 50); point(50, 450); point(450, 50); point(450, 450); } </script>

Questions about programming?Chat with your personal AI assistant