2023-01-09 10:42:32 +01:00
|
|
|
# Basics 101
|
|
|
|
|
|
2023-01-09 10:49:57 +01:00
|
|
|
<p align="center">
|
|
|
|
|
<img src="https://git.le-club-des-sans-sujets.org/gauthiier/Revisiting-Concepts-Notations-Software-Art/raw/branch/main/img/compiler.svg" alt="autopilot creativity" height="150"/>
|
|
|
|
|
</p>
|
2023-01-09 10:42:32 +01:00
|
|
|
|
2023-01-09 10:49:57 +01:00
|
|
|
<p align="center">
|
|
|
|
|
<img src="https://git.le-club-des-sans-sujets.org/gauthiier/Revisiting-Concepts-Notations-Software-Art/raw/branch/main/img/interpreter.svg" height="150"/>
|
2023-01-09 10:52:12 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
## Sketch: 0. Hello World
|
2023-01-09 10:52:44 +01:00
|
|
|
|
2023-01-09 10:54:32 +01:00
|
|
|
```javascript
|
2023-01-09 10:52:12 +01:00
|
|
|
// Hello world!
|
|
|
|
|
// This is comment
|
|
|
|
|
|
|
|
|
|
function setup() {
|
|
|
|
|
createCanvas(400, 400);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function draw() {
|
|
|
|
|
background(220);
|
|
|
|
|
print("Hello World"); // see the console below ↓
|
|
|
|
|
}
|
2023-01-09 10:54:32 +01:00
|
|
|
```
|