Pastel: A command-line tool to generate, analyze, convert and manipulate colors
1–10 of 30 posts
Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#2Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#3Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#4I was looking for a quick way to convert RGB 0-255 to RGB float 0.0-1.0 (often used in shaders and other areas of 3D programming) just the other day. This tool doesn't currently seem to support that, would be a nice addition.
Edit: I guess that, even as simple as it would be to implement, it still is another useful output format
Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#5I was just looking for something that could print hex color codes to the terminal the other day. The best solution I found was some hacky perl script which was hit-or-miss with certain colors, for some odd reason. Much appreciated.
Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#6I was looking for a quick way to convert RGB 0-255 to RGB float 0.0-1.0 (often used in shaders and other areas of 3D programming) just the other day. This tool doesn't currently seem to support that, would be a nice addition.
Is it not sufficient to floating-point divide the input values by 255 ? Edit: I guess that, even as simple as it would be to implement, it still is another useful output format
Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#7I was looking for a quick way to convert RGB 0-255 to RGB float 0.0-1.0 (often used in shaders and other areas of 3D programming) just the other day. This tool doesn't currently seem to support that, would be a nice addition.
Is it not sufficient to floating-point divide the input values by 255 ? Edit: I guess that, even as simple as it would be to implement, it still is another useful output format
Re: Pastel: A command-line tool to generate, analyze, convert and manipulate colors
#8Earlier quoted context omitted.
Is it not sufficient to floating-point divide the input values by 255 ? Edit: I guess that, even as simple as it would be to implement, it still is another useful output format
Simple to implement yeah, hard for me to do in my head hence the need for a tool :-)