Scale
Video: 9.2: Transformations Pt.2 (Scale) - p5.js Tutorial
Code for video is here
Scale command makes outline border change, too. It "zooms in" on the window.
scale (x, y);
scale(-1); // explained starting at 5:30 in video. Order of operations is important in his example.
Challenge: make a map that you can zoom in / zoom out.
Code for video is here
Scale command makes outline border change, too. It "zooms in" on the window.
scale (x, y);
scale(-1); // explained starting at 5:30 in video. Order of operations is important in his example.
Challenge: make a map that you can zoom in / zoom out.