Thread: IDEA: ASCII graphics engine

  1. #1
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490

    ASCII graphics engine

    design a graphical API which works entirely in text mode (like aalib)

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    now this sounds entertaining. another idea would be to read in a bitmap and convert it to ASCII symbols and display the results as an ASCII picture that looks good...I've seen a program that can do it, but I don't remember the name or link. It was pretty cool, though.
    Away.

  3. #3
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    I think ive seen one too but man that was so long ago, i think it was at www.flipcode.com as an image of the day, but im too tired to go search through it right now.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  4. #4
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    it does look interesting. i think it might be too tough for the average coder, though. it would require a bitmap of every byte (or at least every byte shown).

    conceivably, it could work by matching a section of an image against a byte's bitmap image and using the one which has the most similarities.

  5. #5
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124
    I like this idea. As a matter of fact, I've been working on something that's like a DirectDraw but it's for console applications. It allows you to load up "blitmaps" (which are like bitmaps but for the console), display them, create surfaces, draw simple shapes and lines, perform easy animation, and what I find best about it: Sprites! Lol yes I was able to incorporate sprites into it as well. And I figured while I was at it, I'd might as well make console versions of DirectSound and Direct3D, too. I started on the D3D, but that didn't get far, and I'm slowly working on DirectSound. I've yet to figure out how to play wav files; I've been using the internal speaker beeps hahah. So yeah I think this is a good idea.

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  6. #6
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    I once saw a program written in QBasic that would play .wav files in DOS...actually, I've seen a bunch of them. If you know QBasic, or if you want to spend about 3 minutes and learn it, you might be able to convert that code to C. I'm not sure...it's been a long time.
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 11
    Last Post: 03-24-2006, 11:26 AM
  2. Linux Graphics Engine
    By drdroid in forum Linux Programming
    Replies: 1
    Last Post: 09-28-2003, 06:08 PM
  3. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM
  4. graphics programming idea
    By iain in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 01-18-2002, 08:41 AM