marcoshmendes / final-lap

Control your car by coding over a virtual ECU (McLaren) framework and make the best lap your algorithm can do
MIT License
0 stars 0 forks source link

Create a function to capture the color in hexadecimal of selected x,y canvas coord #5

Open marcoshmendes opened 2 years ago

marcoshmendes commented 2 years ago

Create a function to capture the color in hexadecimal of selected x,y cavas coord

This function takes two parameters:

function getCoordHexColor(xAxis, yAxis) { }

This may return an hex color as string

OBS. Create a branch from existing road-draw branch https://github.com/marcoshmendes/final-lap/tree/road-draw

Doc Reference https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas#a_color_picker

marcoshmendes commented 2 years ago

@Pe-Ferreira can i count on you for this?

Pe-Ferreira commented 2 years ago

Sure, captain! image

marcoshmendes commented 2 years ago

@Pe-Ferreira i can't see PR sir!