turing
V2EX  ›  Node.js

ascii 将图片转换成ascii字符图像,基于canvas

  •  
  •   turing · Sep 26, 2013 · 6766 views
    This topic created in 4789 days ago, the information mentioned may be changed or developed.
    14 replies  •  1970-01-01 08:00:00 +08:00
    leohxj
    leohxj
    Sep 26, 2013❤️1
    1
    喜欢ASCII Art, 顺便给几个ASCII图形库:

    http://www.chris.com/ascii/

    http://www.asciiworld.com/
    mozii
    mozii
    Sep 26, 2013
    2
    candy还在开发么?
    turing
    turing
    OP
    Sep 26, 2013
    3
    @mozii 在的,而且派生了几个项目,不过我没在这贴~
    Chrics
    Chrics
    Sep 26, 2013
    4
    对比不明显的话效果很差的
    turing
    turing
    OP
    Sep 26, 2013
    5
    @Chrics 是的,这是个问题,找demo图的时候也找了好多张,而且输出成html的话,对样式也有要求
    Mutoo
    Mutoo
    Sep 26, 2013❤️1
    6
    之前用 processing 做的

    turing
    turing
    OP
    Sep 26, 2013
    7
    @Mutoo 这个很酷炫啊!!!
    Mutoo
    Mutoo
    Sep 26, 2013
    8
    原理是将指定字体的ascii转化成相应的灰阶(通过计算黑色面积)然后使用这个字阶灰阶来表达像素
    源码 https://gist.github.com/mutoo/6715009
    turing
    turing
    OP
    Sep 26, 2013
    9
    @Mutoo 感谢分享~我试试看能不能做到这个效果
    hustlzp
    hustlzp
    Sep 26, 2013
    10
    @Mutoo 碉堡了!
    Choutreeman
    Choutreeman
    Sep 26, 2013
    11
    @turing 牛逼啊!
    tysx
    tysx
    Sep 27, 2013
    12
    @Mutoo 用的是什么语言,乍一看像python,再看又不是
    @turing
    turing
    turing
    OP
    Sep 27, 2013
    13
    no13bus
    no13bus
    Sep 27, 2013
    14
    给艺术家设计的语言
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2390 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 11:13 · PVG 19:13 · LAX 03:13 · JFK 06:13
    ♥ Do have faith in what you're doing.