Welcome, Guest. Please login or register.

Author Topic: Programers help. Rainbow colors  (Read 1981 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Programers help. Rainbow colors
« on: May 23, 2008, 06:43:28 PM »
Quote

pkillo wrote:
no problem at all...

I'm curious, can anyone identify the language in use here? it looks to me like a variant of basic but I've never seen the particular syntax before. (I'm starting a master's program in cs this fall, to do a thesis in programming language design, so I'm always interested to see different language implementations.)


I'd put money on it being STOS.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Programers help. Rainbow colors
« Reply #1 on: May 24, 2008, 01:09:14 AM »
Why not just build a LUT in a spreadsheet program?

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Programers help. Rainbow colors
« Reply #2 on: May 24, 2008, 09:31:26 AM »
Quote

pkillo wrote:
sure, I don't know why I didn't think of that... you just need the color values in order, right? pm me your email and I'll send you an excel spreadsheet with the values.


I always develop algorithms using a spreadsheet... Each cell then contains a snapshot of each iteration... It becomes easy to see where an error has occured and if need be, one can graph the results, which can make it easy to spot an error!