Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
vertigo5
vertigo5's Profile
2
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Why does putting code in a for loop make it faster?
[4 Replies]
02-Aug-2013 10:44 AM
Forum:
General Discussion
I have the feeling I am failing to understand something very basic here, but here goes anyway:
I noticed while working on a few sketches, that when the code works very slow,
cranking the
frameRate
up doesn't make it faster after a certain point.
But if I place the whole code inside
draw
and place it in a
for
loop with, say, a hundred repetitions,
it runs *drastically* faster.
I am trying to understand exactly why that happens but I can't quite get it.
I am guessing the
for
loop acts as some kind of buffer?
Thanks,
Vertigo5.
Recording video from webcam and using it as a Movie object
[0 Replies]
14-Jun-2013 10:57 AM
Forum:
Core Library Questions
I have researched the forums and didn't find a decisive solution for this problem:
I want to record a few videos (each 5 seconds long or so) from a webcam,
at the beginning of the sketch,
and then later use these videos multiple times in later parts of the sketch.
Is there an efficient way to do that in realtime?
Thanks,
vertigo5.
«Prev
Next »
Moderate user : vertigo5
Forum