- Notifications
You must be signed in to change notification settings - Fork0
AlliesChen/etch-a-sketch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Live preview:https://allieschen.github.io/etch-a-sketch/
This is a practice in the odin project:the requirement for this function
You can color the grids plate when having your mouse over a grid. The color gets darken by each step you made, and will be full black in 10 steps after.
The initial plate has 16*16 grids. Using the reset button on the left top corner, you can clear the color and make a new x*x grids plate. The range for the 'x' is 1 to 100 without digits after decimal.
Without the information from the kind people, I would never know how to complete it.
筆記JavaScript用Math.random取得某區間內的隨機亂數 by 神Q超人 on IT邦幫忙
Find the min/max element of an array in JavaScript - Alternative Methods by Lior Elrom on Stackoverflow
Using JavaScript to Adjust Saturation and Brightness of RGB Colors by Hugh Haworth on CSS-Tricks