# Beginner needs help creating an interactive work with his students

**URL:** <https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260>\
**Category:** Teaching\
**Tags:** homework\
**Created:** [October 1, 2025, 10:30am UTC](https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260 "2025-10-01T10:30:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucaschaill](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Lucaschaill](https://discourse.processing.org/u/Lucaschaill)\
**Post date:** [October 1, 2025, 10:30am UTC](https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260/1 "2025-10-01T10:30:30Z")

</div>

Hi there,

I need help. I’m a teacher and I’m just starting out. Would it be possible to share some code with me to create an interactive “work.” Specifically, I want a random image from a folder to appear when you click on the background, with a random size and location.  
Could you help me? Does anyone have similar code?

Thank you !

---

<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:** [October 1, 2025, 11:03am UTC](https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260/2 "2025-10-01T11:03:36Z")

</div>

> [@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 =…

---

<div class="post-metadata">

**Author:** ![Lucaschaill](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Lucaschaill](https://discourse.processing.org/u/Lucaschaill)\
**Post date:** [October 1, 2025, 12:26pm UTC](https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260/3 "2025-10-01T12:26:13Z")

</div>

```auto
It works, thx!

And do you know how to make the images randomly distributed within the space? And make the images different sizes?

Thank you very much!

```

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 1, 2025, 9:53pm UTC](https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260/4 "2025-10-01T21:53:10Z")

</div>

Hello @Lucaschaill,

> [@Lucaschaill](#):
>
> `And do you know how to make the images randomly distributed within the space? And make the images different sizes?`

There are lots of resources here:

> **[Welcome to Processing!](https://processing.org/)**
>
> Processing is a flexible software sketchbook and a language for learning how to code. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology…

The guidelines here will help with your programming adventure:

> [@Welcome to the Processing Foundation Discourse](https://discourse.processing.org/t/welcome-to-the-processing-foundation-discourse/8):
>
> This is a place to discuss [Processing](https://processing.org/), [p5.js](https://p5js.org/), [Processing for Android](http://android.processing.org/), Processing for Pi, [Processing.py](http://py.processing.org/) and related software initiatives. It’s a place to talk about general ideas and specific projects. You can learn more about the [Processing Foundation](https://processingfoundation.org/) on its website. Our goal is to promote software literacy within the visual arts, and visual literacy within technology-related fields — and to make these fields accessible to diverse communities. Our goal is to empower people of all interests and …

`:)`

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 3, 2025, 6:04pm UTC](https://discourse.processing.org/t/beginner-needs-help-creating-an-interactive-work-with-his-students/47260/5 "2025-10-03T18:04:06Z")

</div>

Hi @Lucaschaill,

I’m really interested in learning more about your approach to teaching interactive work to students. Specifically, I’d love to understand what kind of pedagogy you employ in your classes and who your target audience is (e.g., beginners, intermediate students, etc.).

Could you share more about how you structure your lessons and what kinds of learning experiences you prioritize?

I teach a very broad audience myself, from young children to seniors, so I often have to adapt my methods for each group. I’m always curious to hear how others approach similar challenges.

Looking forward to hearing more about your work.

`:)`
