Peer-to-peer canvas app for Urbit

栏目: IT技术 · 发布时间: 4年前

内容简介:In order to run your canvas app on your ship, before

Canvas for ~Urbit

Peer-to-peer canvas app for Urbit

Video Demo

Features

  • Each stroke is stored automatically on your Urbit.
  • Export Canvas Images as SVG/PNG files.
    • Allows for selective removal of the Color Palette and/or Hexagonal Mesh.
    • Image files are stored on your Urbit and served through %eyre.
    • Option to share a canvas file in a chat room.
  • Allows creation of Public/Private Canvas.
    • A shared canvas becomes local once the subscription is pulled.
    • Others can join a Public Canvas and work collaboratively in a cool art project.

Installation

In order to run your canvas app on your ship, before |install is implemented natively on urbit, you will need to mount your pier to Unix with |mount % .

Then you need to add the path to you urbit's pier in .urbitrc. The file is not provided by this repo so you need to create it manually:

module.exports = {
  URBIT_PIERS: [
    "PATH/TO/YOUR/PIER",
  ]
};

You have two options to mount the canvas into your pier:

  • npm run build

This builds your application and copies it into your Urbit ship's desk. In your Urbit (v.0.8.0 or higher) |commit %home (or %your-desk-name ) to synchronize your changes.

  • npm run serve

Builds the application and copies it into your Urbit ship's desk, watching for changes. In your Urbit (v.0.8.0 or higher) |commit %home (or %your-desk-name ) to synchronize your changes.

When you make changes, the urbit directory will update with the compiled application and, if you're running npm run serve , it will automatically copy itself to your Urbit ship when you save your.

Running

To start the canvas agent run this commands from %dojo :

> |start %canvas
>=
> |start %canvas-view
>=

If the tile doesn't load on the Home page screen run this command:

> :launch &launch-action [%remove %canvas-view /canvastile]
>=
> :launch &launch-action [%add %canvas-view /canvastile '/~canvas/js/tile.js']
>=

Peer-to-peer canvas app for Urbit

Direct link: <YOUR_URL>/~canvas

Templates

Peer-to-peer canvas app for Urbit

  • Hexagonal Mesh.
    • Templates:
      • Bitcoin Logo
      • Urbit Canvas Logo
      • friendly Martian
      • Urbit Sigil ~norsyr-torryn!
  • World Maps: US, Europe, Africa (more soon...)
  • Freehand Canvas.

Mesh

Peer-to-peer canvas app for Urbit

Bitcoin

Peer-to-peer canvas app for Urbit

Sigil

Peer-to-peer canvas app for Urbit

Martian

Peer-to-peer canvas app for Urbit

Europe

Peer-to-peer canvas app for Urbit

Africa

Peer-to-peer canvas app for Urbit

US

Peer-to-peer canvas app for Urbit

FreeHand

Peer-to-peer canvas app for Urbit

Share on Chat (I)

Peer-to-peer canvas app for Urbit

Share on Chat (II)

Peer-to-peer canvas app for Urbit


以上所述就是小编给大家介绍的《Peer-to-peer canvas app for Urbit》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

图解密码技术(第3版)

图解密码技术(第3版)

[日] 结城浩 / 周自恒 / 人民邮电出版社 / 2016-6 / 89.00元

本书以图配文的形式,详细讲解了6种最重要的密码技术:对称密码、公钥密码、单向散列函数、消息认证码、数字签名和伪随机数生成器。 第1部分讲述了密码技术的历史沿革、对称密码、分组密码模式(包括ECB、CBC、CFB、OFB、CTR)、公钥、混合密码系统。第2部分重点介绍了认证方面的内容,涉及单向散列函数、消息认证码、数字签名、证书等。第3部分讲述了密钥、随机数、PGP、SSL/TLS 以及密码技......一起来看看 《图解密码技术(第3版)》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

随机密码生成器
随机密码生成器

多种字符组合密码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具