I made a little webpage that you can put a binary or hex string in, and it'll give you the image of the sprite:

All non-binary (or non-hex) characters are ignored, and you can adjust the zoom:


Makes it easy to make an image if you have the hex or binary for it. It outputs an HTML canvas element, which you can save of an image on your computer. Clicking "Draw" multiple times will draw another sprite.
Use it here:
http://merthsoft.com/binsprite.html
So this is for non-CSE calcs? Will you be making one for the CSE? Smile Looks pretty awesome, though!
It's just for black and white sprites (or 1bpp sprites, I guess). I don't have any plans to do much else with it.
It was nice of you to whip this up for ACagliano's use, Shaun. It's a nifty little tool, even if you don't decide to take it further.
This now supports xLIBC sprites:

Useful for sprites used with Celtic

Still at https://merthsoft.com/binsprite.html
I made it so the newest sprite is prepended instead of appended to the list, and fixed a bug in the height of the canvas when using the xlibc palette. I have also added a "show grid" option.



It also shows width, height, and bytes in the hover:

(You can see a lot more info if you check the alt tag on the image it creates.)

It also now keeps memory of your previously rendered sprites. If you want to remove them, you can delete them from local storage in your browser. In the future you will be able to delete them or restore the hex/binary data from the history, but making them persist was the first step.

https://merthsoft.com/binsprite.html
This now supports BASIC color sprites (like program icons):


0 is "transparent" which renders as cyan here (this is borrowed from tokenide, dunno if it should be white instead of what).
Excellent work as always!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement