LingDong- / q5xjs

A small and fast alternative (experimental) implementation of p5.js
https://q5xjs.netlify.app/
The Unlicense
544 stars 25 forks source link

Fix loadFont() and callback parameters #28

Open alterebro opened 4 months ago

alterebro commented 4 months ago

loadFont() now loads the font using the FontFace API. Implemented also the callback argument, the function now accepts a second and third parameters (successCallback & failureCallback). This resolves #27

psugihara commented 2 months ago

this is great, thanks for sharing!