CodingTrain / CodingTrain/Suggestion-Box
[topic suggestion] Loading assets for heavy p5js sketch
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 570
- Forks
- 85
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
As a current trend on web development, time to first paint and time to interaction argues to be the most important thing when it comes to user first hit on your website (53% of users will abandon a site if it takes longer than 3 seconds to load! And once loaded, users expect them to be fast—no janky scrolling or slow-to-respond interfaces).
Well, I am suggesting to develop or "code challenge it" a way to maybe display a light animation, while downloading content (images, videos, fonts, sounds, other sketchs, etc) prior to main sketch's execution. It would be very helpful for some of us trying to deploy heavy sketches (more than 1 MB of data).
There are a lot of technologies to "professionally" address this, but I'm looking for the P5JS's way.
Cheers
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Kläre zunächst, ob es sich um ein Thema oder eine Code-Aufgabe handelt und welche Asset-Typen sowie welches Ladeverhalten im Umfang enthalten sind; als abgeschlossen würde ein abgestimmter p5.js-Ansatz gelten, der eine leichte Animation anzeigt, bevor der Haupt-Sketch ausgeführt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- performance, web-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100