ニートが頑張るブログ

ニートが現実逃避するために創作活動など色々とカオスに頑張ってみる
ニートが頑張るブログ TOP  >  アスキーアート >  AAでドット絵

AAでドット絵

AAドット絵を打っている方がいたのでやってみましたよ.
ドット絵作品スレ2  ポッポのAA作ったよ!
これはAAなのでしょうか?


         ▓
        ▓█▓
        ███
       ▓███
       ██▓ ▓               ▓▓██▓
       █   █            ▓██ ███▓
      ▓▓   █          ▓█    ███
      █     █████   ▓█      ██
      █   ▓▓     ███       ▓█
      █ ▓                  █     ██
      ▓                   █     █  █
     ▓                   █      █   ██
     █▓        ██       █      █      █
    █ █       █ ██    ██       █       █
    ███       ████     █      █        █
   ▓ █  █      ██      ▓      █        ▓
   █              ▓▓    ▓    █        █
   █▓  █ ██  █   ▓▓▓▓   █    █       █
   █▓   █▓▓██    ▓▓▓▓    ▓  █       █
   ██    ▓▓█      ▓▓█    █  █      █
 █▓ █    ██        █ █   ▓█ █     █
▓    ▓           ██   █ ▓▓█  █    ██
█     █               █  ▓█   █     █
 █                   █     █  █▓   ██
  █                        █ █    █
   ▓█              ▓▓▓   ▓▓██   ██
     ▓          █ █   ▓ ▓▓▓█ █  █
     ▓█        █ █ █     ▓▓███   █
      █        █   █       █▓▓▓██
      █        █    █     █▓▓██
      ▓         ▓   █     ███
       █        █   █    ██
       █        █  █    █
        █        ██    █
         ██         ██▓
           ██     ██
             ██ ▓██
              █   █
              █ █ █
               █ █


この作風,色を塗ったときの破壊力が異常です.


         
        
        ▆▆▆
       ▆▆▆
       ▆▆               ▆▆▆▆
       ▆ ▆▆▆            ▆▆ ▆▆▆
      ▆▆ ▆▆▆          ▆   ▆▆▆
      ▆  ▆▆▆▆▆▆▆▆   ▆   ▆▆▆▆▆
      ▆ ▆▆▆▆   ▆▆▆▆▆   ▆▆▆▆
      ▆     ▆▆▆▆▆▆▆▆▆▆▆▆▆▆     ▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆     ▆  ▆
        ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆   ▆▆
     ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆ ▆ ▆ ▆
    ▆ ▆▆▆▆▆▆▆▆▆ ▆▆▆▆▆▆▆▆       ▆  ▆ ▆ ▆
    ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆  ▆ ▆ ▆▆
   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆ ▆▆▆▆▆▆▆
   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆    ▆▆▆▆▆▆▆▆▆
   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆    ▆▆▆▆▆▆▆▆
   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆  ▆▆▆▆▆▆▆▆
   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆  ▆▆▆▆▆▆▆
 ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆ ▆▆▆▆▆ ▆▆▆▆▆▆
  ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆   ▆▆▆▆  ▆▆▆▆▆▆▆
▆ ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆   ▆▆▆▆▆▆
 ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆  ▆▆▆▆▆▆
  ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆ ▆▆▆▆▆
   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
     ▆▆▆▆▆▆▆▆▆▆▆   ▆▆▆▆ ▆▆▆
     ▆▆▆▆▆▆▆▆▆ ▆ ▆ ▆▆▆▆▆▆▆▆▆▆▆▆
      ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
      ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
      ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
       ▆ ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
       ▆   ▆▆▆▆▆▆▆▆▆▆▆
        ▆   ▆▆▆▆▆▆▆▆▆▆▆
         ▆▆  ▆▆▆▆▆▆▆▆▆
           ▆▆  ▆▆▆▆▆
             ▆▆▆▆
              ▆▆▆▆
              ▆ ▆ ▆
               ▆ ▆


ここまでくると「画像貼れよ」って感じですが,
任天堂さんが恐ろしいのでこれはこれで意味があるのでしょう.

ポケモンは4色,56×56のドット絵なので
試しにPNG形式で圧縮してみたら,441バイトになりました.
上記のHTMLピカチュウソース13217バイトです.

AAは高度な画像圧縮技術のようなものかと思っていたのですが
今回はPNGに負けちゃいました.
でもテーブルアートには勝ってるんじゃないかなぁ.

 

