Coding Challenge #37: Diastic Machine

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=u-HUtrpyi1c



Duration: 16:19
36,912 views
479


The Diastic technique is a methodology and algorithm for generating found poetry from a source text. It was developed and used by poet / artist Jackson Mac Low. In this challenge, I generate diastic poems using p5.js. Code: https://thecodingtrain.com/challenges/37-diastic-machine

πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/DVBg6l2Xx

πŸŽ₯ Previous video: https://youtu.be/rX5p-QRP6R4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ““ Jackson Mac Low on Wikipedia: https://en.wikipedia.org/wiki/Jackson_Mac_Low

Live Stream Archive:
πŸ”΄ Coding Train Live 59: https://youtu.be/UTq0RQwnU3s?t=9285s

Related Coding Challenges:
πŸš‚ #39 Mad Libs Generator: https://youtu.be/ziBO-U2_t3k
πŸš‚ #42 Markov Chain Name Generator: https://youtu.be/eGFJ8vugIWA

Timestamps:
0:06 What is a Diastic machine?
2:08 Understanding via diagram
3:41 Let's start coding!
3:58 Seed phrase
5:01 Attaching an event to an element
6:23 Load from a text file
7:37 Implement the Diastic algorithm
12:57 Adding the phrase to the DOM
13:31 Looking for the next instance of a word
14:35 Things you can fix or add!
15:35 Have fun!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#poetry #diasticmachine #javascript #p5js







Tags:
challenge
diastic
fault codes
coding
error codes
p5.js
daniel shiffman
p5.js tutorial
p5js
creative coding
p5 js
javascript
tutorial
javascript (programming language)
algorithm
Jackson Mac Low
algorithmic poetry
poetry
computer poetry
generative poetry
poem
computer poem
code poem