• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

vogievetsky/KoalasToTheMax: Koalas To The Max

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

vogievetsky/KoalasToTheMax

开源软件地址:

https://github.com/vogievetsky/KoalasToTheMax

开源编程语言:

JavaScript 68.8%

开源软件介绍:

Introducation

Exploration of pixalized koalas*.

(*may include animals other than koalas)

Made with love by Vadim Ogievetsky for Annie Albagli

Powered by Mike Bostock's D3

Usage

Custom images

Supported URLs are:

  1. DOMAIN The just the page domain / loads one of the default files

  2. DOMAIN?BA5E64== Where BA5E64== is a UTF-8 base64 encoded string of one of the following things:

  3. An image URL

    Example: http://i.imgur.com/cz1Jb.jpg

    Use that URL image instead of the default one.

  4. A JSON string representing an array of URLs

    Example: ["http://i.imgur.com/cz1Jb.jpg","http://i.imgur.com/Q5IqH.jpg"]

    Pick one of the images at random and use that instead of the default one.

  5. A JSON string representing an object with the keys 'images', 'background' and 'hideNote'

    Example: {"background":"#000","images":["http://i.imgur.com/cz1Jb.jpg","http://i.imgur.com/Q5IqH.jpg"]}

    images (required): Pick one of the images at random and use that instead of the default one.

    background (optional): Use the value of background as the page background.

    hideNote (optional): Hide the mention on the bottom.

  6. DOMAIN?image_url

Where image URL is an actual image URL this is for backwards compatibility.

Example: http://i.imgur.com/cz1Jb.jpg

This is how putting in a custom image used to work.

  1. DOMAIN#a_string

This will redirect to DOMAIN?b64(a_string)

This should be used to construct things as above.

Note: where DOMAIN is usually http://koalastothemax.com




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap