Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hplsla!tomb From: tomb@hplsla.HP.COM (Tom Bruhns) Newsgroups: comp.sys.amiga.graphics Subject: Re: "4096 in a row" again... Message-ID: <18310002@hplsla.HP.COM> Date: 28 Mar 91 19:39:41 GMT References: Organization: HP Lake Stevens, WA Lines: 15 swildner@channelz.gun.de (Sascha Wildner) writes: >000,001,002,003...00F,01F,01E,01D...010,020,021,022...0F2,0F1,0F0,1F0,1F1,1F2, >1F3,1F4,1F5,1F6...1FF,1EF... > >Quite simple, eh? Don't know if that's what many people who answered called >"grey code", but that's exactly what I was looking for. Thanks to all who >answered, anyway (I am working on my ability to describe things in english, >lads!). No, that's not Gray code. Gray code would also have worked, but given different results: only one color would change going from pixel n to pixel n+1, but with gray code, it wouldn't step through the sequence of each color in a monotonic order as your result does.