Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff authored May 24, 2024
1 parent c93184c commit 469b2c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ const options = {

You can also set multiple sources for the FastImageSequence class. This can be useful when you want to load images from
different sources, such as a tar file and an image URL. You can set an array of ImageSourceOptions in the src option.
Each ImageSourceOptions object can have its imageURL and tarURL. The FastImageSequence class will try to load images
from the first source in the array. If an image is not available yet, it will try to load it from the next source in the
Each ImageSourceOptions object can have its imageURL and tarURL.

The FastImageSequence class will try to load images from the first source in the array. If an image is not available yet, it will try to load it from the next source in the
array.

```ts
Expand Down Expand Up @@ -106,7 +107,7 @@ sequence.play();

The example above can be useful when you have a large image sequence with high-resolution images or if the user can randomly jump to any frame in the sequence and you want a fast response time.

Note that you can store a subset of the images (all even images, for example) in the tar file. The fast-image-sequence will automatically fall back to the best matching available image when rendering a frame.
Note that you can store a subset of the images (all even images, for example) in the tar file. The FastImageSequence will automatically fall back to the best matching available image when rendering a frame.

### Available options for FastImageSequence

Expand Down

0 comments on commit 469b2c8

Please sign in to comment.