MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / average

Function average

libraries/p5.js:6508–6515  ·  view source on GitHub ↗
(vs)

Source from the content-addressed store, hash-verified

6506}
6507
6508function average(vs) {
6509 var sum = 0;
6510 for (var i = 0; i < vs.length; i += 1) {
6511 sum += vs[i];
6512 }
6513
6514 return sum / vs.length;
6515}
6516
6517// Convert the font object to a SFNT data structure.
6518// This structure contains all the necessary tables and metadata to create a binary OTF file.

Callers 1

fontToSfntTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected