@@ -81,11 +81,11 @@ function outputs(p5, fn){
8181 *
8282 * <div>
8383 * <code>
84- *
84+ *
8585 * function setup(){
8686 * createCanvas(100, 100);
8787 * }
88- *
88+ *
8989 * function draw() {
9090 * // Add the text description.
9191 * textOutput();
@@ -106,11 +106,11 @@ function outputs(p5, fn){
106106 *
107107 * <div>
108108 * <code>
109- *
109+ *
110110 * function setup(){
111111 * createCanvas(100, 100);
112112 * }
113- *
113+ *
114114 * function draw() {
115115 * // Add the text description and
116116 * // display it for debugging.
@@ -225,11 +225,11 @@ function outputs(p5, fn){
225225 *
226226 * <div>
227227 * <code>
228- *
228+ *
229229 * function setup() {
230230 * createCanvas(100, 100);
231231 * }
232- *
232+ *
233233 * function draw() {
234234 * // Add the grid description.
235235 * gridOutput();
@@ -250,11 +250,11 @@ function outputs(p5, fn){
250250 *
251251 * <div>
252252 * <code>
253- *
253+ *
254254 * function setup(){
255255 * createCanvas(100, 100);
256256 * }
257- *
257+ *
258258 * function draw() {
259259 * // Add the grid description and
260260 * // display it for debugging.
@@ -561,7 +561,8 @@ function outputs(p5, fn){
561561
562562 //gets position of shape in the canvas
563563 fn . _getPos = function ( x , y ) {
564- const { x : transformedX , y : transformedY } = this . worldToScreen ( new p5 . Vector ( x , y ) ) ;
564+ const { x : transformedX , y : transformedY } =
565+ this . worldToScreen ( new p5 . Vector ( x , y ) ) ;
565566 const canvasWidth = this . width ;
566567 const canvasHeight = this . height ;
567568 if ( transformedX < 0.4 * canvasWidth ) {
0 commit comments