1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2025-01-04 20:47:16 +01:00

First Commit

This commit is contained in:
Emattioli 2019-09-09 17:32:07 +02:00 committed by GitHub
parent a988450869
commit b907df007b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 66 additions and 0 deletions

BIN
A00.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
A01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
A02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
A03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
A04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
A05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
A06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
A07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
A08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

BIN
A09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
A10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

BIN
A11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
A12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
B00.0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
B00.1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
B00.2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
B01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

BIN
B02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

BIN
B03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
B04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
B05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
B06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

BIN
B07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
B08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
B09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
B10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
B11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
B12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
B13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
B14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
B15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

BIN
B16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

BIN
OBJ00.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
OBJ01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
OBJ02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
OBJ03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
OBJ04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
OBJ05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
OBJ06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
OBJ07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
OBJ08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
OBJ09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

31
ram.csv Normal file
View 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
1 000,A00,B00,B00,B00
2 A00,A01,A02,A03,A04
3 A01,A05,A07
4 A02,A05,A07
5 A03,A06
6 A04,A05,A06,A07
7 A05,A08,A09
8 A06,A10,A11
9 A07,A12
10 A08,END
11 A09,END
12 A10,END
13 A11,END
14 A12,END
15 B00,B01,B02,B03,B04
16 B01,B05,B06,B08
17 B02,B05,B06,B08
18 B03,B07
19 B04,B05,B07,B06,B08
20 B05,B09,B10,B11,B15
21 B06,B10,A08,A09,B12,B09
22 B07,B13,B14
23 B08,B16
24 B09,END
25 B10,END
26 B11,END
27 B12,END
28 B13,END
29 B14,END
30 B15,END
31 B16,END

35
randstrip.py Normal file
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
ubuntu.ttf Normal file

Binary file not shown.