Quantcast
Channel: beginners - openFrameworks
Browsing all 4929 articles
Browse latest View live

Simple Example for a Newbie ? (Firmata)

@mfny wrote: Does anyone have or can make me a very simple example(commented ideally) of using Ardunio (in this case a Leonardo) and Firmata and oF to display the value of a potentiometer on screen ?...

View Article


Image may be NSFW.
Clik here to view.

"A Javascript error occurred in the browser process" when trying to open...

@mai wrote: Hi, I’m getting the error “A Javascript error occurred in the browser process” when trying to open project generator. After I click the project generator icon, this error come out, so I...

View Article


[macOS] How openFrameworks-Info.plist file work?

@cuinjune wrote: Hi, I’m using OF as a dynamic library(.dylib) in a host application using dlopen. I just realized that when I run OF as a dynamic library, the openFrameworks-Info.plist file seem to...

View Article

oFGetScreenMode() not working

@nicourense98 wrote: Hello, I’m trying to determine whether OF_FULLSCREEN is being used or OF_WINDOW in my program. The function oFGetScreenMode() should return a 0 when OF_WINDOW is being used and it...

View Article

Reading frames from fbo to deque

@da_re wrote: Hi everyone, I try to create a slit scan effect, but instead of reading a video file I want to use an fbo. I try to store the frames in a deque, to have access to older frames later. I...

View Article


Feedback: Saving video frames for delayed playback

@niklasM wrote: Hi, I want to have two playbacks of the same video file where the only difference is the current playback position. One should play the latest frame, the other on should lag behind...

View Article

Sudden memory leak?

@no_u wrote: I’m developing a project that only uses three objects. I started mysteriously getting massive memory leaks and CPU usage. I changed all the pointer objects to shared pointers in case it...

View Article

CorrectInitialOFPath triggering error in Qt Creator

@Antonio_Castles wrote: Hello. I am trying to import a project that I generated with the project generator with multiple addons but when I try to configure the project Qt Creator tells me "Unexpected...

View Article


Blackmagic Capture Card Ubuntu

@Antonio_Castles wrote: Hello. I am trying to capture from a Blackmagic Decklink Mini Monitor 4k in Ubuntu under Qt Creator. I found the addons ofxBlackmagicGrabber and ofxDeckLink but the first one...

View Article


Generate a sine wave

@molo32 wrote: how to generate a sine wave in a buffer and then reproduce the wave from the buffer Posts: 1 Participants: 1 Read full topic

View Article

Command + F , how to handle it

@dimitre wrote: Until 0.9.8 this piece of code would work if (key == 'f') { if (ofGetKeyPressed(OF_KEY_COMMAND)) { ofToggleFullscreen(); } } but now in 0.10.0 it doesn’t fire event. I’ve tried to use...

View Article

How to change UI attributes (like background color) of ofParameter?

@lethalrush wrote: When I create an ofxPanel and add an ofParamter<int>, how can I change the appearance of that slider - the way I can with ofxIntSlider? For example setBackgroundColor,...

View Article

Pass ofParameter as an argument

@CCx266 wrote: Hello, I have an ofParameter<glm::vec2> corners[4]; and I want to create a function that can accept it like : myMatrix = myFunction(corners.get()); template <class T> static...

View Article


Clicking on ofxIntSlider (or others) causes click in background too

@lethalrush wrote: Sometimes, clicking and dragging on a slider (such as ofxIntSlider) in an ofxPanel (in ofxGui) causes the click to ALSO occur on the background - i.e. the main oF window. How can I...

View Article

Receive input from Arduino Uno

@nicourense98 wrote: Currently my Arduino’s built-in LED will light up when I press an external button, but how can I use this on an openFrameworks program? In other words, how could my oF program...

View Article


How to get if file creation date?

@lkkd wrote: I need to get the date of creation of a file How can i get it? Posts: 3 Participants: 2 Read full topic

View Article

Does OF not work with C++17?

@cuinjune wrote: Hi, I just tried to compile OF using C++17 and it failed. Using C++14 worked fine. Is it simply not compatible with C++17 yet? Posts: 1 Participants: 1 Read full topic

View Article


Detect different buttons from Arduino

@nicourense98 wrote: I recently just figured out how to send/receive button presses from my Arduino to my oF program, but what do I do if I connect multiple buttons and want to do different commands...

View Article

Difference between ofXml and ofXmlSettings?

@lethalrush wrote: What’s the difference? Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Detecting mouse hover over the circle

@hkk wrote: I need to detect is my mouse pointer above the circle that I drew. But for now I need an insane precision to do that. Is there any way to get my circle area and detect the collide event,...

View Article
Browsing all 4929 articles
Browse latest View live