The four lines could be two @16:50 [62..65] if ((b->x+b->r>=WIDTH) || (b->x=b->rvx*=-1; //check velocity horizontal bounds if ((b->y+b->r>=HEIGHT) || (b->y=b->rvy*=-1; //check velocity vertical bounds Why did you choose that way? Maybe for legibility, just curious
Can you show me how to do similar animation with cairo and GTK+3 together with buttons and GUI? I'm very interested in this. Since I heard that X11 is being replaced with wayland.
Thanks for the answer! I think this is not an error, but X11's reaction to breaking the connection with the program window. I'm not a cool programmer like you, can this be fixed in the code?
Hey, sorry to bother you again, but I am completely stuck. I'm unable to get cairo to draw anything on my xlib surface. Here's the program: github.com/instantOS/instantWM/commit/e072b0e9efc81ddcc9ae4f404d212d7f678b8783 Been at it for hours and it either crashes or does nothing. (Don't mind the crappy execution, this should just paint the screen white as a test). Documentation on xlib is awful. Would be awesome if you could help me figure out what the problem is.
Awesome tutorial. Thanks!
Tip: the music competes with your voice making it harder to focus. Consider not putting music or making it way quieter.
The four lines could be two @16:50 [62..65]
if ((b->x+b->r>=WIDTH) || (b->x=b->rvx*=-1; //check velocity horizontal bounds
if ((b->y+b->r>=HEIGHT) || (b->y=b->rvy*=-1; //check velocity vertical bounds
Why did you choose that way? Maybe for legibility, just curious
Can you show me how to do similar animation with cairo and GTK+3 together with buttons and GUI? I'm very interested in this. Since I heard that X11 is being replaced with wayland.
@@alexlugo5967 Thank you very much! I'll be waiting.
@@alexlugo5967 i'll be waiting too !
well... that's a pretty good baslls! like btw.
I’m try to include QT library
Do you have any idea 💡
Thanks for the answer! I think this is not an error, but X11's reaction to breaking the connection with the program window. I'm not a cool programmer like you, can this be fixed in the code?
@@alexlugo5967Linux Mint 19.3 Cinnamon.
7:22 naughty
Could you put the program on your github?
@@alexlugo5967 Thanks!
Hey, sorry to bother you again, but I am completely stuck. I'm unable to get cairo to draw anything on my xlib surface. Here's the program: github.com/instantOS/instantWM/commit/e072b0e9efc81ddcc9ae4f404d212d7f678b8783 Been at it for hours and it either crashes or does nothing. (Don't mind the crappy execution, this should just paint the screen white as a test). Documentation on xlib is awful. Would be awesome if you could help me figure out what the problem is.
Great video and huge help, but I can't get over the fact that you omit the spaces between operators 🤣
5000ms is 5s