r/ComputerCraft • u/MinkiTheAvali CRaft-Again Shell Enjoyer • Apr 18 '26
I made a neural network that turns bitmaps into ComputerCraft compatible text art using only the default colours and charset
This was mostly a project I did as I wanted to learn how to make neural networks. I wrote the training environment in python, it outputs a custom binary format which is parsed by a lua script on the computercraft computer. Since I liked the results, I will most likely recreate it in C using an algorithm instead of a network but using the current network to generate me my magic numbers. End goal is to be able to real-time encode a video stream into CC format without needing to change the palette like my previous ws_video_streamer does.



21
u/gegentan Apr 18 '26
Isn't a whole neural network a bit overkill for that?
5
u/Brokedownbad Apr 19 '26 edited Apr 24 '26
Pro tip: characters 128-159 can be used for subpixel rendering, and provide 3x vertical 2x horizontal resolution, and can be drawn over to have two colors per cell.
11
u/9551-eletronics Computercraft graphics research Apr 18 '26
Definitely a bit silly thing to do but if you learnt something then thats pretty cool
2
u/Br-Horizon Apr 21 '26
Hey, nice work!