BETTER COLOR3 - Enhanced colour manipulation module

oh wow, these are awesome! These would work great with EditableImage and CanvasDraw projects. Very cool!

Thought I’d make a poll on what you guys think of the module

How are the functions in the module?

if you think the module lacks functions, please tell me which functions they are so that I can add them!

  • The module has all neccesary functions that I need
  • The module lacks some functions but most are included
  • The module lacks has too many insignificant functions
  • The module lacks a few minor functions

0 voters

Have you used the module?

  • I use the module for my projects currently
  • I don’t use the module, but have tested it
  • I don’t use the module, but I may when i need to
  • I never used the module and don’t intend to

0 voters

Are the metamethods assigned approperitely?

  • The metamethods make sence for their uses
  • Some metamethods are a bit confusing but most are OK
  • I have no opinion

0 voters

I guess this would be for the lazy ones (kinda like me), but perhaps a function to return RGB values, rather their intensity (0 - 255).

Nevermind, disregard this. I was not using the module properly.

perhaps demonstrations of its usage! like a custom shader or something

RGBA update

color3 objects now carry an A (alpha) value, representing transparency. 255 means fully visible and 0 means fully transparent.

Bytepack conversions now convert into this new format:

New functions:

color3:fromRGBA()
Takes in R, G, B and A values and turns them into a color3 object

color3:AlphaComposite()
Takes a tuple of color3 objects, and combines them using their transparency.

Renamed functions:

color3:fromNoise() → color3:fromPerlinNoise()

All bitwise functions were renamed to:
:bitAND, :bitXNOR, :bitOR, :bitNAND, :bitXOR

FIxed bytepack conversion issues and added:

color3object:RROT()
color3object:LROT()
color3object:RSHIFT()
color3object:LSHIFT()

These are based off the bit32 library