CodingTrain / CodingTrain/Suggestion-Box

[topic suggestion] Loading assets for heavy p5js sketch

Open
#719 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.