25 comments

[ 3.0 ms ] story [ 65.7 ms ] thread
Would love to try this but limiting the upload to drag and drop makes it hard for me. Not everyone uses Windows or Mac you know. Is there any way to upload stuff to these without having graphical file manager?
welcome to the app-ification of the web...
Not the problem here. A file input control would do the same job and be usable on mobile devices; this isn't "web apps lol", it's a straightforward UI design error.
It can even be solved without any extra UI elements - just have clicking the drag & drop element act as a regular file input.
Firefox let me drag a recent image from my download menu. I agree that this is rather poor UX though.
What a great idea! I would love to see a "save AS disk" option that would let you download a D64 disk image containing the rendered graphics in some appropriate format like KoalaPainter or Amica Paint.
Not having an alternative method using a file selection dialog is extremely annoying on some platforms.
Needs upload button (viewing on tablet)
Does it limit character cell (8x8) to 2 (or 4?) colors?
As a ZX Spectrum user I was always jealous of the C64 colour palette. It had a single colour per pixel vs the ZX Spectrum's 1 colour per 8x8 pixel.

https://en.wikipedia.org/wiki/ZX_Spectrum_graphic_modes

last I checked, you had 2 possible colors due to attribute cells.
The c64's bitmap mode could either be 320x200 with color allocated in an 8x8 grid, much like the Speccy, or 160*200 with three selectable colors per 3x8 block, plus one background color shared across the whole screen.

It did, however, also have sprites, which could float over or under the main screen.

(If you're willing to dedicate pretty much all of the CPU time to flipping stuff around while the video chip is rendering the screen, you can have finer-grained color selections on the c64, but that's mostly the domain of demos.)

Have you considered adding the ability to use dithering on this site? I made a similar tool a while back (to convert an image to an arbitrary color palette), and one of the main things I learned was how powerful dithering can be.

For example, here are two images I created using my old tool to convert an image to the C64 color palette. Unlike the website, my tool isn't currently capable of doing the double-wide horizontal pixels, but it still illustrates the effect I think:

Without dithering: http://imgur.com/nQL0y6i With dithering: http://imgur.com/jfwUgnC

If you're interested, Wikipedia has a great example (with code) of the Floyd-Steinberg dithering algorithm, for example: https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dither..., which I imagine wouldn't be too hard to integrate into your site.

(comment deleted)
Cool! I've got an urge to go out and take some photos, run them through this and create a retro adventure game.

Do you think it would be possible to do the image conversion in Javascript so it does not need to be uploaded to the server?

The "C64ication" (if that's what you mean by conversion) actually happens purely in JavaScript - if I understand the source correctly, the image is only _resized_ on the server.. but the whole shebang can be done client-side.

Yep. Would be awesome if the author(s) released this as a MIT licensed JS lib. Would love to use and credit it myself! :-)