I am trying to make some particles bounce off or stop at the edges of an SVG vector. I tried using the geomerative library to get all the points on the vector shape, but I'm not sure how to return them as an array of x,y coordinates. Anyway, that was one way I approached the problem, and I'm not sure where I would go from there to have the particles stop at the perimeter of the shape. Any suggestions?
This is what I have to display the shape and print the points:
Hi,
Does anyone know of a very simple bare-bones tutorial or snippet of code for creating a button? I'm not looking for it to have any sort of functionality just yet; I just started learning processing a couple days ago and was surprised at how overly-complicated the example code was for something like this. Any help would be appreciated.