I'm trying to retrieve an image from the internet without explicitly knowing its URL. For instance, an image off of a webpage like
http://apod.nasa.gov/apod/astropix.html where the image changes daily. I think XMLEelement is the direction I should be heading but the reference example is confusing to me and I haven't been able to find a tutorial that meets my needs. Any help or direction to a relevant tutorial would be greatly appreciated!
I'm making a drawing program where you can change the color/alpha of a line that you want to draw using the mouse coordinates. The problem I'm having is that when drawing a transparent line it leaves darker dots along the path of the line.
So my questions are these: is there a way to get rid of the dots? Would PGraphics help? Also, while using PGraphics (or p3d?) I noticed that drawing a line produces something of a square line. Or for example, instead of a round point the point is in the shape of a square. Is it possible to get a rounded point or line?
I'm new to the processing community and new to programming (total noob) in general. In this sketch I am trying to make a super basic color picker/drawing program. My main problem is that I cannot figure out how to make a default color that can then be altered. For instance, when my sketch is started, you have to choose from the two color bars in order to get a color that is then used for the drawing. I would like to make it so when you open the sketch it starts with a color and then I can select from the bars when I want to change the color. I'm sure this isn't very efficient code, but I'm not really worried about that right now. Thanks in advance for any help!