Open iverubini opened 2 years ago
for now I kind of ignored the machine learning aspect of the code, but I want to make a novel out of silly random generated inspirational quotes fit for instagram.
how it started: https://editor.p5js.org/iverubini/sketches/seAX5ibyX
how it's looking now:
I know it's late for prototypes, hopefully this will be complete by november 30th!
For the final version, I calculated the average of words in each page, which was 82. So I multiplied this by 610, in order to achieve 50k words in total, resulting in 610 pages consisting in 6 inspirational instagram posts.
The final structure of each post is: affirmation + icon + question + longer affirmation + hashtag.
For a greater variety of sentences, I used two word banks: https://github.com/janester/mad_libs/blob/master/List%20of%20Plural%20Nouns.txt for nouns and https://www.wordexample.com/list/verbs-in-english#google_vignette for verbs conjugated in the third person.
I used this dingbat font for the icons: https://www.dafont.com/de/cute-icons.font . I didn't use all of the characters like letters v, r and x.
People's names came from sci-fi stories like 1984, Brave New World and Rocky Horror Picture Show and a few other names like Anna-Varney, Cologne and London, which have a sonority that I like.
The file affirmations.pde generates one frame per play in Processing, and affirmations_pdf.pde generates 610 pages with 6 instagram posts each.
The final version can be downloaded at: https://drive.google.com/file/d/1YhSJz37gpiH9NTJDaZ38wx4dpsR6au3C/view?usp=sharing . A smaller preview can be seen in the repository under affirmationsPreview.pdf .
codes: https://github.com/iverubini/helloNovel/blob/main/affirmations.pde (1 frame preview) https://github.com/iverubini/helloNovel/blob/main/affirmations_pdf.pde (610 pdf pages)
output (preview): https://github.com/iverubini/helloNovel/blob/main/affirmationsPreview.pdf
output full (175Mb): https://drive.google.com/file/d/1YhSJz37gpiH9NTJDaZ38wx4dpsR6au3C/view?usp=sharing
hello! I have just uploaded this repository with a processing code that generates random sentences. I want to convert it to p5js and maybe optimize it for machine learning.
https://github.com/iverubini/helloNovel