Buckets:
| import {sqrt} from "../math.js"; | |
| const tan30 = sqrt(1 / 3); | |
| const tan30_2 = tan30 * 2; | |
| export default { | |
| draw(context, size) { | |
| const y = sqrt(size / tan30_2); | |
| const x = y * tan30; | |
| context.moveTo(0, -y); | |
| context.lineTo(x, 0); | |
| context.lineTo(0, y); | |
| context.lineTo(-x, 0); | |
| context.closePath(); | |
| } | |
| }; | |
Xet Storage Details
- Size:
- 329 Bytes
- Xet hash:
- d4bdbf55d495a7632b3bdfb50eda5511734254e23519aeaf523dcb6e1c0960b7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.