5_object_building_practice
dz / mdn / js / 2_javascript_objects / 5_object_building_practiceSummary
Object building practice
Node Tree
Nodes
canvas_api | |
content | Canvas API |
children | getcontext, arc, beginpath, fill, fillstyle |
getcontext | |
content | getContext() |
children | 2d |
parents | canvas_api |
beginpath | |
content | beginPath() |
parents | canvas_api |
arc | |
content | arc() |
parents | canvas_api |
fillstyle | |
content | fillstyle |
parents | canvas_api |
fill | |
content | fill() |
parents | canvas_api |
2d | |
content | "2d" |
parents | getcontext |
requestAnimationFrame | |
content | requestAnimationFrame(): when repeatedly run and passed the same function name, runs functions set number of times per second for a smooth animation. |