First Commit
BIN
A00.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
A01.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
A02.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
A03.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
A04.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
A05.png
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
A06.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
A07.png
Normal file
After Width: | Height: | Size: 95 KiB |
BIN
A08.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
A09.png
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
A10.png
Normal file
After Width: | Height: | Size: 109 KiB |
BIN
A11.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
A12.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
B00.0.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
B00.1.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
B00.2.png
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
B01.png
Normal file
After Width: | Height: | Size: 144 KiB |
BIN
B02.png
Normal file
After Width: | Height: | Size: 128 KiB |
BIN
B03.png
Normal file
After Width: | Height: | Size: 129 KiB |
BIN
B04.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
B05.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
B06.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
B07.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
B08.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
B09.png
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
B10.png
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
B11.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
B12.png
Normal file
After Width: | Height: | Size: 121 KiB |
BIN
B13.png
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
B14.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
B15.png
Normal file
After Width: | Height: | Size: 130 KiB |
BIN
B16.png
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
OBJ00.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
OBJ01.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
OBJ02.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
OBJ03.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
OBJ04.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
OBJ05.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
OBJ06.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
OBJ07.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
OBJ08.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
OBJ09.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
31
ram.csv
Normal file
|
@ -0,0 +1,31 @@
|
|||
000,A00,B00,B00,B00
|
||||
A00,A01,A02,A03,A04
|
||||
A01,A05,A07
|
||||
A02,A05,A07
|
||||
A03,A06
|
||||
A04,A05,A06,A07
|
||||
A05,A08,A09
|
||||
A06,A10,A11
|
||||
A07,A12
|
||||
A08,END
|
||||
A09,END
|
||||
A10,END
|
||||
A11,END
|
||||
A12,END
|
||||
B00,B01,B02,B03,B04
|
||||
B01,B05,B06,B08
|
||||
B02,B05,B06,B08
|
||||
B03,B07
|
||||
B04,B05,B07,B06,B08
|
||||
B05,B09,B10,B11,B15
|
||||
B06,B10,A08,A09,B12,B09
|
||||
B07,B13,B14
|
||||
B08,B16
|
||||
B09,END
|
||||
B10,END
|
||||
B11,END
|
||||
B12,END
|
||||
B13,END
|
||||
B14,END
|
||||
B15,END
|
||||
B16,END
|
|
35
randstrip.py
Normal file
|
@ -0,0 +1,35 @@
|
|||
from PIL import Image
|
||||
from PIL import ImageFont
|
||||
from PIL import ImageDraw
|
||||
import csv
|
||||
import random
|
||||
|
||||
def fetchVign():
|
||||
starts = []
|
||||
startdest = []
|
||||
nvign = 0
|
||||
currVign = "000"
|
||||
story = []
|
||||
with open("ram.csv") as ram:
|
||||
csvReader = csv.reader(ram)
|
||||
for row in csvReader:
|
||||
starts.append(row[0])
|
||||
startdest.append(row)
|
||||
while nvign <= 3:
|
||||
story.append(startdest[starts.index(currVign)][random.randint(1,len(startdest[starts.index(currVign)])-1)])
|
||||
currVign = story[nvign]
|
||||
if story[nvign] == "B00":
|
||||
story[nvign] += "."
|
||||
story[nvign] += str(random.randint(0,2))
|
||||
nvign +=1
|
||||
return story
|
||||
|
||||
def writeStrip():
|
||||
vign = Image.open("A00.png")
|
||||
addtext = ImageDraw.Draw(vign)
|
||||
fnt = ImageFont.truetype("ubuntu.ttf",16)
|
||||
addtext.text((268,77),"egadrg",fill="#000000",font=fnt)
|
||||
return vign
|
||||
|
||||
if __name__ == "__main__":
|
||||
fetchVign()
|
BIN
test.png
Normal file
After Width: | Height: | Size: 119 KiB |