Stained Glass Effect (using VB6 and GIMP) | Linux Today

Stained Glass Effect (using VB6 and GIMP)

Written By
Web Webster
Web Webster
Jun 24, 2010

“I wanted to title this article “a novel method for matrix
randomization using polygons and custom differential
post-processing blending”… but that was a bit long, even for
me.

“Why such a complex title?

“It all started with a strange idea I had today. I was thinking
of common ways to randomize image data (don’t ask why), and it
struck me that the most common randomization method – varying
RGB data of single pixels – is not the most interesting way
to go about it. Why not use lines, triangles, or other polygons to
randomize an image? How would that look?

“To test my theory, I wrote a quick program that selects two
random pixels in an image, averages their colors, then draws a line
of that averaged color between the two points. When repeated over
and over again, such an algorithm leads to some interesting
effects…”

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.