diff --git a/.gitignore b/.gitignore index e43b0f9..36a416f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +dist diff --git a/Makefile b/Makefile index 454f3fa..4f1c389 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ build: slides website -slides: +slides: dist pandoc slides/slides.md -o dist/slides.pdf -t beamer -V theme:DarkConsole -website: - pandoc website/site.md -o dist/website/index.html +dist: + mkdir -p dist + mkdir -p dist/website + +website: dist + cp -f website/style.css dist/website/style.css + cp -f dist/slides.pdf dist/website/slides.pdf + pandoc website/site.md -o dist/website/index.html -c style.css -s qrcode: qrencode -t PNG -s 5 -o imgs/menti.png https://www.menti.com/9w1aj8bb8o diff --git a/dist/slides.pdf b/dist/slides.pdf deleted file mode 100644 index 78e4415..0000000 Binary files a/dist/slides.pdf and /dev/null differ diff --git a/dist/website/index.html b/dist/website/index.html deleted file mode 100644 index de0b60f..0000000 --- a/dist/website/index.html +++ /dev/null @@ -1,26 +0,0 @@ -

-
-

Links

- - - -

Editor

- - diff --git a/slides/slides.md b/slides/slides.md index 22ff594..b87dd8d 100644 --- a/slides/slides.md +++ b/slides/slides.md @@ -1,7 +1,7 @@ --- title: Coding Art! subtitle: Workshop für die kritischen Einführungswochen 2022 -author: AG Link für kritische Informatik +author: AG Link für kritische Informatik, Marie und Lukas date: "11. Oktober 2022" classoption: "aspectratio=169" header-includes: @@ -13,7 +13,17 @@ header-includes: ## Wer sind wir? - Marie und Lukas -- AG Link für kritische Informatik +- AG Link für kritische Informatik + - **[ag-link.xyz](https://ag-link.xyz)** + +## Ablauf + +1. -> Einstieg <- +2. Einführung p5js +3. Interaktives Tutorial in Kleingruppe +4. Beispiele generativer Kunst +5. Eigene Kunst in Kleingruppen +6. Abschluss ## Was haben wir heute vor? @@ -34,4 +44,4 @@ header-includes: ## P5.JS -- **Livedemo!* +- **Livedemo!** diff --git a/website/site.md b/website/site.md index f643fbc..9a18404 100644 --- a/website/site.md +++ b/website/site.md @@ -1,32 +1,37 @@ --- - +--- +title: Coding Art - Workshop für die KEW 2022 --- -# Links +## Links - - Einstieg - - p5-Editor + - [Interaktives Tutorial](https://openprocessing.org/sketch/1642700) + - [p5-Editor](https://editor.p5js.org) - Code-Beispiele - Beispiel 1 (Shapes) - Beispiel 2 (Color) - Beispiel 3 (Interaktion) + - [Mehr Informationen über die AG Link](https://ag-link.xyz) -## Weiterführende Links - - p5 Bibliotheksreferenz - - Interaktive Paramterübersicht - - Daniel Shiffman - - OpenProcessing - -# Editor +## Editor +## Downloads + - [Vortragsslides](slides.pdf) + +## Weiterführende Links + + - [p5 Bibliotheksreferenz](https://p5js.org/reference/) + - [Interaktive Paramterübersicht](TODO) + - [Daniel Shiffman - The Coding Train](https://thecodingtrain.com) + - [OpenProcessing](openprocessing.org) + diff --git a/website/style.css b/website/style.css index 31ad7f7..04fffb2 100644 --- a/website/style.css +++ b/website/style.css @@ -1,4 +1,17 @@ +:root { + --link-color: #00755e; + --visited-color: #00755e; +} + html { + font-family: sans-serif; + size: 12px; +} + +body { + width: 80%; + max-width: 1024px; + margin: auto; background-color: #fdf6e3 !important; } @@ -6,3 +19,20 @@ footer { text-align: center; margin-top: 3em; } + + +a { + text-decoration: none; + font-weight: bold; + color: var(--link-color); +} + +h2:after { + content: ""; + background-image: url("https://ag-link.xyz/assets/img/connection.png"); + background-size: contain; + width: .75em; + height: .75em; + display: inline-block; + margin-left: .3em; +}