You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official Rita.js "Random Rhymes" example currently throws an error (using Rita 3.1.1), TypeError: tmp.join is not a function. This is because the sketch is using the async version of rhymes().
For a quick and perfectly satisfactory fix, change rhymes() to rhymesSync() in line 29. The sketch performs flawlessly thereafter.
Might be a good opportunity to update p5.js to version 1.9.1+ in the index.html, while you're at it.
The text was updated successfully, but these errors were encountered:
The official Rita.js "Random Rhymes" example currently throws an error (using Rita 3.1.1),
TypeError: tmp.join is not a function
. This is because the sketch is using the async version ofrhymes()
.For a quick and perfectly satisfactory fix, change
rhymes()
torhymesSync()
in line 29. The sketch performs flawlessly thereafter.Might be a good opportunity to update p5.js to version 1.9.1+ in the index.html, while you're at it.
The text was updated successfully, but these errors were encountered: