Shop OBEX P1 Docs P2 Docs Learn Events
Using colors with Graphics.spin and TV.spin? — Parallax Forums

Using colors with Graphics.spin and TV.spin?

sourcedriversourcedriver Posts: 1
edited 2008-02-02 02:31 in Propeller 1
Hi, I'm a propeller newbie primarily interested in generating TV signals.
I am able to run the Graphics_Demo and I have begun modifying that code a bit to understand what is happening.

So far I find the drawing graphics primitives to be pretty intuitive but I can't for the life of me understand how to change colors.
I have read whatever I could find in both TV.spin and Graphics.spin but I just don't get it.

I would really appreciate it if anyone is willing to give me a more detailed explanation of the following points:

1. how each color long is composed
2. Why and how they are stored in the _colors array
3. What values I should pass to the gr.color() command to change colors before drawing

Thanks!

Comments

Sign In or Register to comment.