https://github.com/inlustra/colortime
An Android Live Wallpaper with auto-generated settings
https://github.com/inlustra/colortime
Last synced: 8 months ago
JSON representation
An Android Live Wallpaper with auto-generated settings
- Host: GitHub
- URL: https://github.com/inlustra/colortime
- Owner: Inlustra
- Created: 2015-09-03T16:33:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T13:18:50.000Z (over 10 years ago)
- Last Synced: 2025-10-12T05:42:26.130Z (8 months ago)
- Language: Java
- Homepage:
- Size: 313 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ColorTime
Written as a test for the ReflectiveSettings library component,
all settings menus are generated using reflection (At the cost of performance)
## Description
ColorTime is pulled into 2 components, A Painter and a Sampler
## Sampler
```java
@Override
public int getColor(long delta)
```
## Painter
```java
@Override
public void paint(final SurfaceHolder holder, final int color, long delta)
```
## Eventual Changes
An extension of this, would be to "Chain" painters and samplers or to create modifiers to allow for modification of the color after the fact.
`Get Color → Modify Color → Modify Color → Paint → Modify SurfaceHolder`