Coder Social home page Coder Social logo

play-h5-canvas's Introduction

Play-H5-Canvas

根据产品需求,进行Canvas的轨迹进行回放,以上代码仅为回放demo,实际需求中需要考虑在图片上绘制,并且图片可以进行分页,图片互相切换时,需要保存对应图片上的 canvas轨迹,并且将数据提交到服务器,在客户端进行请求的时候,可以根据记录的数据信息,还原canvas操作过程。

play-h5-canvas's People

Contributors

mazh1 avatar mazhaohai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

play-h5-canvas's Issues

提问

我的需求的是点击播放按钮开始回放轨迹,暂停就停止回放。再点击播放的话时间不是接着上一次停止的时间继续播放的。var deltatime = (new Date()).getTime() - self.startplay;这句代码没看明白是什么意思。

一些问题

您好,我最近也有一个类似的需求,只是需要能对线条的粗细和颜色进行调节。我想了解一下,我可以把绘制的轨迹和一些颜色以及线条粗细的信息存储到数据库中,轨迹回放的时候从数据库中取出数据再进行回放,这样的效果可以实现吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.