Move all the figure shortcodes to /layouts/shortcodes/figures; center all of them

This commit is contained in:
Eryn Wells 2022-08-20 09:38:27 -07:00
parent ead979da00
commit 542866489d
12 changed files with 43 additions and 37 deletions

View file

@ -6,7 +6,7 @@ draft: false
tags: ["Music", "Eurorack", "Synthesizers", "Recordings", "Performances"]
---
{{< youtube_figure id="sqr7g4P85aM" title="A top-down video of me operating a small Eurorack system made of only three modules. Lights flash, an incorporeal hand turns knobs to sculpt the sound." >}}
{{< figures/youtube id="sqr7g4P85aM" title="A top-down video of me operating a small Eurorack system made of only three modules. Lights flash, an incorporeal hand turns knobs to sculpt the sound." >}}
This is my submission to the [Three Module Challenge][3mc] show put on by
Colorado Modular Synth Society in late January 2022. This is my first time
@ -19,4 +19,4 @@ performing, without the stage fright that comes with doing it live in front of a
crowd. I encourage you to give it a go if you're interested in performing!
[3mc]: https://youtu.be/sglQv_fV4FQ?t=1930
[hosts]: https://youtu.be/sglQv_fV4FQ?t=2382
[hosts]: https://youtu.be/sglQv_fV4FQ?t=2382

View file

@ -26,7 +26,7 @@ Most recently, it's what got me hooked on the genre all over again. Famously, it
you start. It's up to you to figure out everything based on what you -- the player -- know about the game. It's like a
puzzle!
{{< post_figure name=nethack >}}
{{< figures/image name=nethack >}}
### Brogue
@ -35,7 +35,7 @@ awe. It does a really great job of making use of the terminal to render a beauti
(there are lakes!) animates, there are fields of mossy grass and plants, there are blobs of goo that explode and spread
noxious pink gas everywhere.
{{< post_figure name=brogue >}}
{{< figures/image name=brogue >}}
### Dungeon Crawl Stone Soup
@ -43,7 +43,7 @@ My friend David introduced me to [Dungeon Crawl Stone Soup][dcss] on Twitter. I
the complexities of many roguelikes into a simpler form that's still rich and engaging. I really like how easy it is to
drop in on people and observe games too!
{{< post_figure name=dcss >}}
{{< figures/image name=dcss >}}
[nh]: https://www.nethack.org
[b]: https://sites.google.com/site/broguegame/

View file

@ -15,7 +15,7 @@ This is a quick write-up to share with y'all a small project I've been working
on using [P5.js][p5] and [Web Audio][webaudio] to implement some audio
visualizations. By the end, we'll have something like this:
{{< p5_sketch id="oscilloscopeFinal" bordered=1 >}}
{{< figures/p5 id="oscilloscopeFinal" bordered=1 >}}
## Embedding an Audio File
@ -83,13 +83,13 @@ node to the input of the analyzer node, and the output of the analyzer node to
the audio context's `destination` node that routes to the computer's speakers.
Our audio processing graph looks like this:
{{< railroad_diagram id="audioContextDiagram" >}}
{{< figures/railroad id="audioContextDiagram" >}}
return rr.Diagram(
rr.Sequence(
rr.Terminal("<audio>"),
rr.Terminal("Analyzer"),
rr.Terminal("destination")));
{{< / railroad_diagram >}}
{{< /figures/railroad >}}
By itself the AudioContext doesn't actually play any audio. I'll tackle that
next.