kopia lustrzana https://github.com/villares/sketch-a-day
zx81
rodzic
ffdfb3319b
commit
c2f7e5b433
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 792 B |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 815 KiB |
|
@ -0,0 +1,15 @@
|
||||||
|
from random import choice
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
global chrs
|
||||||
|
size(640, 480)
|
||||||
|
img = loadImage("ZX81_characters_0x00-3F,_0x80-BF.png")
|
||||||
|
chrs = [img.get(x * 16, y * 16, 16, 16)
|
||||||
|
for x in range(16)
|
||||||
|
for y in range(8)]
|
||||||
|
frameRate(4)
|
||||||
|
|
||||||
|
def draw():
|
||||||
|
for x in range(0, width, 16):
|
||||||
|
for y in range(0, height, 16):
|
||||||
|
image(choice(chrs), x, y)
|
12
README.md
12
README.md
|
@ -27,6 +27,18 @@ Here are listed some of the tools I have been using:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[sketch_2021_08_09zx81](https://github.com/villares/sketch-a-day/tree/master/2021/sketch_2021_08_09zx81) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[sketch_2021_08_08a_lines](https://github.com/villares/sketch-a-day/tree/master/2021/sketch_2021_08_08a_lines) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[sketch_2021_08_07a_lines](https://github.com/villares/sketch-a-day/tree/master/2021/sketch_2021_08_07a_lines) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
[sketch_2021_08_07a_lines](https://github.com/villares/sketch-a-day/tree/master/2021/sketch_2021_08_07a_lines) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||||
|
|
Ładowanie…
Reference in New Issue