Jump to content




ASCII art -- Paint for Computer Craft


14 replies to this topic

#1 BigSHinyToys

  • Members
  • 1,001 posts

Posted 17 April 2012 - 06:47 PM

ASCII art is a program that allows you to use ASCII characters to create art.This is very usefully for designing how you want a GUI to look as you test the look of it with out coding it. You can also save this file and then use it as a guide in coding.



How to use

I have tried to make this as user friendly as possible as such there is not arguments you need to know just launch the program and use the menu system. after you select New you will be asked or the size you would like. This is measured in characters. the recommended size is the size of the terminal window the system will work with larger files thought (partially experimental.) the screen will now show the editing window. use the up down left right keys to move the cursor. press any character to add it to the picture.pressing Ctrl will open the editor menu. from here you can save open or quit. the mode option switches between mode 1 you have to move cursor around manual and mode two where to moves one forward every key press. To save a file you will need to scroll down to the blank gap at the bottom of the file list and press TAB then type in the name you would like for your file. you could also over write a preexisting file. To exit file selection press Ctrl and select yes.

Pics
Spoiler

Downloads

Current ver 0.36 build 5 stable http://pastebin.com/qDLVXgJ4

ver 0.34 build 3 semi stable Attached File  ASCII.zip   4.27K   113 downloads

ver 0.31 stable Attached File  ASCII.zip   3.91K   150 downloads
There are no bugs in 0.31 that i have found but it doesn't have support for sizes larger than the screen

if you find a bug please let me know and it will be fixed.

Attached Files



#2 BigSHinyToys

  • Members
  • 1,001 posts

Posted 29 April 2012 - 05:11 AM

I have updates the program and rebuilt the OP

I would like any feed back good bad random it is all good :)/>

#3 libraryaddict

  • New Members
  • 195 posts

Posted 29 April 2012 - 05:28 AM

The problem with this is there isn't much times when this could be used.
I cant actually think of a reason to use this. Sorry :

You could use this however to make a animator program though.
With another program to play it back.

An animation like "starwars"

So yes. Bad feedback and constructive feedback!

#4 BigSHinyToys

  • Members
  • 1,001 posts

Posted 29 April 2012 - 05:37 AM

View Postlibraryaddict, on 29 April 2012 - 05:28 AM, said:

The problem with this is there isn't much times when this could be used.
I cant actually think of a reason to use this. Sorry :

You could use this however to make a animator program though.
With another program to play it back.

An animation like "starwars"

So yes. Bad feedback and constructive feedback!

designing GUI's making logos or pictures for program's there are many thinks I use this for on a regular basis. ever had a idear for a program started working on it and had to rewrite all the GUI's because you forgot something or didn't like the look of found a better way well in a couple or minutes without typing a line of code you could have straitened it all out.

I have been working on a animation ver of this but there are huge processor over heads that need to be worked around before that will event be possible. for example how does a program decide if it is a movie or not. as you cant use string.sub() on huge strings like alongtimeago but i when i find a work around fot that and refactor this to cope with three dimensional arrays then i will be all set for a animator ver.

#5 libraryaddict

  • New Members
  • 195 posts

Posted 29 April 2012 - 05:58 AM

First line: --This is a animation. Made to run with the animator
Second line is info for the program. Frames per second = 1. Linesperframes = 20
Then the lines is the animation.
for line in File:lines() do
if maxLinesPerFrames > CurrentLine then
print(line)
CurrentLine = CurrentLine+1
else
sleep(FramesPerSecond)
CurrentLine = 1
end

This would work.
I used it before.
You could also add info to each line before it displays the auctal animation

#6 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 15 August 2012 - 02:29 PM

I like this! Does this output code, or just the ASCII?

#7 BigSHinyToys

  • Members
  • 1,001 posts

Posted 15 August 2012 - 04:10 PM

just ASCII
What did you have in mind for output ?
something like
local tImage = {[[blabla]],
[[blabla]],
[[blabla]],
[[blabla]]}
Because It would be a simple inclusion If you want it is all.

#8 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 15 August 2012 - 04:27 PM

Nah, I'm just really lazy, and wanted something to do tedious print commands and table functions for me... :(/>

#9 BigSHinyToys

  • Members
  • 1,001 posts

Posted 15 August 2012 - 05:14 PM

New ver 0.35 Build 4

Added EXPO function to export it as a table

#10 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 15 August 2012 - 05:23 PM

Awesome. A bit easier for my little toy programs then...

#11 rhyleymaster

  • Members
  • 186 posts
  • LocationCanada

Posted 02 September 2012 - 11:24 PM

View PostBigSHinyToys, on 17 April 2012 - 06:47 PM, said:


Current ver 0.35 build 4 sable http://pastebin.com/Wp8aw1PV


You spell't "stable" wrong.

#12 BigSHinyToys

  • Members
  • 1,001 posts

Posted 03 September 2012 - 05:41 AM

BUILD 5
*fixed crash bug when saving to root after having too many files.
* corrected spelling in OP

#13 Exerro

  • Members
  • 801 posts

Posted 04 September 2012 - 02:23 PM

i also made a paint program recently and im working on an animator...for the animator you should make it more of a slide show that refreshes very quickly i.e. you have lots of saves in a movie folder and the animator runs through them and prints each one out every 0.2 secs for example

#14 NOTUSEDPLEASEDELETE

  • Members
  • 70 posts

Posted 30 August 2013 - 06:01 PM

Seems cool. I also wanted to tell you that 1000 posts = custom title.

#15 Mitchfizz05

  • Members
  • 125 posts
  • LocationAdelaide, Australia

Posted 31 August 2013 - 12:33 AM

View PostFlick, on 30 August 2013 - 06:01 PM, said:

Seems cool. I also wanted to tell you that 1000 posts = custom title.
I think you might of accidentally necroed this post. :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users