Skip to content

Commit

Permalink
Release 0.4.7 !
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyettinger committed Nov 10, 2024
1 parent aa26310 commit 4e8bccf
Show file tree
Hide file tree
Showing 28 changed files with 418 additions and 280 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ A typical Gradle dependency on anim8 looks like this (in the core module's depen
dependencies {
//... other dependencies are here, like libGDX 1.9.11 or higher
// libGDX 1.12.1 is recommended currently, but versions as old as 1.9.11 work.
api "com.github.tommyettinger:anim8-gdx:0.4.6"
api "com.github.tommyettinger:anim8-gdx:0.4.7"
}
```

Expand All @@ -81,7 +81,7 @@ You can also get a specific commit using JitPack, by following the instructions
commit, unless you are experiencing problems with one in particular.)

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.4.6:sources"`. The PNG-related code isn't available on GWT
`implementation "com.github.tommyettinger:anim8-gdx:0.4.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,
as should `QualityPalette`. The classes `FastGif` and `FastPalette` should work on GWT, but no other "Fast" classes
will. The GWT inherits line, which is needed in `GdxDefinition.gwt.xml`, is:
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>All Classes and Interfaces (anim8-gdx 0.4.6 API)</title>
<title>All Classes and Interfaces (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="class index">
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>All Packages (anim8-gdx 0.4.6 API)</title>
<title>All Packages (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="package index">
Expand Down
211 changes: 110 additions & 101 deletions docs/apidocs/com/github/tommyettinger/anim8/AnimatedGif.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>AnimatedPNG (anim8-gdx 0.4.6 API)</title>
<title>AnimatedPNG (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: AnimatedPNG">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>AnimationWriter (anim8-gdx 0.4.6 API)</title>
<title>AnimationWriter (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, interface: AnimationWriter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Dithered.DitherAlgorithm (anim8-gdx 0.4.6 API)</title>
<title>Dithered.DitherAlgorithm (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, interface: Dithered, enum: DitherAlgorithm">
Expand Down Expand Up @@ -152,66 +152,71 @@ <h2>Enum Constant Summary</h2>
<div class="block">An error-diffusion dither that, like <a href="#NEUE"><code>NEUE</code></a>, starts with <a href="#DIFFUSION"><code>Floyd-Steinberg</code></a> dither and
adds in blue noise values to break up patterns.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#GRADIENT_NOISE" class="member-name-link">GRADIENT_NOISE</a></code></div>
<div class="col-first odd-row-color"><code><a href="#GOURD" class="member-name-link">GOURD</a></code></div>
<div class="col-last odd-row-color">
<div class="block">A relative of <a href="#LOAF"><code>LOAF</code></a>, this is another ordered dither, with comparable speed to and higher quality than
LOAF (but less of a "hand-drawn" feeling), and higher speed and comparable quality to <a href="#PATTERN"><code>PATTERN</code></a>.</div>
</div>
<div class="col-first even-row-color"><code><a href="#GRADIENT_NOISE" class="member-name-link">GRADIENT_NOISE</a></code></div>
<div class="col-last even-row-color">
<div class="block">Jorge Jimenez' Gradient Interleaved Noise, modified slightly to use as an ordered dither here; this can have
subtle repetitive artifacts, but doesn't have different amounts of noise on different frames or different
parts of an image (which is a potential problem for <a href="#DIFFUSION"><code>DIFFUSION</code></a> and the other error-diffusion
dithers).</div>
</div>
<div class="col-first even-row-color"><code><a href="#LOAF" class="member-name-link">LOAF</a></code></div>
<div class="col-last even-row-color">
<div class="col-first odd-row-color"><code><a href="#LOAF" class="member-name-link">LOAF</a></code></div>
<div class="col-last odd-row-color">
<div class="block">An intentionally-low-fidelity ordered dither with obvious repeating 2x2 patterns on a regular grid.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#NEUE" class="member-name-link">NEUE</a></code></div>
<div class="col-last odd-row-color">
<div class="col-first even-row-color"><code><a href="#NEUE" class="member-name-link">NEUE</a></code></div>
<div class="col-last even-row-color">
<div class="block">An error diffusion dither that mixes in ordered noise from a triangular-mapped blue noise texture; this is
one of the best-behaving dithers here when it comes to smooth gradients.</div>
</div>
<div class="col-first even-row-color"><code><a href="#NONE" class="member-name-link">NONE</a></code></div>
<div class="col-last even-row-color">
<div class="col-first odd-row-color"><code><a href="#NONE" class="member-name-link">NONE</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Doesn't dither at all; this generally looks bad unless the palette matches the colors in the image very
closely or exactly.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#OCEANIC" class="member-name-link">OCEANIC</a></code></div>
<div class="col-last odd-row-color">
<div class="col-first even-row-color"><code><a href="#OCEANIC" class="member-name-link">OCEANIC</a></code></div>
<div class="col-last even-row-color">
<div class="block">An error-diffusion dither based closely on <a href="#BURKES"><code>BURKES</code></a>, but that modifies how much error gets diffused
using a per-pixel multiplier obtained from blue noise.</div>
</div>
<div class="col-first even-row-color"><code><a href="#OVERBOARD" class="member-name-link">OVERBOARD</a></code></div>
<div class="col-last even-row-color">
<div class="col-first odd-row-color"><code><a href="#OVERBOARD" class="member-name-link">OVERBOARD</a></code></div>
<div class="col-last odd-row-color">
<div class="block">An error-diffusion dither (like <a href="#DIFFUSION"><code>DIFFUSION</code></a>, but using Burkes instead of Floyd-Steinberg) that uses
an assortment of patterns to add error to diffuse, selecting which patterns to use in a way that mimics a
simple ordered dither.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#PATTERN" class="member-name-link">PATTERN</a></code></div>
<div class="col-last odd-row-color">
<div class="col-first even-row-color"><code><a href="#PATTERN" class="member-name-link">PATTERN</a></code></div>
<div class="col-last even-row-color">
<div class="block">Thomas Knoll's Pattern Dither (with a 4x4 matrix), as originally described by Joel Yliluoma in
<a href="https://bisqwit.iki.fi/story/howto/dither/jy/">this dithering article</a>.</div>
</div>
<div class="col-first even-row-color"><code><a href="#ROBERTS" class="member-name-link">ROBERTS</a></code></div>
<div class="col-last even-row-color">
<div class="col-first odd-row-color"><code><a href="#ROBERTS" class="member-name-link">ROBERTS</a></code></div>
<div class="col-last odd-row-color">
<div class="block">An ordered dither built around the lightness-dispersing R2 point sequence, by Martin Roberts.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#SCATTER" class="member-name-link">SCATTER</a></code></div>
<div class="col-last odd-row-color">
<div class="col-first even-row-color"><code><a href="#SCATTER" class="member-name-link">SCATTER</a></code></div>
<div class="col-last even-row-color">
<div class="block">This tries to subtly alter the more rigidly-defined error-diffusion dither of <a href="#DIFFUSION"><code>DIFFUSION</code></a> with a small
amount of triangular-distributed blue noise, and unlike <a href="#CHAOTIC_NOISE"><code>CHAOTIC_NOISE</code></a>, it doesn't introduce white
noise.</div>
</div>
<div class="col-first even-row-color"><code><a href="#SEASIDE" class="member-name-link">SEASIDE</a></code></div>
<div class="col-last even-row-color">
<div class="col-first odd-row-color"><code><a href="#SEASIDE" class="member-name-link">SEASIDE</a></code></div>
<div class="col-last odd-row-color">
<div class="block">A close relative of <a href="#OCEANIC"><code>OCEANIC</code></a>, this also incorporates noise into <a href="#BURKES"><code>BURKES</code></a> to change how each
pixel diffuses error.</div>
</div>
<div class="col-first odd-row-color"><code><a href="#WOVEN" class="member-name-link">WOVEN</a></code></div>
<div class="col-last odd-row-color">
<div class="col-first even-row-color"><code><a href="#WOVEN" class="member-name-link">WOVEN</a></code></div>
<div class="col-last even-row-color">
<div class="block">An error-diffusion dither much like <a href="#NEUE"><code>NEUE</code></a>, except that it adds or subtracts a different error value
from each RGB channel, and that it uses translated copies of the R2 dither used by <a href="#ROBERTS"><code>ROBERTS</code></a>, instead
of using blue noise in any way.</div>
</div>
<div class="col-first even-row-color"><code><a href="#WREN" class="member-name-link">WREN</a></code></div>
<div class="col-last even-row-color">
<div class="col-first odd-row-color"><code><a href="#WREN" class="member-name-link">WREN</a></code></div>
<div class="col-last odd-row-color">
<div class="block">An error-diffusion dither (like <a href="#DIFFUSION"><code>DIFFUSION</code></a>, but using Burkes instead of Floyd-Steinberg) that uses
offset versions of the R2 sequence (like <a href="#WOVEN"><code>WOVEN</code></a>) and different blue noise textures (like
<a href="#DODGY"><code>DODGY</code></a>).</div>
Expand Down Expand Up @@ -546,6 +551,18 @@ <h3>SEASIDE</h3>
upon <a href="#NEUE"><code>NEUE</code></a>, and various other newer dithering algorithms here also use it.</div>
</section>
</li>
<li>
<section class="detail" id="GOURD">
<h3>GOURD</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="Dithered.DitherAlgorithm.html" title="enum class in com.github.tommyettinger.anim8">Dithered.DitherAlgorithm</a></span>&nbsp;<span class="element-name">GOURD</span></div>
<div class="block">A relative of <a href="#LOAF"><code>LOAF</code></a>, this is another ordered dither, with comparable speed to and higher quality than
LOAF (but less of a "hand-drawn" feeling), and higher speed and comparable quality to <a href="#PATTERN"><code>PATTERN</code></a>.
This will have some grid-based artifacts, but because it uses a somewhat large 8x8 grid (as opposed to 2x2
for LOAF), their appearance isn't always as obvious. Like LOAF and PATTERN, this should look good for
animations, since it doesn't have the error-diffusion issues where diffused error can zigzag over a moving
object during an animation.</div>
</section>
</li>
</ul>
</section>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/com/github/tommyettinger/anim8/Dithered.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Dithered (anim8-gdx 0.4.6 API)</title>
<title>Dithered (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, interface: Dithered">
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs/com/github/tommyettinger/anim8/FastAPNG.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>FastAPNG (anim8-gdx 0.4.6 API)</title>
<title>FastAPNG (anim8-gdx 0.4.7 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.anim8, class: FastAPNG">
Expand Down
Loading

0 comments on commit 4e8bccf

Please sign in to comment.