3 ms·
So the writing is really ornate but one thing that stood out to me > 1px wide gradient edge wtf is a 1 pixel gradient?
by ambicapter 7y ago
So the writing is really ornate but one thing that stood out to me
> 1px wide gradient edge
wtf is a 1 pixel gradient?
- Arnavion 7y agoI assume the gradient would be along the dimension that isn't 1px, ie the line length.
- mistrial9 7y ago1 pixel gradient is an old games/graphics trick.. Define an array of pixels, but only one "row".. match the length of the array to the dimension desired, then use the graphics primitives in the window to stretch and fill.. (here, a picture is worth a thousand words) think of a To-Be-Defined rectangular area, and a gradient that is mapped to either the x or Y dimension, and "stretched" across to make the rectangular fill.