diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01564af --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tex diff --git a/cards/_output/output.pdf b/cards/_output/output.pdf index c38ef2c..430f5cd 100644 Binary files a/cards/_output/output.pdf and b/cards/_output/output.pdf differ diff --git a/cards/cards.csv b/cards/cards.csv index 036ef88..8ae3989 100644 --- a/cards/cards.csv +++ b/cards/cards.csv @@ -1,155 +1,87 @@ name,type,text,illustration -Livingroom,O,...,img/o_card.svg -Computer,O,...,img/o_card.svg -Facebook,O,...,img/o_card.svg -Urban,O,...,img/o_card.svg -Empty City,O,...,img/o_card.svg -Depleted Resources,O,...,img/o_card.svg -Supplies,O,...,img/o_card.svg -Mask,O,...,img/o_card.svg -Hospital,O,...,img/o_card.svg -ICU,O,...,img/o_card.svg -Bed,O,...,img/o_card.svg -Sanitizer,O,...,img/o_card.svg -Patio,O,...,img/o_card.svg -Produce,O,...,img/o_card.svg -Meat,O,...,img/o_card.svg -Canned Goods,O,...,img/o_card.svg -Debate,O,...,img/o_card.svg -Fight,O,...,img/o_card.svg -Resistance,O,...,img/o_card.svg -Inertia,O,...,img/o_card.svg -Truth,O,...,img/o_card.svg -Vaccine,O,...,img/o_card.svg -Hoax,O,...,img/o_card.svg -Internet,O,...,img/o_card.svg +occasions,O,...,img/o_card.svg +Journey,O,...,img/o_card.svg +Magic,O,...,img/o_card.svg +Stillness,O,...,img/o_card.svg +Care,O,...,img/o_card.svg +Power,O,...,img/o_card.svg +Education,O,...,img/o_card.svg Connection,O,...,img/o_card.svg -Disconnection,O,...,img/o_card.svg -Conspiracy,O,...,img/o_card.svg -Cult,O,...,img/o_card.svg -Meme,O,...,img/o_card.svg -Space race,O,...,img/o_card.svg -Idiocracy,O,...,img/o_card.svg -Slowdown,O,...,img/o_card.svg -Distance,O,...,img/o_card.svg -Transition,O,...,img/o_card.svg -Social contract,O,...,img/o_card.svg -UBI,O,...,img/o_card.svg -Blockchain,O,...,img/o_card.svg -Privacy,O,...,img/o_card.svg -Conspiracy,O,...,img/o_card.svg -Science,O,...,img/o_card.svg -Illness,O,...,img/o_card.svg -Border,O,...,img/o_card.svg -Therapy,O,...,img/o_card.svg -Rule,O,...,img/o_card.svg -Path,O,...,img/o_card.svg -Quarantine,O,...,img/o_card.svg -Survival,O,...,img/o_card.svg -Cult,O,...,img/o_card.svg -Rebellion,O,...,img/o_card.svg -Self,O,...,img/o_card.svg -Loss,O,...,img/o_card.svg +Obstacle,O,...,img/o_card.svg +Tool,O,...,img/o_card.svg +Retreat,O,...,img/o_card.svg +Fortune,O,...,img/o_card.svg +Justice,O,...,img/o_card.svg +Sacrifice,O,...,img/o_card.svg +Death,O,...,img/o_card.svg +Art,O,...,img/o_card.svg +Decay,O,...,img/o_card.svg Ruin,O,...,img/o_card.svg +Creativity,O,...,img/o_card.svg +Bridge,O,...,img/o_card.svg +Energy,O,...,img/o_card.svg +Transformation,O,...,img/o_card.svg +World,O,...,img/o_card.svg +Food ,O,...,img/o_card.svg +Shelter,O,...,img/o_card.svg +Home,O,...,img/o_card.svg +Clothing,O,...,img/o_card.svg +Water,O,...,img/o_card.svg +Air,O,...,img/o_card.svg +Fire,O,...,img/o_card.svg +Soil,O,...,img/o_card.svg +Garden,O,...,img/o_card.svg +Sleep,O,...,img/o_card.svg +Refuge,O,...,img/o_card.svg Forest,O,...,img/o_card.svg Desert,O,...,img/o_card.svg Ocean,O,...,img/o_card.svg Swamp,O,...,img/o_card.svg -Bread,O,...,img/o_card.svg -Heatwave,O,...,img/o_card.svg -Wound,O,...,img/o_card.svg -Movement,O,...,img/o_card.svg -Protest,O,...,img/o_card.svg -Separation,O,...,img/o_card.svg -Justice,O,...,img/o_card.svg -Crisis,O,...,img/o_card.svg -Experiment,O,...,img/o_card.svg -Death,O,...,img/o_card.svg -Abundance,O,...,img/o_card.svg -Friendship,O,...,img/o_card.svg -Kinship,O,...,img/o_card.svg -Change,O,...,img/o_card.svg +Steppe,O,...,img/o_card.svg +Ice,O,...,img/o_card.svg +Science,O,...,img/o_card.svg Livelihood,O,...,img/o_card.svg Politics,O,...,img/o_card.svg -Accretion,O,...,img/o_card.svg +Abundance,O,...,img/o_card.svg +Survival,O,...,img/o_card.svg +Therapy,O,...,img/o_card.svg +Money,O,...,img/o_card.svg +Work,O,...,img/o_card.svg +Matter,O,...,img/o_card.svg Voice,O,...,img/o_card.svg -Discipline,O,...,img/o_card.svg -Garden,O,...,img/o_card.svg -Water,O,...,img/o_card.svg -Air,O,...,img/o_card.svg -Earth,O,...,img/o_card.svg -Fire,O,...,img/o_card.svg -Virus,O,...,img/o_card.svg -Bushcraft,O,...,img/o_card.svg -Refuge,O,...,img/o_card.svg -Ice,O,...,img/o_card.svg -Decay,O,...,img/o_card.svg -Resurgence,O,...,img/o_card.svg -Precarity,O,...,img/o_card.svg -Hostile,Q,...,img/q_card.svg -Malaise,Q,...,img/q_card.svg -Anxiety,Q,...,img/q_card.svg -Boredom,Q,...,img/q_card.svg -Frenzy,Q,...,img/q_card.svg -Suffocating,Q,...,img/q_card.svg -Paralyzed,Q,...,img/q_card.svg -Desperate,Q,...,img/q_card.svg -Hospitably,Q,...,img/q_card.svg -Erratic,Q,...,img/q_card.svg -Tedium,Q,...,img/q_card.svg -Wastefully,Q,...,img/q_card.svg -Conservatively,Q,...,img/q_card.svg -Solidarity,Q,...,img/q_card.svg -Racist,Q,...,img/q_card.svg -Inequality,Q,...,img/q_card.svg -Acedia,Q,...,img/q_card.svg -Fake,Q,...,img/q_card.svg -Interdependent,Q,...,img/q_card.svg -Shock,Q,...,img/q_card.svg -Normal,Q,...,img/q_card.svg -Authoritarian,Q,...,img/q_card.svg -Hybrid,Q,...,img/q_card.svg -Postal,Q,...,img/q_card.svg -Care,Q,...,img/q_card.svg +Nothing,O,...,img/o_card.svg +qualifiers,Q,...,img/q_card.svg +Inert,Q,...,img/q_card.svg +Resistance,Q,...,img/q_card.svg +Crisis,Q,...,img/q_card.svg +Experimental,Q,...,img/q_card.svg +Discipline,Q,...,img/q_card.svg Life,Q,...,img/q_card.svg Fool,Q,...,img/q_card.svg Young,Q,...,img/q_card.svg Ageing,Q,...,img/q_card.svg -Confined,Q,...,img/q_card.svg Belonging,Q,...,img/q_card.svg Satiated,Q,...,img/q_card.svg Lassitude,Q,...,img/q_card.svg -Overwhelmed,Q,...,img/q_card.svg -Listless,Q,...,img/q_card.svg Calm,Q,...,img/q_card.svg Critical,Q,...,img/q_card.svg Vital,Q,...,img/q_card.svg Erratic,Q,...,img/q_card.svg -Regulated,Q,...,img/q_card.svg -Desire,Q,...,img/q_card.svg Freedom,Q,...,img/q_card.svg -Sacrifice,Q,...,img/q_card.svg -Power,Q,...,img/q_card.svg -Sufficiency,Q,...,img/q_card.svg -Altruistic,Q,...,img/q_card.svg -Pressure,Q,...,img/q_card.svg +Desire,Q,...,img/q_card.svg Grief,Q,...,img/q_card.svg Destructive,Q,...,img/q_card.svg -Infectious,Q,...,img/q_card.svg Warm,Q,...,img/q_card.svg -Fever,Q,...,img/q_card.svg +Cold,Q,...,img/q_card.svg Greed,Q,...,img/q_card.svg Ambiguous,Q,...,img/q_card.svg Progressive,Q,...,img/q_card.svg Social,Q,...,img/q_card.svg -Swarm,Q,...,img/q_card.svg Mass,Q,...,img/q_card.svg -Manipulative,Q,...,img/q_card.svg -Disappointment,Q,...,img/q_card.svg -Climate,Q,...,img/q_card.svg +Environmental,Q,...,img/q_card.svg Safe,Q,...,img/q_card.svg -Decaying,Q,...,img/q_card.svg Dark,Q,...,img/q_card.svg +Light,Q,...,img/q_card.svg Gratitude,Q,...,img/q_card.svg Resilient,Q,...,img/q_card.svg Vulnerable,Q,...,img/q_card.svg @@ -162,66 +94,52 @@ Wealth,Q,...,img/q_card.svg Depression,Q,...,img/q_card.svg Quiet,Q,...,img/q_card.svg Empty,Q,...,img/q_card.svg -Essential,Q,...,img/q_card.svg -Suspicion,Q,...,img/q_card.svg -Exquisite,Q,...,img/q_card.svg -Comfort,Q,...,img/q_card.svg -Sick,Q,...,img/q_card.svg -Post-traumatic,Q,...,img/q_card.svg -Lo-TEK,Q,...,img/q_card.svg -Alien,Q,...,img/q_card.svg -Liminal,Q,...,img/q_card.svg -Contingency,Q,...,img/q_card.svg -Environmental,Q,...,img/q_card.svg -Cook,V,...,img/v_card.svg -Walk,V,...,img/v_card.svg -Isolate,V,...,img/v_card.svg -Test,V,...,img/v_card.svg -Avoid,V,...,img/v_card.svg -Plan,V,...,img/v_card.svg -Slow down,V,...,img/v_card.svg -Unplan,V,...,img/v_card.svg +Digital,Q,...,img/q_card.svg +Self,Q,...,img/q_card.svg +Accretion,Q,...,img/q_card.svg +Sentient,Q,...,img/q_card.svg +Discipline,Q,...,img/q_card.svg +Silent,Q,...,img/q_card.svg +No,Q,...,img/q_card.svg +verbs,V,...,img/v_card.svg +Perform,V,...,img/v_card.svg +Experiment,V,...,img/v_card.svg +Experience,V,...,img/v_card.svg +Prepare,V,...,img/v_card.svg Explore,V,...,img/v_card.svg Play,V,...,img/v_card.svg Transform,V,...,img/v_card.svg -Protect,V,...,img/v_card.svg Regenerate,V,...,img/v_card.svg Grow,V,...,img/v_card.svg -Incubate,V,...,img/v_card.svg -Mourn,V,...,img/v_card.svg Repair,V,...,img/v_card.svg Destroy,V,...,img/v_card.svg Create,V,...,img/v_card.svg Travel,V,...,img/v_card.svg -Bake,V,...,img/v_card.svg +Mourn,V,...,img/v_card.svg Trick,V,...,img/v_card.svg Break,V,...,img/v_card.svg Move,V,...,img/v_card.svg Build,V,...,img/v_card.svg +Cook,V,...,img/v_card.svg Assemble,V,...,img/v_card.svg Dissolve,V,...,img/v_card.svg Embody,V,...,img/v_card.svg Enact,V,...,img/v_card.svg Prototype,V,...,img/v_card.svg -Ferment,V,...,img/v_card.svg -Distill,V,...,img/v_card.svg +Describe,V,...,img/v_card.svg +Visualize,V,...,img/v_card.svg Adjust,V,...,img/v_card.svg -Defeat,V,...,img/v_card.svg +Sketch,V,...,img/v_card.svg Make,V,...,img/v_card.svg Exchange,V,...,img/v_card.svg Gather,V,...,img/v_card.svg -Care for,V,...,img/v_card.svg Amplify,V,...,img/v_card.svg -Remember,V,...,img/v_card.svg +Reflect,V,...,img/v_card.svg Question,V,...,img/v_card.svg -Stockpile,V,...,img/v_card.svg -Reinforce,V,...,img/v_card.svg -Prepare,V,...,img/v_card.svg Change,V,...,img/v_card.svg Distort,V,...,img/v_card.svg Reverse,V,...,img/v_card.svg -Decorate,V,...,img/v_card.svg -Judge,V,...,img/v_card.svg +Tinker,V,...,img/v_card.svg Solve,V,...,img/v_card.svg Resist,V,...,img/v_card.svg Reduce,V,...,img/v_card.svg @@ -229,34 +147,8 @@ Search,V,...,img/v_card.svg Display,V,...,img/v_card.svg Maintain,V,...,img/v_card.svg Remove,V,...,img/v_card.svg -Infect,V,...,img/v_card.svg -Rethink,V,...,img/v_card.svg -Worship,V,...,img/v_card.svg -Influence,V,...,img/v_card.svg Compose,V,...,img/v_card.svg -Curate,V,...,img/v_card.svg -Cure,V,...,img/v_card.svg -Predict,V,...,img/v_card.svg -Entangle,V,...,img/v_card.svg -Nurture,V,...,img/v_card.svg -Track,V,...,img/v_card.svg -Describe,V,...,img/v_card.svg -Visualize,V,...,img/v_card.svg -Sketch,V,...,img/v_card.svg -Merge,V,...,img/v_card.svg -Design,V,...,img/v_card.svg -Cultivate,V,...,img/v_card.svg -Abandon,V,...,img/v_card.svg -Disinfect,V,...,img/v_card.svg -Engage,V,...,img/v_card.svg -Overthrow,V,...,img/v_card.svg -Reflect,V,...,img/v_card.svg -Contemplate,V,...,img/v_card.svg -Tinker,V,...,img/v_card.svg -Organize,V,...,img/v_card.svg -Evolve,V,...,img/v_card.svg -Escape,V,...,img/v_card.svg -Alleviate,V,...,img/v_card.svg -Perform,V,...,img/v_card.svg -Experiment,V,...,img/v_card.svg -Experience,V,...,img/v_card.svg +Feed,V,...,img/v_card.svg +Imagine,V,...,img/v_card.svg +Give,V,...,img/v_card.svg +Leave,V,...,img/v_card.svg diff --git a/cards/cards.ods b/cards/cards.ods new file mode 100644 index 0000000..620fe63 Binary files /dev/null and b/cards/cards.ods differ diff --git a/cards/deck.rb b/cards/deck.rb index 1c522a5..1f7ea8d 100644 --- a/cards/deck.rb +++ b/cards/deck.rb @@ -10,6 +10,7 @@ require 'squib' # save format: :png # end +# for csv data data = Squib.csv file: 'cards.csv' #layouts = ['economy.yml', 'space-layout-1.yml'] diff --git a/cards/preprocess.rb b/cards/preprocess.rb index bc1e464..529d8e1 100644 --- a/cards/preprocess.rb +++ b/cards/preprocess.rb @@ -1,11 +1,26 @@ +# input mode can be "txt" or "ods" +$input = "ods" + # convert text files into .csv for deck.rb mogrification - $cards_csv = "cards.csv" + +# card descriptions in textfiles $cards_o = "cards-occasions.txt" $cards_q = "cards-qualifiers.txt" $cards_v = "cards-verbs.txt" +# all card descriptions in a single spreadsheet +$cards_ods = "cards.ods" + +# assuming an .ods file laid out as follows +# +# col 1 - occasions +# col 2 - qualifiers +# col 3 - verbs + +ods = Roo::OpenOffice.new($cards_ods) + # preamble... File.open($cards_csv, "w") File.write($cards_csv, "name,type,text,illustration\n", mode: "w") @@ -25,8 +40,18 @@ def write_verb(line) File.write($cards_csv, "#{line},V,...,img/v_card.svg\n", mode: "a") end -# write to file... -File.foreach($cards_o) { |line| write_occasion line.chomp } -File.foreach($cards_q) { |line| write_qualifier line.chomp } -File.foreach($cards_v) { |line| write_verb line.chomp } +case $input +when "txt" + # read descriptions and write to file... + File.foreach($cards_o) { |line| write_occasion line.chomp } + File.foreach($cards_q) { |line| write_qualifier line.chomp } + File.foreach($cards_v) { |line| write_verb line.chomp } +when "ods" + # read descriptions and write to file... + ods.column(1).each { |line| write_occasion line.chomp } + ods.column(2).each { |line| write_qualifier line.chomp } + ods.column(3).each { |line| write_verb line.chomp } +else + puts "input format not supported." +end diff --git a/cards/space-layout-2.yml b/cards/space-layout-2.yml index c4b8aca..021732b 100644 --- a/cards/space-layout-2.yml +++ b/cards/space-layout-2.yml @@ -20,7 +20,7 @@ type: align: :center description: - y: '8mm’ + y: '8mm' width: :deck align: :center font: 'Solide Mirage, 12' diff --git a/notes/diagrams.org b/notes/diagrams.org index e56b94e..e355181 100644 --- a/notes/diagrams.org +++ b/notes/diagrams.org @@ -1,22 +1,19 @@ # -*- mode: org; coding: utf-8; -*- #+LaTeX_CLASS: zzkt-article -#+OPTIONS: toc:nil num:nil +#+LateX_Header: \setcounter{secnumdepth}{0} +#+OPTIONS: toc:2 #+author: The S.P.A.C.E consortium #+title: Process and Reality (diagrams) +\newpage +* some diagrams + #+ATTR_LATEX: :options [Alfred North Whitehead] #+BEGIN_qf There is urgency in coming to see the world as a web of interrelated processes of which we are integral parts, so that all of our choices and actions have consequences for the world around us. #+END_qf - -* some diagrams -plantuml reference - - https://plantuml.com/state-diagram - - https://plantuml.com/activity-diagram-beta - - https://bschwarz.github.io/puml-themes/rolling.html - -*** general flow +** general flow #+BEGIN_SRC plantuml :file img/play-001.png !include https://raw.githubusercontent.com/bschwarz/puml-themes/master/themes/cerulean/puml-theme-cerulean.puml @@ -39,11 +36,12 @@ plantuml reference #+CAPTION: overview of game flow #+ATTR_ORG: :width 400 -#+ATTR_LaTeX: :height 15cm +#+ATTR_LaTeX: :height 15cm :placement [!h] #+RESULTS: [[file:img/play-001.png]] -*** a more detailed flow +\newpage +** a more detailed flow #+BEGIN_SRC plantuml :file img/play-013.png !include https://raw.githubusercontent.com/bschwarz/puml-themes/master/themes/cerulean/puml-theme-cerulean.puml @@ -81,13 +79,14 @@ plantuml reference :conclude…; #+END_SRC -#+caption: game flow in detail +#+caption: a more detailed game flow #+ATTR_ORG: :width 400 -#+ATTR_LaTeX: :height 20cm +#+ATTR_LaTeX: :height 20cm :placement [!h] #+RESULTS: [[file:img/play-013.png]] - -*** a more detailed parallel flow + +\newpage +** a more detailed parallel flow #+BEGIN_SRC plantuml :file img/play-014.png !include https://raw.githubusercontent.com/bschwarz/puml-themes/master/themes/cerulean/puml-theme-cerulean.puml @@ -171,12 +170,15 @@ plantuml reference :conclude…; #+END_SRC +#+caption: a more detailed, parallel flow +#+ATTR_LaTeX: :height 20cm :placement [!h] #+RESULTS: [[file:img/play-014.png]] -*** dot flow +\newpage +** dot flow (test) -#+BEGIN_SRC dot :file img/play-003.svg :cmdline -Kdot -Tsvg +#+BEGIN_SRC dot :file img/play-003.png :cmdline -Kdot -Tpng digraph { splines=true; compound=true; @@ -208,8 +210,16 @@ digraph { } #+END_SRC +#+caption: dot test +#+ATTR_ORG: :width 400 +#+ATTR_LaTeX: :height 10cm :placement [!h] #+RESULTS: [[file:img/play-003.svg]] - -* +\newpage +* notes (etc+) + +plantuml references + - https://plantuml.com/state-diagram + - https://plantuml.com/activity-diagram-beta + - https://bschwarz.github.io/puml-themes/rolling.html diff --git a/notes/diagrams.pdf b/notes/diagrams.pdf index c736c17..49eef5c 100644 Binary files a/notes/diagrams.pdf and b/notes/diagrams.pdf differ diff --git a/notes/img/play-001.png b/notes/img/play-001.png index e8302f1..8a29488 100644 Binary files a/notes/img/play-001.png and b/notes/img/play-001.png differ diff --git a/notes/img/play-003.png b/notes/img/play-003.png new file mode 100644 index 0000000..71d5161 Binary files /dev/null and b/notes/img/play-003.png differ diff --git a/notes/img/play-013.png b/notes/img/play-013.png index b7e788c..e70e8ec 100644 Binary files a/notes/img/play-013.png and b/notes/img/play-013.png differ diff --git a/notes/img/play-014.png b/notes/img/play-014.png index 2aec7a7..c8d0641 100644 Binary files a/notes/img/play-014.png and b/notes/img/play-014.png differ diff --git a/notes/purpose, propositions & prototypes.org b/notes/purpose, propositions & prototypes.org index 1c6b8c8..9f69b11 100644 --- a/notes/purpose, propositions & prototypes.org +++ b/notes/purpose, propositions & prototypes.org @@ -519,4 +519,3 @@ epaper printing (etc+) - https://cartamundi.com/en/ - https://www.makeplayingcards.com/ -