Topic: Gradient Between 4 Vertices of a Square? |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 04-02-2009 18:16
Using Canvas, I wanted to render a square, with a different color for each vertex of the square. Across the body of the square, the colors should be smoothly interpolated between each vertex. |
Nervous Wreck (II) Inmate From: |
posted 04-02-2009 20:58
So the gradient would be kind of like this? |
Paranoid (IV) Inmate From: Norway |
posted 04-02-2009 23:04 |
Obsessive-Compulsive (I) Inmate From: |
posted 04-03-2009 01:59
Just tried that out. |
Nervous Wreck (II) Inmate From: |
posted 04-03-2009 14:48
Thanks for the suggestions, guys. I especially love the concept of using a 2x2 canvas... unfortunately, web browsers tend to scale it up poorly, making it not come out looking decent at all. |
Paranoid (IV) Inmate From: Norway |
posted 04-03-2009 16:32
quote: It's called adaptive sub-sampling |
Nervous Wreck (II) Inmate From: |
posted 04-03-2009 20:42 |
Paranoid (IV) Inmate From: Norway |
posted 04-05-2009 14:37 |
Nervous Wreck (II) Inmate From: |
posted 04-06-2009 19:38
quote:
quote:
quote:
|
Nervous Wreck (II) Inmate From: |
posted 05-31-2011 11:08
Edit TP: spam removed
|