jukebox
All repositories: gitoria
844 B
// hl:math — Math utilities for Hybriel// JS transpiler target: wraps built-in Math objectexport const PI = Math.PI;export const E = Math.E;export const INF = Infinity;export function abs(x) { return Math.abs(x); }export function floor(x) { return Math.floor(x); }export function ceil(x) { return Math.ceil(x); }export function round(x) { return Math.round(x); }export function sqrt(x) { return Math.sqrt(x); }export function pow(base, exp) { return Math.pow(base, exp); }export function min(...args) { return Math.min(...args); }export function max(...args) { return Math.max(...args); }export function random() { return Math.random(); }export function log(x) { return Math.log(x); }export function sin(x) { return Math.sin(x); }export function cos(x) { return Math.cos(x); }export function tan(x) { return Math.tan(x); }
Branches
Latest commits
- d8e8d059jb19 step 2: media-player from components.hybriel c96709c (skip, repeat options; the end of a song only calls onPlay), sync-components.sh and SOURCE point to it, jb11 counts media loads and metadata writes (from jb21 d3a026e)mre
- 7b048c1bRecords: jb19 done, L2 live stepmre
- 665185aeMission 009: jb19 livemre
- 47b2d3beRecords: P1 resumedmre
- 8e326e94Records: resetKey blockedmre
- f72dd7edRecords: icons comingmre
- b264e5deRecords: P1 icons stopmre
- 514d7cbeRecords: mission 008 startedmre
- 61c40127Mission 008: #19 + #21mre
- 6dcaeb46Records: resetKey planmre
- c5dbf2ecRecords: R2 resultmre
- 956069b8Records: R1 result, mission 007mre
- 3c8a2e12Mission 007: #20 sort scrollmre
- deb8cef5Records: mission 006 startedmre
- 4f0ad42fMission 006: jukebox#20mre
- 800cae06Records: #21 planmre
- 64bc7823Records: #21 causemre
- 76639655Records: B1 questionmre
- d7906b36Records: mission 005 startedmre
- d3df773cMission 005: doc linemre