# JavaFX GIF Player Discussion

**URL:** <https://discourse.processing.org/t/javafx-gif-player-discussion/46547>\
**Category:** Processing\
**Created:** [June 14, 2025, 4:43pm UTC](https://discourse.processing.org/t/javafx-gif-player-discussion/46547 "2025-06-14T16:43:35Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [June 16, 2025, 6:05pm UTC](https://discourse.processing.org/t/javafx-gif-player-discussion/46547/16 "2025-06-16T18:05:12Z")

</div>

It’s puzzling useful functions like **sketchPath()**, **sketchFile()**, **dataPath()**, **dataFile()**, **getExtension()**, etc.; aren’t mentioned on Processing’s web reference:

> **[Reference](https://processing.org/reference/)**
>
> Find further documentation of the Processing language

BtW, [listPaths()](https://processing.github.io/processing-javadocs/core/processing/core/PApplet.html#listPaths-java.lang.String-java.lang.String...-) is excellent to get all images, audio, video and other assets from a path.

An example using it:

> [@How do I slowly layer photos to appear on top of eachother?](https://discourse.processing.org/t/how-do-i-slowly-layer-photos-to-appear-on-top-of-eachother/36698/5):
>
> This example loads all images inside subfolder “data/” and assign them to a PImage[] array: framed_picture /\*\* \* Load All Images (v1.0.0) \* GoToLoop (2022/May/04) \* \* https://Discourse.Processing.org/t/ \* how-do-i-slowly-layer-photos-to-appear-on-top-of-eachother/36698/5 \*/ static final String PICS\_EXTS = "extensions=,png,jpg,jpeg,gif,tif,tiff,tga,bmp"; static final float FPS = .25; PImage[] images; void setup() { size(600, 500); frameRate(FPS); imageMode(CENTER); images =…

---

_[View the full topic](https://discourse.processing.org/t/javafx-gif-player-discussion/46547)._
