Deviation Actions

Richarmeleon's avatar

Color scale

Published:
By
0 Comments
2K Views
So I was messing around with a program I wrote a while back and generated a new image based on this equation.

0xFF000000 + ((int)(((float)x / (float)w) * 255.0) << 16) + (int)(((float)y / (float)h) * 255.0) + ((x + y) % 2 == 0 ? 0 : ((int)(((float)x / (float)w) * 255.0) + (int)(((float)y / (float)h) * 255.0)) / 2 << 8)

This is designed to be a wallpaper.
Image details
Image size
1600x900px 693.02 KB
© 2010 - 2022 Richarmeleon
Comments0
Join the community to add your comment. Already a deviant? Log In