Jump to content




Micropaint: Experimental painting program for tiny pixels


  • You cannot reply to this topic
30 replies to this topic

#21 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 12 November 2016 - 02:47 AM

You're probably thinking of CCTweaks - it fixes all the ASCII / binary problems.

#22 killer95533

  • Members
  • 7 posts

Posted 20 March 2017 - 04:15 AM

you should and more color ability so you can't only use 2 colors on one pixel I can't tell you how many times I needed to use a 3rd one and had to change what a drew, (if it's not too much of a hassle that is :) ) besides that THIS IS AMAZING!

Edited by killer95533, 22 November 2018 - 05:16 AM.


#23 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 20 March 2017 - 02:50 PM

View Postkiller95533, on 20 March 2017 - 04:15 AM, said:

you should and more color abalibilty so taht you can't only use 2 colors on one pixel i can't tell you how many times i needed to use a 3rd one and had to change what a drew, (if its not to much of a hassle that is :)/> ) besides that THIS IS AMAZING!

This is a limitation of ComputerCraft.

#24 Benjaminber

  • New Members
  • 2 posts
  • LocationGermany

Posted 21 May 2017 - 02:55 PM

Very cool!
I never thaugt that thus is possible with CC.
My first try:
https://d52i.imgup.net/mpaint861a.png

Edited by Bomb Bloke, 22 May 2017 - 12:10 AM.
Seems your chosen image host doesn't support embedding.


#25 xcrafter_40

  • Members
  • 50 posts
  • LocationIn a room with a computer, duh.

Posted 15 June 2017 - 05:58 PM

For any of you wanting to render micropaint images without the app:

pastebin get Nz5qK3sP limg

Usage: limg <file> <x offset> <y offset>

Edited by xcrafter_40, 15 June 2017 - 06:01 PM.


#26 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 17 August 2017 - 03:57 PM

View Postxcrafter_40, on 15 June 2017 - 05:58 PM, said:

For any of you wanting to render micropaint images without the app:

pastebin get Nz5qK3sP limg

Usage: limg <file> <x offset> <y offset>
Wow, thats super usefull! Thanks! :D I could'nt figure out how the images are saved...

I have a question: I need transparent pixels, but by saving an image, all transparent pixels turn black. Is this intended?

#27 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 18 August 2017 - 02:25 AM

Unfortunately transparency doesn't play well with teletext images. Depending on their makeup, it may not be possible to render over a different "background" without also having to change the "actual image area", and so a background gets hardcoded into the saved files.

You can work around this, to an extent, with BLittle - if you save your images as regular paint files, you can use blittle.shrink() to convert them into a teletext image on the fly, with whatever background colour you like. Doing this runs somewhat slower than using pre-saved teletext images, though.

If you want to draw "transparent" images over variable and more complicated backgrounds (each involving multiple colours), then using a terminal object produced by blittle.createWindow() would be the way to go. You'd need to do all your rendering through that, though, so it can keep track of which bits of background are where.

#28 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 18 August 2017 - 07:47 AM

View PostBomb Bloke, on 18 August 2017 - 02:25 AM, said:

Unfortunately transparency doesn't play well with teletext images. Depending on their makeup, it may not be possible to render over a different "background" without also having to change the "actual image area", and so a background gets hardcoded into the saved files.

You can work around this, to an extent, with BLittle - if you save your images as regular paint files, you can use blittle.shrink() to convert them into a teletext image on the fly, with whatever background colour you like. Doing this runs somewhat slower than using pre-saved teletext images, though.

If you want to draw "transparent" images over variable and more complicated backgrounds (each involving multiple colours), then using a terminal object produced by blittle.createWindow() would be the way to go. You'd need to do all your rendering through that, though, so it can keep track of which bits of background are where.
no, i dont want the pixel with multiple colors to be transparent, only pixels with one color. That would be enough.

Edited by Jummit, 18 August 2017 - 07:47 AM.


#29 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 11 September 2017 - 07:17 PM

made a little enhancement to the code: you can move the selected pixel in the magnify mode not only with the mouse, but with the arrow keys. That is super useful for me. If you want the enhanced version, get it with
pastebin get KmnXpf1w micropaint
PS: What is the license of this projekt?

Edited by Jummit, 11 September 2017 - 07:24 PM.


#30 nitrogenfingers

    Lua Professor

  • Members
  • 551 posts
  • LocationAustralia

Posted 13 September 2017 - 07:35 AM

Excellent idea. If I make an update to micropaint I'll include that feature. I've needed something similar myself when doing that sort of work.


I haven't set a license for any of the software I've made, but if you keep the attribution comments at the top of the file then it's probably fine.

#31 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 13 September 2017 - 12:31 PM

View Postnitrogenfingers, on 13 September 2017 - 07:35 AM, said:

Excellent idea. If I make an update to micropaint I'll include that feature. I've needed something similar myself when doing that sort of work.


I haven't set a license for any of the software I've made, but if you keep the attribution comments at the top of the file then it's probably fine.
Cool. If i make some more features, would you make a new version out of them and an update to this post? I have some ideas, and its a good exercise and fun to implement a feature in code from others.

Edited by Jummit, 13 September 2017 - 12:38 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users