Topic: Gradient Between 4 Vertices of a Square? |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
![]() ![]() ![]() ![]() 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: |
![]() ![]() ![]() ![]() So the gradient would be kind of like this? |
Paranoid (IV) Inmate From: Norway |
![]() ![]() ![]() ![]() |
Obsessive-Compulsive (I) Inmate From: |
![]() ![]() ![]() ![]() Just tried that out. |
Nervous Wreck (II) Inmate From: |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() quote: It's called adaptive sub-sampling |
Nervous Wreck (II) Inmate From: |
![]() ![]() ![]() ![]() |
Paranoid (IV) Inmate From: Norway |
![]() ![]() ![]() ![]() |
Nervous Wreck (II) Inmate From: |
![]() ![]() ![]() ![]() quote:
quote:
quote:
|
Nervous Wreck (II) Inmate From: |
![]() ![]() ![]() ![]() Edit TP: spam removed
|