markusfisch / WaveLinesWallpaper

A simple, unobstrusive live wallpaper for Android showing slowly moving wave lines
https://play.google.com/store/apps/details?id=de.markusfisch.android.wavelines
MIT License
104 stars 13 forks source link

wave animation cycle is a triangle wave #4

Open Wilker-uwu opened 5 years ago

Wilker-uwu commented 5 years ago

the current wave animation cycle acts like a triangle wave, i.e when the waves finishes going up they immediately go down without variable speeds.

wave-live-demo

these are okay, but it would be good to open room for adding different types of animation cycles like sine waves and smoother speed changes.

markusfisch commented 5 years ago

You're right and I'm not completely happy with the current wave animation too. It's okay for some parameters but looks not so good for others. So I'll make some changes and add some more options too.

Wilker-uwu commented 5 years ago

another thing that can be added is an option to manually set the speed of the waves, be they horizontally or the animation cycle too, where the slider could be a "range slider" or something looking like this —•——•– (sorry, idk what to call them)

Wilker-uwu commented 5 years ago

( i accidentally closed the issue D:)

markusfisch commented 5 years ago

Yes, I know what you mean 😉 While there's no such control in the Android SDK, there are a lot of open source components that offer that functionality.

Meanwhile, I've changed the wave calculation to use the sine function and it's a lot more smooth. Also I've added a control to change how fast the wave is oscillating.