Templates: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
= template based works =
= template based works =
[[File:Madlibs02.jpg|right]]
[[File:Madlibs02.jpg|right|300px]]


[https://en.wikipedia.org/wiki/Mad_Libs Mad Libs] - phrasal template word game   
[https://en.wikipedia.org/wiki/Mad_Libs Mad Libs] - phrasal template word game   
Line 11: Line 11:


Spam  
Spam  
** [https://pinknoi.so/2013-Works-NarrativesofDeception.html ''Narratives of Deception''] - [https://wiki.pinknoi.so/images/pdf/Narratives_booklet.pdf PDF booklet]
* [https://pinknoi.so/2013-Works-NarrativesofDeception.html ''Narratives of Deception''] - [https://wiki.pinknoi.so/images/pdf/Narratives_booklet.pdf PDF booklet]




Line 33: Line 33:
* (mac) <pre>brew install python-pip</pre>
* (mac) <pre>brew install python-pip</pre>


'''git clone scripts repository'''
= Integration with HTML,CSS=
git clone https://git.pzimediadesign.nl/repos/t4pp_03_twitter.git
* HTML can provide structure to templates
* CSS can provide (variable) style
* WeasyPrint can generate PDFs and PNGS from HTML and CSS, and can be use as a Python library

Revision as of 16:01, 18 November 2016

template based works

Madlibs02.jpg

Mad Libs - phrasal template word game

News and reports

Artybollocks Generator

Spam


Words Made Flesh Florian Cramer - Chapter 3: Computation and Fragmentation

  • Cut ups

Uncreative Writing - Kenneth Goldsmith


Markov Chains

What are Markov Chains

projects using Markov chains

python install PyMarkovChain

install PyMarkovChain Python library

sudo pip install PyMarkovChain

if you dont have pip (python package manager) install it:

  • (debian/ubuntu)
    sudo aptitude install python-pip
  • (mac)
    brew install python-pip

Integration with HTML,CSS

  • HTML can provide structure to templates
  • CSS can provide (variable) style
  • WeasyPrint can generate PDFs and PNGS from HTML and CSS, and can be use as a Python library