フォントサイズを変えてもズレないと来たもんだ.


                 
                
                ▆▆▆
               ▆▆▆
               ▆▆               ▆▆▆▆
               ▆ ▆▆▆            ▆▆ ▆▆▆
              ▆▆ ▆▆▆          ▆   ▆▆▆
              ▆  ▆▆▆▆▆▆▆▆   ▆   ▆▆▆▆▆
              ▆ ▆▆▆▆   ▆▆▆▆▆   ▆▆▆▆
              ▆     ▆▆▆▆▆▆▆▆▆▆▆▆▆▆     ▆▆
                   ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆     ▆  ▆
                ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆   ▆▆
             ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆ ▆ ▆ ▆
            ▆ ▆▆▆▆▆▆▆▆▆ ▆▆▆▆▆▆▆▆       ▆  ▆ ▆ ▆
            ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆  ▆ ▆ ▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆      ▆ ▆▆▆▆▆▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆    ▆▆▆▆▆▆▆▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆    ▆▆▆▆▆▆▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆  ▆▆▆▆▆▆▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆  ▆▆▆▆▆▆▆
         ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆ ▆▆▆▆▆ ▆▆▆▆▆▆
          ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆   ▆▆▆▆  ▆▆▆▆▆▆▆
        ▆ ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆   ▆▆▆▆▆▆
         ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆  ▆▆▆▆▆▆
          ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆ ▆▆▆▆▆
           ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
             ▆▆▆▆▆▆▆▆▆▆▆   ▆▆▆▆ ▆▆▆
             ▆▆▆▆▆▆▆▆▆ ▆ ▆ ▆▆▆▆▆▆▆▆▆▆▆▆
              ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
              ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
              ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
               ▆ ▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆
               ▆   ▆▆▆▆▆▆▆▆▆▆▆
                ▆   ▆▆▆▆▆▆▆▆▆▆▆
                 ▆▆  ▆▆▆▆▆▆▆▆▆
                   ▆▆  ▆▆▆▆▆
                     ▆▆▆▆
                      ▆▆▆▆
                      ▆ ▆ ▆
                       ▆ ▆

                 ▓
                ▓█▓
                ███
               ▓███
               ██▓░▓               ▓▓██▓
               █ ░░█            ▓██ ███▓
              ▓▓ ░░█          ▓█   ░███
              █  ░░░█████   ▓█   ░░░██
              █ ░░▓▓   ░░███   ░░░░▓█
              █░▓     ░░░░░░░░░░░░░█     ██
              ▓     ░░░░░░░░░░░░░░█     █  █
             ▓░   ░░░░░░░░░░░░░░░█      █   ██
             █▓░░░░░░░░██░░░░░░░█      █ ░ ░ ░█
            █ █░░░░░░░█ ██░░░░██       █  ░ ░ ░█
            ███░░░░░░░████░░░░░█      █  ░ ░ ░░█
           ▓░█░░█░░░░░░██░░░░░░▓      █ ░░░░░░░▓
           █░░░░░░░░░░░░░░▓▓░░░░▓    █░░░░░░░░█
           █▓░░█░██░░█░░░▓▓▓▓░░░█    █░░░░░░░█
           █▓░░░█▓▓██░░░░▓▓▓▓░░░░▓  █░░░░░░░█
           ██░░░░▓▓█░░░░░░▓▓█░░░░█  █░░░░░░█
         █▓░█░░░░██░░░░░░░░█ █░░░▓█ █░░░░░█
        ▓  ░░▓░░░░░░░░░░░██   █░▓▓█  █░░░░██
        █ ░░░░█░░░░░░░░░░░░░░░█░░▓█   █░░░░░█
         █░░░░░░░░░░░░░░░░░░░█░░░░░█  █▓░░░██
          █░░░░░░░░░░░░░░░░░░░░░░░░█ █░░░░█
           ▓█░░░░░░░░░░░░░░▓▓▓░░░▓▓██░░░██
             ▓░░░░░░░░░░█░█   ▓░▓▓▓█ █░░█
             ▓█░░░░░░░░█ █ █ ░░░░▓▓███░░░█
              █░░░░░░░░█░░░█░░░░░░░█▓▓▓██
              █░░░░░░░░█░░░░█░░░░░█▓▓██
              ▓░░░░░░░░░▓░░░█░░░░░███
               █ ░░░░░░░█░░░█░░░░██
               █   ░░░░░█░░█░░░░█
                █   ░░░░░██░░░░█
                 ██  ░░░░░░░██▓
                   ██  ░░░██
                     ██░▓██
                      █░░░█
                      █ █ █
                       █ █


作り方ですが↑のように白黒濃淡の4色でドット絵を打ちます.
その後<font>タグ2色の色をつけるのですが,
これは置換で一発です.

▓░⇔▓</font><font color="色A">░
█░⇔█<font color="色A">░
 ░⇔ <font color="色A">░

░▓⇔░</font><font color="色B">▓
█▓⇔█<font color="色B">▓
 ▓⇔ <font color="色B">▓

░█⇔░</font>█
░ ⇔░</font> 
░<br>⇔░</font><br>

▓█⇔▓</font>█
▓ ⇔▓</font> 
▓<br>⇔▓</font><br>

最後に正方形の記号に統一します.
░⇔▆
▓⇔▆
█⇔▆

これだけだと何箇所か冗長なタグ打ちになるので,
もっと節約もできるはずですが,もう疲れました.

関連記事
[ 2008/07/01 18:52 ] アスキーアート | TB(0) | CM(0)
コメントの投稿












管理者にだけ表示を許可する
トラックバック
この記事のトラックバックURL

月別カレンダー
09 ≪│2017/10│≫ 11
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 - - - -