mirror of
https://github.com/icewind1991/purpledot.git
synced 2026-06-03 17:44:11 +02:00
bit looser purple
This commit is contained in:
parent
15d51c65c1
commit
e0f3e2cc4d
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ fn find_purple_dot(pixel: Pixels<Rgba<u8>>, width: usize) -> Option<(usize, usiz
|
|||
let y = i / width;
|
||||
let x = i % width;
|
||||
|
||||
if pixel[0] > 215 && pixel[1] < 10 && pixel[2] > 215 {
|
||||
if pixel[0] > 215 && pixel[1] < 40 && pixel[2] > 215 {
|
||||
center_x += x;
|
||||
center_y += y;
|
||||
count += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue