Having an issue on raspberry Pi with painting program

so I’ve been trying to get a larger painting program working on the raspberry Pi and I was using a different method in the past (FBO) but at the time that wasn’t working like I wanted it to regarding coloring so I switched to this method using setbackgroundauto

this program works perfectly on my computer (mac 10.14.6)

but seems to not work like I want it to regarding painting onto the screen
so I boiled it down to its simplest form in order to post on here

again when I run this on my computer it works as I would expect a circle gets painted onto the screen when I pressed the mouse left button
and when I press the right button it clears that painting

//--------------------------------------------------------------

**void** ofApp::setup(){

ofSetBackgroundAuto( **false** );

ofBackground(25,100,0);

}

//--------------------------------------------------------------

void ofApp::draw(){
 if (ofGetMousePressed(OF_MOUSE_BUTTON_RIGHT))
     {
         ofBackground(25, 100, 0);
     }
     
     if (ofGetMousePressed(OF_MOUSE_BUTTON_LEFT))
         {
             ofDrawCircle (mouseX,
                           mouseY,
                           35);
         }
      }

when I run this on my RPI instead of drawing onto the screen when I press the mouse button it shows a black background

any help would be greatly appreciated
while the larger drawing program partially works on the Pi getting the painting aspect working is pretty key

ahh looks like there is a github issue open on this currently

and I would assume my best bet is to just use the FBO as mentioned here

well shoot just as I was getting ready to be able to release this thing it looks like I’m going to have to rework it

so I’ve done some replacing in my original script and just uploaded a version onto a RPI and it works! the alpha blending seems to be nicer using this method to for some reason

https://github.com/wednesdayayay/Scrawl here we go I got everything working there is plenty more to do but at least it is ready to be used now

next up is a shape scanning (slit scanning but more fun) standalone for the raspberry pi

and here we are after an additional update I did a live stream yesterday talking about the basics

Scrawl is alive and doing all kinds of fun things
RGBA spotlight
Video painter
shape creation tool

this is for my wife and I’s community theatre that she started just as much as it is for use in video synthesis it has many homes as it does so much.

I’ve got a colorizer app up on my github too but it is very fledgling I need to update with the one from computer it will essentially be a dual channel colorizer with a mixing section.

then I’ve got a variable quadrants mirroring thing that is very fun to mess with (especially with feedback)

I’m also working on a very specific kind of strobe (obviously simple strobing or gating the video can be fun but this will be very different as we are going to be looking at the video itself for information as well as doing some keying and frame difference)

after that is secret but boy oh boy am I excited about it :slight_smile:

so many other people are doing stuff with feedback and that is cool so I’m not really trying to mess around with that stuff

I’m more into processing and shape creation than making color soup (which is a good tool to have but isn’t what I always want)

I’ve been on a bit of a programming break for a couple months but I’m excited to get back into it again