1 Star 0 Fork 1

BGWP / 3d-touch-canvas

forked from Kevin / 3d-touch-canvas 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

3D Touch Canvas

This is a demo for 3D Touch on Mobile Safari on iPhone 6S, 6S Plus and iPad Pro. It's a simple line drawing app which you can use the force of the finger to control the width of the drawn line.

Mobile Safari on iOS 9 for iPhone 6S, 6S Plus and iPad Pro introduces 3D Touch for web developers. The line drawing code is heavily inspired by (or copied from) @kangax's 2013 article: Exploring canvas drawing techniques.

Demo URL: https://cheeaun.github.io/3d-touch-canvas/

Here's how it looks like, with a sketch:

Screenshot

And here's a nice demo video: https://twitter.com/cheeaun/status/656631323923091456

And here's how it looks like on iPad Pro: https://twitter.com/firt/status/666414635390795776 https://twitter.com/firt/status/666438652860506112

Instructions

  • Touch anywhere to start drawing lines (except the top link).
  • Two-finger tap to clear canvas.

空文件

简介

3D Touch Canvas, for iPhone 6S, 6S Plus and iPad Pro 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
HTML
1
https://gitee.com/bgwp/3d-touch-canvas.git
git@gitee.com:bgwp/3d-touch-canvas.git
bgwp
3d-touch-canvas
3d-touch-canvas
master

搜索帮助