Control your car by coding over a virtual ECU (McLaren) framework and make the best lap your algorithm can do
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
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