Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Now this is some ASCII art

Now this is some ASCII art

Scheduled Pinned Locked Moved The Lounge
javascriptcom
24 Posts 20 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Andy Brummer

    http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

    Curvature of the Mind now with 3D

    G Offline
    G Offline
    greldak
    wrote on last edited by
    #9

    I think I prefer http://www.asciimation.co.nz/[^]

    H A 2 Replies Last reply
    0
    • A Andy Brummer

      http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

      Curvature of the Mind now with 3D

      F Offline
      F Offline
      Fabio Franco
      wrote on last edited by
      #10

      And with this: http://picascii.com/[^] I pretend to be an ascii artist :)

      "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

      R H 2 Replies Last reply
      0
      • F Fabio Franco

        And with this: http://picascii.com/[^] I pretend to be an ascii artist :)

        "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #11

        :thumbsup: +5 /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        1 Reply Last reply
        0
        • F Fabio Franco

          And with this: http://picascii.com/[^] I pretend to be an ascii artist :)

          "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

          H Offline
          H Offline
          hoernchenmeister
          wrote on last edited by
          #12

          This is actually pretty cool, have 5

          1 Reply Last reply
          0
          • G greldak

            I think I prefer http://www.asciimation.co.nz/[^]

            H Offline
            H Offline
            hoernchenmeister
            wrote on last edited by
            #13

            you wasted my day ;) ...nothing will done until I watched it completely ;)

            1 Reply Last reply
            0
            • A Andy Brummer

              http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

              Curvature of the Mind now with 3D

              B Offline
              B Offline
              bosedk
              wrote on last edited by
              #14

              Blood. Sometimes it sets my teeth on edge, other times it helps me control the chaos...

              1 Reply Last reply
              0
              • A Andy Brummer

                http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

                Curvature of the Mind now with 3D

                K Offline
                K Offline
                KP Lee
                wrote on last edited by
                #15

                Not exactly what I was expecting from the title, but nice anyway. (All three links are nice, but I'll go with Star Wars as the most impressive and probably the most work needed.) I was expecting graphical ASCII characters being used to create graphical images. Then I thought, "It's been so long, what are the graphical ASCII characters?"? Wrote a quick SQL script to find the values. NOT what I remember doing with graphical ASCII characters in the past. I remember a cross image like "+" that would graphically tie in both vertically and horizontally, a horizontal line with up and down ticks and a vertical line with left and right ticks. I can't even use the remaining graphic characters (ascii 1 through 6) here because they aren't supported on the web. If you are interested in the full set of ASCII characters, here's the SQL code:

                declare @num int = 0, @numc varchar(3), @line varchar(100) = ''
                while @num < 256
                begin
                select @numc=@num, @line = @line+@numc+CHAR(@num)+', ', @num=@num +1
                if LEN(@line) > 80
                begin
                print @line
                set @line = ''
                end
                end
                print @line

                F 1 Reply Last reply
                0
                • G greldak

                  I think I prefer http://www.asciimation.co.nz/[^]

                  A Offline
                  A Offline
                  Alexander DiMauro
                  wrote on last edited by
                  #16

                  That was amazing! I can't even imagine how long it took to make something like that! That really deserves a :beer: !!! I think I'll go drink one now while I watch... :cool:

                  The world is going to laugh at you anyway, might as well crack the 1st joke! My code has no bugs, it runs exactly as it was written.

                  1 Reply Last reply
                  0
                  • K KP Lee

                    Not exactly what I was expecting from the title, but nice anyway. (All three links are nice, but I'll go with Star Wars as the most impressive and probably the most work needed.) I was expecting graphical ASCII characters being used to create graphical images. Then I thought, "It's been so long, what are the graphical ASCII characters?"? Wrote a quick SQL script to find the values. NOT what I remember doing with graphical ASCII characters in the past. I remember a cross image like "+" that would graphically tie in both vertically and horizontally, a horizontal line with up and down ticks and a vertical line with left and right ticks. I can't even use the remaining graphic characters (ascii 1 through 6) here because they aren't supported on the web. If you are interested in the full set of ASCII characters, here's the SQL code:

                    declare @num int = 0, @numc varchar(3), @line varchar(100) = ''
                    while @num < 256
                    begin
                    select @numc=@num, @line = @line+@numc+CHAR(@num)+', ', @num=@num +1
                    if LEN(@line) > 80
                    begin
                    print @line
                    set @line = ''
                    end
                    end
                    print @line

                    F Offline
                    F Offline
                    fatman45
                    wrote on last edited by
                    #17

                    You're not seeing the characters you remember because of your db's default collation - the code page is wrong. The character you were thinking about is ASCII 197 ┼ There are quite a few others in the range 176 ░ to 218 ┌

                    Da Bomb

                    K B 2 Replies Last reply
                    0
                    • A Andy Brummer

                      http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

                      Curvature of the Mind now with 3D

                      J Offline
                      J Offline
                      Jan Ringos
                      wrote on last edited by
                      #18

                      Oh, come on, let's use the text mode: http://mx-3.cz/tringi/www/Shoot_em_ASCII

                      www.ringos.cz

                      1 Reply Last reply
                      0
                      • F fatman45

                        You're not seeing the characters you remember because of your db's default collation - the code page is wrong. The character you were thinking about is ASCII 197 ┼ There are quite a few others in the range 176 ░ to 218 ┌

                        Da Bomb

                        K Offline
                        K Offline
                        KP Lee
                        wrote on last edited by
                        #19

                        Thanks, you are absolutely right. That's what I get for believing Microsoft documentation:  Converts an int ASCII code to a character. Transact-SQL Syntax Conventions Syntax CHAR ( integer_expression ) OK, first off, you can change the default collation of a table's collumn, what would be the collation name that would store true ASCII characters in a table? Here are the real 1-6 ascii values: ☺☻♥♦♣♠ and the list of the last 135 ascii characters 120 xyz{|}~⌂Çü 130 éâäàåçêëèï 140 îìÄÅÉæÆôöò 150 ûùÿÖÜ¢£¥₧ƒ 160 áíóúñѪº¿⌐ 170 ¬½¼¡«»░▒▓│ 180 ┤╡╢╖╕╣║╗╝╜ 190 ╛┐└┴┬├─┼╞╟ 200 ╚╔╩╦╠═╬╧╨╤ 210 ╥╙╘╒╓╫╪┘┌█ 220 ▄▌▐▀αßΓπΣσ 230 µτΦΘΩδ∞φε∩ 240 ≡±≥≤⌠⌡÷≈°∙ 250 ·√ⁿ²■  That can get some nice (or not so nice in this case) graphics: ┌─┬─┐ ├─┼─┤ ╞═╪═╡ └╖╘╤╛ ╔╩═╧╗ OK, used/modified the documentated script that continues getting bad ascii data in SQL: DECLARE @position int, @string varchar(8000) DECLARE @tbl table(i int identity primary key, Ascii tinyint, charval char) -- Initialize the current position and the string variables. SET @position = 1 -- set ascii characters 120-255 SET @string = 'xyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■' WHILE @position <= LEN(@string) BEGIN INSERT into @tbl SELECT ASCII(SUBSTRING(@string, @position, 1)), CHAR(ASCII(SUBSTRING(@string, @position, 1))) SET @position = @position + 1 END SELECT @string, LEN(@string) select * from @tbl

                        1 Reply Last reply
                        0
                        • F fatman45

                          You're not seeing the characters you remember because of your db's default collation - the code page is wrong. The character you were thinking about is ASCII 197 ┼ There are quite a few others in the range 176 ░ to 218 ┌

                          Da Bomb

                          B Offline
                          B Offline
                          b_dunphy
                          wrote on last edited by
                          #20

                          Only one problem with that statement, those are not ASCII characters! That is why the code page setting mattered. The American Standard Code for Information Interexchange is a seven bit code, not an eight bit code. It consists solely of character codes 0 (zero) through 127 inclusive. Only IBM PCs and compatibles displayed the characters you referred to at all, all other computers either displayed different symbols (Apple Macintosh, Commodore C64/128/Amiga, Atari 400/800/1200/ST) or used the eight bit for a completely different purpose, such as the Apple 2 series using it to indicate whether text was displayed as white letters on a black background, or black letters on a white background. Futhermore, even the IBM PC did not always display those symbols for those character codes, other code pages used them to support the Spanish, French, or Greek alphabets for example.

                          1 Reply Last reply
                          0
                          • A Andy Brummer

                            http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

                            Curvature of the Mind now with 3D

                            C Offline
                            C Offline
                            cwp42
                            wrote on last edited by
                            #21

                            Realy great - and hard work !

                            cwp42

                            1 Reply Last reply
                            0
                            • C Corporal Agarn

                              Cool

                              E Offline
                              E Offline
                              Espen Harlinn
                              wrote on last edited by
                              #22

                              Another 5 to counter odd downvote ... somebody is sure having fun these days ...

                              Espen Harlinn Senior Architect, Software - Goodtech Projects & Services My LinkedIn Profile

                              C 1 Reply Last reply
                              0
                              • A Andy Brummer

                                http://nkwiatek.com/[^] plus javascript and fluid dynamics. [edit to link directly to site]

                                Curvature of the Mind now with 3D

                                L Offline
                                L Offline
                                ldsroshan
                                wrote on last edited by
                                #23

                                Nice thinking........... The coolest thing I have seen.

                                1 Reply Last reply
                                0
                                • E Espen Harlinn

                                  Another 5 to counter odd downvote ... somebody is sure having fun these days ...

                                  Espen Harlinn Senior Architect, Software - Goodtech Projects & Services My LinkedIn Profile

                                  C Offline
                                  C Offline
                                  Corporal Agarn
                                  wrote on last edited by
                                  #24

                                  Thanks, nothing like down voting a one word opinion.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups