Giter Club home page Giter Club logo

a-musicview's Introduction

MusicView

#开源自定义控件系列之六 #自定义音乐播放器

  • 代码百分百全注释,看不懂你过来,我保证不打你
  • Canvas动态绘图,涉及碰撞检测(很简单)
  • 开源免费对您有帮助请加星

#解释

  • 代码之前是在联想A820t上用px全写死的,未做适配,导致很多手机无法正展示效果,非常抱歉,现在工作太忙,过一段时间一定把适配版本更新上来,你也可以更该部分参数自行适配。^-^

#提示:

  • 1、修改触发弹射的高度mOnBallHeight
  • 2、修改小球的半径、初速度
  • 3、542行的 /RectF cricle = new RectF(centerX - r, newy + r, centerX + r, newy - r); canvas.drawOval(cricle, mPaint);/ 改成: canvas.drawCircle(centerX, newy, r, mPaint);

Alt text

a-musicview's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.