Releases: steren/attractors-android
Release list
v0.4.3
Fixes the grain visible in the dark theme.
A piece on black was bare trails with nothing between them. The shadow layer is switched off on a dark background — the web version stamps a near-transparent black, which cannot darken black — but that layer is not only shading: in the light theme it washes the whole canvas and fills the space between the trails. Measured over a screenshot, 2.4% of a light piece was untouched background against 23.7% of a dark one.
With nothing in between, and trails 0.35 pixels wide, a dark piece came out as single bright pixels separated by single pure-black ones — the sharpest edge a screen can draw, repeated across the piece, which reads as grain.
On a background too dark to darken, that layer is now painted the other way up: the piece's own two colors, averaged and dimmed to a tenth of their brightness. It goes where the shadows would have gone, so the empty areas of a piece stay at true black and an OLED panel still has nothing to light there. On a device this takes the single-pixel speckle from 2.8% of the piece to 0.7%, with the share that is pure black unchanged.
Light pieces, and the original, sand, rose and forest palettes, are unchanged. ink gains a faint wash of its own.
v0.4.2
Switching the phone between its light and dark theme could leave the piece in the colors of the theme it had just left, for good.
The change was noticed through one channel only, the service's onConfigurationChanged, which reaches a wallpaper whose service happens to be running at the moment the theme flips. This one is built to do nothing: once a piece has finished painting the render loop is torn down and the service can be reclaimed, so it is often not there to be told. Nothing checked afterwards either — becoming visible asked only whether a new piece was due by time — so the stale piece stayed up.
The colors are now compared again whenever the wallpaper becomes visible, which is the last moment before a piece could be seen in the wrong ones. A piece that is being looked at when the theme flips still repaints there and then, and a finished piece whose theme has not moved is still kept as it was.
v0.4.1
A piece kept on disk was only checked against the size and the palette, so a text, attractor count or density changed while the wallpaper was not running would restore the old piece as if nothing had happened. The saved piece now carries a signature of everything that decides what it looks like.
The screenshots and the recording in the README have been retaken.
v0.4.0
The wallpaper picker now shows a piece as its thumbnail, rather than the app's icon.
Two fixes to things the parallax in v0.3.0 had broken or left inconsistent:
- Text was sized against the whole piece, which is wider than the screen, so it ran off the edge. It is now sized to the strip that is on screen whatever the home screen is scrolled to, and reads in full at either end.
- In the dark theme, a device taking its colors from the wallpaper was painting near-white trails onto black. It now uses calmer mid tones, as the dark theme already did when following a chosen accent.
v0.3.0
The piece moves with the home screen. It is painted a third wider than the screen and slides as you page across, the way a photo set as the wallpaper does. Paging repaints nothing — the piece is already painted, only the part of it being copied to the screen changes.
"Follow the system" now leads or follows, whichever the device needs. Android derives its accent either from a color you picked outright or from the wallpaper itself, and a wallpaper cannot follow something derived from itself:
- The accent is a color you picked → the piece follows it.
- The accent comes from the wallpaper → the piece brings the colors of attractors.steren.fr and hands them over for the accent to be derived from.
Either way one side leads and the other follows, the loop never closes, and the piece always has a color to paint with.
v0.2.0
The piece now hands its colors to the system, so a device set to take its theme from the wallpaper themes itself to match — with any palette other than "Follow the system".
That one is deliberately excluded: its colors are read from the system's accent, so publishing them back would close a loop, with the accent derived from a piece that was painted from the accent.
v0.1.2
The wallpaper no longer registers as an app in the launcher's drawer. It is a wallpaper and nothing else, reached from the wallpaper picker, with its settings behind the gear there.
The launcher icon, added in v0.1.1, is the favicon of attractors.steren.fr; it is what the wallpaper picker shows as the thumbnail.
v0.1.1
v0.1.0
First release.
Attractors as a native Android live wallpaper: a piece paints itself over about a minute, then holds still and costs nothing to display. Colors follow the system theme by default.
The APK attached to this release is built by CI from this tag.