From affaf349758bbb50b9f4c4e57880a2b68f46609d Mon Sep 17 00:00:00 2001 From: gauthiier Date: Tue, 17 Jan 2023 01:17:49 +0100 Subject: [PATCH] fix images --- 3.Drawing-with-numbers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3.Drawing-with-numbers.md b/3.Drawing-with-numbers.md index a51f5e0..85a7796 100644 --- a/3.Drawing-with-numbers.md +++ b/3.Drawing-with-numbers.md @@ -64,7 +64,7 @@ function draw() { Remember sinusoidal in school? Well sinus and cosinus are great functions to play with to produce simple animations. Sinusoidals (sinus or cosinus) have interesting properties that can easily be parametrised.

- +

In our p5js environment there is a ```sin``` function that can be used along a special ```frameCount``` counter to oscillate between -1 and 1 infinitely. A statement like to one below will roughly oscillate between 0 and 255 each time ```frameCount``` is incremented. @@ -124,10 +124,10 @@ Well this looks very much like sketch 1.1 right? Since we have an array through With p5js we can also work with images. The way we are going to work with images will be to upload them to our environment. The way to do this simply is the open the Sketch files and select upload files.

- +

-When the image we would like to use is uploaded, the way we can display it on the canvas is as follow. +When the image we would like to use is uploaded, the way we can display it on the canvas is as follow. For this sketch I am using [this image](https://git.le-club-des-sans-sujets.org/gauthiier/Revisiting-Concepts-Notations-Software-Art/src/branch/main/img/alan-turing.png). ```javascript // Image!