forked from Doctoror/ParticlesDrawable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG.txt
58 lines (48 loc) · 2.33 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
v 2.0.0
- Added OpenGL module
- Renamed makeBrandNewFrameWithPointsOffscreen to makeBrandNewFrameWithParticlesOffscreen
- Renamed numDots to density
- Renamed dotColor to particleColor
- Renamed dotRadiusRange to particleRadiusRange
- Renamed lineDistance to lineLength
- Renamed maxDotRadius to particleRadiusMax
- Renamed minDotRadius to particleRadiusMin
- Renamed stepMultiplier attribute to speedFactor, same for getter and xml attribute
v 1.0.9
- Fixed crash that could happen when bounds is set back to 0
- Target SDK is set to 27
- Dependencies updated
v 1.0.8
- Source compatibility is set to 1.6, this fixes #3
- Suppressed lint warnings that had to be suppressed
v 1.0.7
- Moved nextFrame(), makeBrandNewFrame() and makeBrandNewFrameWithPointsOffscreen() to ParticlesScene interface
- Moved engine logic to SceneController
v 1.0.6
- Exposed nextFrame() method for using in when animating manually
v 1.0.5
- Refactored
- Added more tests
- ParticlesDrawable and ParticlesView now implement ParticlesSceneConfiguration to make sure all configuration getters and setters are exposed
- ParticlesView now uses SceneController instead of ParticlesDrawable for implementation
v 1.0.4
ParticlesDrawable:
- Improved drawing time complexity from N*N to N*N/2
- Fixed lines were getting drawn twice
- Particle alpha is now pre-calculated once particle color or drawable alpha is changed, and not every time the particle is getting drawn
v 1.0.3
ParticlesDrawable:
- Fixed "last frame time" not being reset when stopped resulting in offscreen particles once resumed
- Added "makeBrandNewFrameWithPointsOffscreen" method that will place all particles offscreen so that when started, all points will float onto screen
v 1.0.2
ParticlesDrawable:
- Fixed "java.lang.IllegalArgumentException: n must be positive" when radius range values round up to the same int
v 1.0.1
ParticlesDrawable:
- Fixed IllegalArgumentException when set bounds resulted in width, height or both set to zero
- Added makeBrandNewFrame() method which resets all positions and makes a random new frame. Is useful if you are using ParticlesDrawable as static, not animating backgounrd.
- Added unit tests
ParticlesView:
- Now will not animate if visibility of this View or one of it's parents is not set to VISIBLE
- Added start() and stop() methods which allows you to control animations
- Added unit tests