Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 769 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 769 Bytes

DanchuParticle

A demo application for a danchu particle effect. This is a prototype to demonstrate the effect, which means that it has no performance optimization at all.

danchu-particle mov

How it works

It is implemented with the very basic knowledges of physics: acceleration, velocity, gravity and friction.

  1. Each time the user taps the screen, it generates a random number of views with a random acceleration.
  2. On every tick, the friction affects the acceleration.
  3. On every tick, the acceleration and the gravity affects the velocity.
  4. On every tick, the velocity affects the frame origin.

Author

Suyeol Jeon (https://github.com/devxoul)