I'm trying to create a timeline without using a library, where the timeline is a scrollbar. The position of the scrollbar gives which image to show. Here is what I've got so far:
I have a small creature and I would like to make many versions of it (array). Their pupils follow the mouse. I would like to add a move function, like a jiggle, but not break the pupil function (pupil following the mouse). What I've got so far:
I'm new to Processing, so this is kind of a beginners level question:
I have a json file with lat/long decimaldegrees (ex. 153.134689, 26.848083 ) of the contour of Australia. I want to use this data to draw a contour of Australia in Processing. Just because I'm new to Processing I want to keep this as simple as possible, and so I wrote manually all the coordinates into Processing and used beginShape endShape. Why isn't this working? Is it just the ordering of the points that are off? Anybody got an idea?
Here is how my file should look like (in Shape Viewer, I converted the file from .shp to .json) compared to how it looks like in Processing:
Here is the code (with a LOT of coordinates, each "nummer x" is a new polygon in my json file):