Random webcam

Watching anyone go about their day in a nice and comfortable-looking place, inside their nice and comfortable cars, holding nice and comforting coffee travel mugs, is a joy.

There is nothing I like better than watching hundreds of small things go as they should, and seeing someone else complete a basic task without incident.

I'm attempting to make the visuals for an art installation I'm working on, and I'm not quite sure how to go about it in Processing.

Random webcam-17Random webcam-61

They get everything they want, and that's really okay.

We've reached out to the good people who run the Jackson Hole live cams and will update if we hear back.

Here is the basic code: (The above is just copy/paste from other codes, I don't really want it to randomize when pressing the letter "r" but rather after a set time.) So, you can see I'm at a loss here... Simply store the indices of the videos from the first list (of loaded videos) into a second list (the video selection) I would also recommend getting into the habit of grouping a set of instructions that perform a task into a function.

This way the code will be easier to read/follow, use and especially re-use.

So this is a very basic way of randomising videos and it's doing that to all of them at the same time.

This function an be tweaked to handle a single video at a time: import processing.video.*; Capture cam; int maxmy Movies = 8; int my Movies Index = 0; Movie[] my Movies = new Movie[maxmy Movies]; int[] selection = ; void setup() void select Random Videos() void select Random Video() void draw() void key Pressed() void movie Event(Movie my Movies) calls.You've called I'll admit, it's not the most exciting example, but it should prove how simple it is to define and use a function.There are other details like the function return types and arguments, but you can get away getting into these yet.It's a lot of shouting "BUS" or "PERSON," but it has a much lower barrier of entry than Mad Men and you don't have to pretend to care about the lighting.There are many other live streams of Jackson Hole, but none are so popular — presumably because they don't involve human activity and that's what we're all here for!There are a few groups of people who have extra time on their hands this morning: parents who are sending their kids off for the first day of a new school year, summer Olympians who are done with their press tours, and 9 to 5-ers who wisely took today off of work in advance, knowing their Labor Day hangovers would be intolerable.

Tags: , ,