View difference between Paste ID: yft0K9Mg and SpzwtY6v
SHOW: | | - or go back to the newest paste.
1
os.loadAPI("Test/GIF")
2
os.loadAPI("Test/blittle")
3
4
local mon = peripheral.find("monitor")
5
mon.setTextScale(0.5)
6
mon.setBackgroundColour(colors.black)
7
mon.clear()
8
9-
local fileName = "Test/Carte.gif"
9+
local fileName = "Test/Carte/Carte.gif"
10
local x, y = mon.getSize()
11
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
12
blittle.draw(image, 10, 10, mon)
13
14-
local fileName = "Test/CarteA.gif"
14+
local fileName = "Test/Carte/CarteA.gif"
15
local x, y = mon.getSize()
16
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
17
blittle.draw(image, 10, 10, mon)
18
19-
local fileName = "Test/Carte2.gif"
19+
local fileName = "Test/Carte/Carte2.gif"
20
local x, y = mon.getSize()
21
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
22
blittle.draw(image, 10, 10, mon)
23
24-
local fileName = "Test/Carte3.gif"
24+
local fileName = "Test/Carte/Carte3.gif"
25
local x, y = mon.getSize()
26
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
27
blittle.draw(image, 10, 10, mon)
28
29-
local fileName = "Test/Carte4.gif"
29+
local fileName = "Test/Carte/Carte4.gif"
30
local x, y = mon.getSize()
31
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
32
blittle.draw(image, 10, 10, mon)
33
34-
local fileName = "Test/Carte5.gif"
34+
local fileName = "Test/Carte/Carte5.gif"
35
local x, y = mon.getSize()
36
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
37
blittle.draw(image, 10, 10, mon)
38
39-
local fileName = "Test/Carte6.gif"
39+
local fileName = "Test/Carte/Carte6.gif"
40
local x, y = mon.getSize()
41
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
42
blittle.draw(image, 10, 10, mon)
43
44-
local fileName = "Test/Carte7.gif"
44+
local fileName = "Test/Carte/Carte7.gif"
45
local x, y = mon.getSize()
46
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
47
blittle.draw(image, 10, 10, mon)
48
49-
local fileName = "Test/Carte8.gif"
49+
local fileName = "Test/Carte/Carte8.gif"
50
local x, y = mon.getSize()
51
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
52
blittle.draw(image, 10, 100, mon)
53
54-
local fileName = "Test/Carte9.gif"
54+
local fileName = "Test/Carte/Carte9.gif"
55
local x, y = mon.getSize()
56
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
57
blittle.draw(image, 10, 100, mon)
58
59-
local fileName = "Test/Carte10.gif"
59+
local fileName = "Test/Carte/Carte10.gif"
60
local x, y = mon.getSize()
61
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
62
blittle.draw(image, 10, 100, mon)
63
64-
local fileName = "Test/CarteJ.gif"
64+
local fileName = "Test/Carte/CarteJ.gif"
65
local x, y = mon.getSize()
66
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
67
blittle.draw(image, 10, 100, mon)
68
69
local fileName = "Test/CarteQ.gif"
70
local x, y = mon.getSize()
71
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
72
blittle.draw(image, 10, 100, mon)
73
74-
local fileName = "Test/CarteK.gif"
74+
local fileName = "Test/Carte/CarteK.gif"
75
local x, y = mon.getSize()
76
local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
77
blittle.draw(image, 10, 100, mon)
78
79