Quantcast
Browsing all 40524 articles
Browse latest View live

Nature Of Code: converted to OF here

Definitely I will check this for my students!! Thanks a lot. Great contribution to the OF community. I used to cover the Processing Nature of Code from Daniel Shiffman in my classes

View Article


Help with drawing multicam to the screen

Hi, I need help once again. I am currently working with 2 Point Grey Grasshopper 3 cameras (4 soon). The system works perfectly with one, but once I plug both in the fps drops to 0. I am assuming the...

View Article


Nature Of Code: converted to OF here

@superartificial thanks!Also inspired by the Nature of Code by Shiffman, there is this course https://github.com/bschorr/OFAnimation_Spring2015

View Article

Making a value increase then decreases

I am trying to make a variable increase from 0 to 255 and then back to 0 then back to 255 and so on. This is the code I have so far and it does not work. If I comment out either of the if statements...

View Article

Making a value increase then decreases

hello, yes this is because both conditions are true at the same time ! i.e. if x = 3 then x IS superior to 0 AND inferior to 255 so x = x + 1 - 1 at each frame

View Article


Nature Of Code: converted to OF here

Hope it's useful! Some of it might be a bit rough and ready at this stage, I'm hoping to get time to come back to it at some point and tidy up and comment the code a bit, and maybe write a few...

View Article

Nature Of Code: converted to OF here

thanks, hadn't come across that & it looks really good!

View Article

Nature Of Code: converted to OF here

Hi there! You may consider opening a github repository. It's easier to share and people could build it up.

View Article


Making a value increase then decreases

Yes I had realized that... But what piece am I missing to make it switch directions and not just cancel each other out?

View Article


Making a value increase then decreases

You probably need a separate boolean variable to indicate which direction you are going ... just from an int you can't tell whether you should be adding or subtracting. Or you could use sine on frame...

View Article

Making a value increase then decreases

you could invert increment like : int i = 1; if(x < 0 || x > 255) { i = i * -1; } x = x + i;

View Article

Making a value increase then decreases

wont this just make it go to 255 then go to 254 where it will increase again to 255 then flip and go to 254 again? also as a side note. What is the reason for { i = i * -1;} Isnt { i = -1;} The same...

View Article

Making a value increase then decreases

Can you elaborate on this? do you have any sample code?

View Article


Making a value increase then decreases

you can simplify a bit by replacing : x = x + (1 * i); by x = x + i; just think about it step by step. i = i * -1; is executed each time x < 0 or x > 255 if i = 1 then i switches to i = -1 and...

View Article

Add-ons including files from myApps/someApp

I would move this question to the android section, including the original error message.

View Article


Making a value increase then decreases

Here is some sample code to do this "palindrome" effect. github.com SAIC-ATS/ARTTECH-3135/blob/master/Week_0/PalindromeBrightness/sketch/PalindromeBrightness.sketch // Sequence // Repetition //...

View Article

ofArduino doesn't get any data from serial (firmata)

Same problems on Windows 8 with standart example. EInitialized never fired with ofArduino.Firmata tester works great. Same code and same Arduino on OSX also work great.

View Article


ofxFlowTools: optical flow, fluid dynamics and particles in GLSL

if remove #define USE_PROGRAMMABLE_GL in flowToolsApp.h it runs in OpenGL 2.fluidSimulation.getDensity() returns the density texture, a.k.a the color texture. Note this is a float texture (GL_RGBA32F)...

View Article

Macam ps3eye Mountain Lion

I only have three cameras right now, but just ordered about 200 for a project (you can buy bulk boxes of 36 online for anywhere between $40 and $90) ... so I'll get some first hand experience with...

View Article

Add-ons including files from myApps/someApp

@edapx thanks -- I just tried the androidEmptyExample with a similar test case, and there was no issue including app files from an add-on. My project is running off the same base, so likely some...

View Article
Browsing all 40524 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>