饭否头像瞬间生成器

受到 可可 同学 在豆瓣上发的 这个 帖子的启发。我今天上午写出来一个 php 的脚本,可是自动生成饭否的头像。
而你们所需要作的就是把你们想要写的字达到右边的那个输入框里面,再点按钮就可以了~~

效果图如下:

感谢 @venj 和 十七 的帮助 ;)

#update:

经过 Kevin Deng 同学的指点,颜色有点偏差,现已修改, 颜色应为 #0CF 也就是RGB(0, 204, 255) 或者 HSV(192, 0, 0)

12 Comments

12 Comments

  1. 我贡献出的就是无限犯二的理解力。。

    ReplyReply
  2. 加上maxlength参数
    <input maxlength=”1″ type=”text” name=”w”>

    ReplyReply
  3. @venj: 这个办法好… 我是从php那边处理的。

    ReplyReply
  4. @17:= =

    ReplyReply
  5. 颜色还是不对,用HSB吧,192 0 0

    ReplyReply
  6. 嗯嗯,我已经把这个链接贴到我那篇文章上了~一起等待饭否吧~ヽ( ̄ω ̄( ̄ω ̄〃)ゝ

    ReplyReply
  7. @Kevin Deng: 不好意思刚看到~ 我也觉得那个颜色不太对。。多谢拉 已修改 XD

    ReplyReply
  8. @可可: 多谢可可~~

    ReplyReply
  9. 饭否要归来啦?

    ReplyReply
  10. @echo: sadly, nope…

    ReplyReply
  11. 好玩儿~~

    ReplyReply

Leave a Reply

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>