Mod articles
-
Create a construction from a pixel art image
fish.txt (example 1) — https://pastebin.com/1RTgxsrn
jSAHyfgHBwU
dragon.txt (example 2) — https://textbin.net/f2omkrxg0d
The video thumbnail is an edited screenshot. The dragon is darker in the game.
Nm0HsD996NA
Example 1 (fish)
I will use this image: https://i.imgur.com/vjTvJUy.png
source: https://csunplugged.org/fr/resources/pixel-painter
But this image is too big. I want a black square correspond to a pixel (black square size = 1x1 pixel). To do this, I will rezise the image to 44x32 pixels.
Now, one black square = 1x1 pixel.
Convert image to text
I use ImageMagick (https://imagemagick.org) to get the coordinates of the black pixels.
magick convert fish_44x3...