From 9923f00fa1f920323db8fedb18307f7587f1555b Mon Sep 17 00:00:00 2001 From: Tommy Ettinger Date: Tue, 2 Feb 2021 20:15:18 -0800 Subject: [PATCH] Release 0.2.7 ! --- README.md | 9 +- build.gradle | 2 +- docs/apidocs/allclasses-frame.html | 2 +- docs/apidocs/allclasses-noframe.html | 2 +- .../tommyettinger/anim8/AnimatedGif.html | 4 +- .../tommyettinger/anim8/AnimatedPNG.html | 4 +- .../tommyettinger/anim8/AnimationWriter.html | 4 +- .../anim8/Dithered.DitherAlgorithm.html | 4 +- .../github/tommyettinger/anim8/Dithered.html | 4 +- .../anim8/OtherMath.BiasGain.html | 4 +- .../github/tommyettinger/anim8/OtherMath.html | 43 +++++++- .../com/github/tommyettinger/anim8/PNG8.html | 4 +- .../tommyettinger/anim8/PaletteReducer.html | 103 +++++++++++++----- .../tommyettinger/anim8/package-frame.html | 2 +- .../tommyettinger/anim8/package-summary.html | 4 +- .../tommyettinger/anim8/package-tree.html | 4 +- docs/apidocs/constant-values.html | 4 +- docs/apidocs/deprecated-list.html | 4 +- docs/apidocs/help-doc.html | 4 +- docs/apidocs/index-all.html | 14 ++- docs/apidocs/index.html | 2 +- docs/apidocs/overview-tree.html | 4 +- .../tommyettinger/anim8/AnimatedGif.java | 2 +- .../com/github/tommyettinger/anim8/PNG8.java | 4 +- .../tommyettinger/anim8/PaletteReducer.java | 2 +- 25 files changed, 165 insertions(+), 74 deletions(-) diff --git a/README.md b/README.md index 4273bd7f..ffee5443 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ A typical Gradle dependency on anim8 looks like this (in the core module's depen ```groovy dependencies { //... other dependencies are here, like libGDX 1.9.10 or higher - api "com.github.tommyettinger:anim8-gdx:0.2.6" + api "com.github.tommyettinger:anim8-gdx:0.2.7" } ``` @@ -50,7 +50,7 @@ You can also get a specific commit using JitPack, by following the instructions [JitPack's page for anim8](https://jitpack.io/#tommyettinger/anim8-gdx/57db9e3b6d). A .gwt.xml file is present in the sources jar, and because GWT needs it, you can depend on the sources jar with -`implementation "com.github.tommyettinger:anim8-gdx:0.2.6:sources"`. The PNG-related code isn't available on GWT because +`implementation "com.github.tommyettinger:anim8-gdx:0.2.7:sources"`. The PNG-related code isn't available on GWT because it needs `java.util.zip`, which is unavailable there, but PaletteReducer and AnimatedGif should both work. The GWT inherits line, which is needed in `GdxDefinition.gwt.xml` if no dependencies already have it, is: ```xml @@ -79,7 +79,12 @@ different API). - DIFFUSION - This is Floyd-Steinberg error-diffusion dithering. - It tends to look very good in still images, and very bad in animations. + - SCATTER is mostly the same as this algorithm, but uses blue noise to break up unpleasant patterns. - BLUE_NOISE + - Blue noise, if you haven't heard the term, refers to a kind of sequence of values where low-frequency patterns + don't appear at all, but mid- and high-frequency patterns are very common. 2D blue noise is common in graphics + code, often as a texture but sometimes as a sequence of points; it is used here because most vertebrate eyes + employ a blue-noise distribution for sensory cells, and this makes blue noise appear natural to the human eye. - Not the typical blue-noise dither; this incorporates a checkerboard pattern as well as a 64x64 blue noise texture. - I should probably credit Alan Wolfe for writing so many invaluable articles about blue noise. - This may have some issues when the palette is very small; it may not dither strongly enough by default for small diff --git a/build.gradle b/build.gradle index c7095adc..8960059a 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply from: 'publish.gradle' sourceCompatibility = 1.7 def projectName = 'anim8-gdx' -version '0.2.7-SNAPSHOT' +version '0.2.7' group 'com.github.tommyettinger' //api "com.github.tommyettinger:anim8-gdx:0.2.6" diff --git a/docs/apidocs/allclasses-frame.html b/docs/apidocs/allclasses-frame.html index e1456d92..3e9a184b 100644 --- a/docs/apidocs/allclasses-frame.html +++ b/docs/apidocs/allclasses-frame.html @@ -3,7 +3,7 @@ -All Classes (anim8-gdx 0.2.6 API) +All Classes (anim8-gdx 0.2.7 API) diff --git a/docs/apidocs/allclasses-noframe.html b/docs/apidocs/allclasses-noframe.html index 2d97d7bf..8fc00466 100644 --- a/docs/apidocs/allclasses-noframe.html +++ b/docs/apidocs/allclasses-noframe.html @@ -3,7 +3,7 @@ -All Classes (anim8-gdx 0.2.6 API) +All Classes (anim8-gdx 0.2.7 API) diff --git a/docs/apidocs/com/github/tommyettinger/anim8/AnimatedGif.html b/docs/apidocs/com/github/tommyettinger/anim8/AnimatedGif.html index 92e1d6b0..28bbebcd 100644 --- a/docs/apidocs/com/github/tommyettinger/anim8/AnimatedGif.html +++ b/docs/apidocs/com/github/tommyettinger/anim8/AnimatedGif.html @@ -3,7 +3,7 @@ -AnimatedGif (anim8-gdx 0.2.6 API) +AnimatedGif (anim8-gdx 0.2.7 API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,13 +11,13 @@ @@ -11,7 +11,7 @@ @@ -11,13 +11,13 @@ diff --git a/docs/apidocs/com/github/tommyettinger/anim8/package-summary.html b/docs/apidocs/com/github/tommyettinger/anim8/package-summary.html index 3983c6a7..e04e8e7d 100644 --- a/docs/apidocs/com/github/tommyettinger/anim8/package-summary.html +++ b/docs/apidocs/com/github/tommyettinger/anim8/package-summary.html @@ -3,7 +3,7 @@ -com.github.tommyettinger.anim8 (anim8-gdx 0.2.6 API) +com.github.tommyettinger.anim8 (anim8-gdx 0.2.7 API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@