Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Colour Cycling - An Old School Technique

Author
Message
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Aug 2014 22:24 Edited at: 20th Aug 2014 22:31
Quote: "Seize the Day was a calendar program made by in 1994 by Buena Vista software. It features graphics that at the time, were revolutionary because of the way they handled color cycling. These images were static bitmaps, but by changing color values, they appear animated. What is also impressive about these images is that they had full day night cycles built in, rendered also through color cycling.
A few years ago, a html5 version was made. A copy was uncovered online and there is a way to use the program through DOSbox. As well, one of the original programmers for the project, Iam Gilman, has thought of the idea of remaking it, open sourced, for modern machines."


This popped up on my blog today and I wanted to share it with you all. The HTML5 demo can be played here:
http://www.effectgames.com/demos/canvascycle/

Make sure to play around with the settings on the right. The guy who implemented the HTML5 canvas program mentions that he improved on the technique by linearly blending the cycling colours to produce smoother transitions.

Here are the results of what can be done with colour cycling:



















budokaiman
FPSC Tool Maker
14
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Aug 2014 22:58
These are absolutely beautiful. It's such a simple technique, but the results are great.


"Giraffe is soft, Gorilla is hard." - Phaelax
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 21st Aug 2014 00:36
Yeah those are beautiful. I wonder how much effort goes into making those images though. They are very small in size but still is quite a bit of work for the artist.

budokaiman
FPSC Tool Maker
14
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 21st Aug 2014 01:20
Quote: "Yeah those are beautiful. I wonder how much effort goes into making those images though. They are very small in size but still is quite a bit of work for the artist."

Especially considering how careful they have to be about their colour choices, to make sure nothing gets cycled that they don't want.


"Giraffe is soft, Gorilla is hard." - Phaelax
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 21st Aug 2014 07:03 Edited at: 21st Aug 2014 07:45
I think harbour town at night is my favourite, the colours are lovely and there is a lot of subtle animations: the water, the lights in the houses and the stars.

I think I appreciate this kind of art more because they had to work with such heavy limitations and engineer ways to get more detail and life out of it.
I want these as desktop wallpapers.

Wonderful. Makes me think of these http://www.hongkiat.com/blog/cinemagraph/

Formerly OBese87.
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 21st Aug 2014 10:01
Brings back memories of Neochrome on the AtariST, never had that sort of quality but it wasn't too bad... I'm one of those people who spent a large part of the early 90's staring at colour cycling mandelbrots

I am the one who knocks...
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Aug 2014 17:32
Isn't this how the old Windows start up screen animated?

Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 21st Aug 2014 18:00
Yup - with an fixed palette of 256 colours, you could effectively scroll the palette in the same way as it was done, back in the day I mean - these screens are kinda cheating with the linear colour fades.

I am the one who knocks...
Randomness 128
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 21st Aug 2014 18:48





Quote: "Especially considering how careful they have to be about their colour choices, to make sure nothing gets cycled that they don't want."


Nope. They cycle colours by changing the palette. Any pixel that should be cycled uses a palette entry that gets cycled. A colour could be cycled and not cycled at the same time by putting it in the palette twice.

320x224
budokaiman
FPSC Tool Maker
14
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 21st Aug 2014 23:28
Quote: "Nope. They cycle colours by changing the palette. Any pixel that should be cycled uses a palette entry that gets cycled. A colour could be cycled and not cycled at the same time by putting it in the palette twice."

Ah, makes sense. The reason that I thought otherwise was the distinct snowfall pattern in one of the images.


"Giraffe is soft, Gorilla is hard." - Phaelax
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 22nd Aug 2014 00:42
WOW that is awesome. i wonder if any games used this techniqe. But i can see how it could be hard to do.

Your signature has been erased by a mod
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Aug 2014 18:58
Quote: " i wonder if any games used this techniqe"


The original Sim City used cycling for chimney smoke, fire and a few other effects.

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 27th Aug 2014 20:21
Only just looked at this.

Quote: "These are absolutely beautiful. It's such a simple technique, but the results are great."


Absolutely.

Thanks for sharing these.

Is there a simple way of doing something similar in DBPro?

I vaguely recall doing something similar with Basic on the old Atari XL . I think you just change a pointer to a colour lookup table - but I might be thinking of font tables not palettes.



Powered by Free Banners
budokaiman
FPSC Tool Maker
14
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 28th Aug 2014 02:11
Quote: "Is there a simple way of doing something similar in DBPro?

I vaguely recall doing something similar with Basic on the old Atari XL . I think you just change a pointer to a colour lookup table - but I might be thinking of font tables not palettes."

It would be possible (well, kind of a hack as opposed to real support for it) through shaders and a custom image format, but existing image formats are pretty much just 2D RGB arrays. You'd have to make an image format that referenced an index in a palette table instead of the pixel's colour, then just send over the palette to the pixel shader and set the colours of the image there.


"Giraffe is soft, Gorilla is hard." - Phaelax
Clonkex
Forum Vice President
13
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 28th Aug 2014 05:57
Wow, those are really cool! I've never heard of this technique, but I think I understand how it works, and it's beautiful. The flowing water ones look the best IMO

Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 28th Aug 2014 06:28
Fascinating, and thanks for all the additional info links. love the style and it really makes me want to try some of this out.

Login to post a reply

Server time is: 2024-04-26 22:45:05
Your offset time is: 2024-04-26 22:45:05