Hi guys been a while.
Anyways i have an object with a random fill color.
local square = display.newRect(40,40,40,40) square:setFillColor(math.random(),math.random(),math.random())
Then I have this other object:
local rectangle = display.newRect(80,80,40,40) --rectangle:setFillColor(?,?,?)
I want the fill color of this object to contrast with the first object.
In other words, I want the fillcolor to be complimentary to the other color.
I do have this one method, but its inefficient and too much code.
Do you guys have any suggestions of what code i should do.
Is there any Plugin for this or any contributed code some where?
