• Log in or sign up for an account here: https://www.sythe.org/login

Colour Finding Algorithm

Michael3455

Active Member
Joined
Sep 11, 2005
Sythe Gold
0
Messages
134
Does anyone have a nice, reasonably efficient, algorithm for finding a colour on the screen? I wouldn't mind trying my hand at some simple bots. Just for a giggle.
 
From what I saw on that sight, it doesn't offer a Java binding for it. However the 'fly' stuff looks pretty cool, but annoying and would make things run slower.

I'll check around on google to see for some more stuff of course.
 
Its been a while since I've used java, but Im pretty sure the Robot class can get a pixel's color. Why dont you just iterate through where ever you're scanning, retrive pixel color, and act from there?
 
Runescape Gamblingrunescape gambling
Back
Top