Pointillism Meets Pixelation: Using the Java 2D API to Animate Art | Linux Today

Pointillism Meets Pixelation: Using the Java 2D API to Animate Art

Written By
Web Webster
Web Webster
Nov 25, 2008

[ Thanks to An Anonymous Reader for
this link. ]

“This article explains how to write a custom Java 2D
image-processing class by implementing the BufferedImageOp
interface. It uses a 2D cellular automaton (CA) — cyclic
space — in constructing the image-processing application. The
CA “operates” on an image (for example, a JPEG file), causing the
image to transform in interesting ways over time. I hope the
article will open your eyes to the possibility of writing a whole
new class of image-processing applications.

“2D cellular automata

“2D cellular automata are composed of cells in a 2D grid
commonly called the universe. Each cell has a state, which you can
think of as an integer between 0 and n. Listing 1 shows how to
declare a cellular automaton universe in Java code:”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.