Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Everyone, 

I'm really new to processing and need some help. I hope my description will be explanatory enough.

I have a set of 2000 jpgs apx. and what I need to do is to create the illusion of the 2k as if they’re moving past the viewers face and out of the screen ( a little bit like star-field impression, but instead of stars pictures )
I want them to be fanning out from the center, and as they disappear out new pictures appear from the center. from smaller to bigger ( when the pic is further away it should be small and once it moves closer to the viewer it gets bigger to give the illusion of 3 dimensionality while controlling the speed with the mouse).

It sounds like a lot. But I would appreciate some help.

Thank you.

What I have tried:

I haven't tried anything much but I found this youtube video that explains how to create the star-field effect. However I couldn't manage to integrate the idea of array of images.

Coding Challenge #1: Starfield in Processing - YouTube[^]
Posted
Updated 13-Dec-21 22:22pm

1 solution

To move images in a Window you just need to use a timer and every time it interrupts you should redraw the image at a new position to give the effect of movement. To produce the effects of zooming an image you need to use controls that allow you to shrink or grow the displayed image as appropriate. See The Java™ Tutorials[^] for examples of using the GUI features of Java.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900