netBrush Screenshot netBrush is a simple network based paint program.

This means it allows multiple people to draw on the same canvas at the same time. The feature set of netBrush includes a variable sized canvas and paintbrush and airbrush tools, changing brush size, hardness, color, opacity, etc. is also possible. You can also record and play back events send to the server as well as manipulate them, for example to scale up an image.

netBrush is based on SDL and doesn't use any external widget libraries, so it should be reasonably portable. In addition to the base SDL library netBrush also uses scons, SDL_net and SDL_image.

License: free
Requirements: SDL, SDL_image, SDL_net, libpng, scons

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesyesnoyesyesyes
Suggest an update

Comments

I like the idea! I thought of a program a bit like that once, but this time somebody ACTUALLY made it!
metoo posted by anonymous on Nov 24 2006 8:32 AM
I like the idea too it's interseting to play!
This is great. It would be really fun to modify this to do those web based guess the word games. I have yet to find one that works in Linux.
Finally! Someone thought of a good community paint program. If this is ported over to Windows then I can use it with people I know.
Re: Great idea posted by James Gregory on Oct 30 2006 5:06 PM
re: Windows porting:

brushmask.cpp, point.hpp
#ifndef M_PI
#define M_PI 3.14159265359
#endif

alpha_picker.hpp, client_state.hpp, drawing_context.hpp
class Color; -> struct Color;

SDL_tty.h
#ifndef __GNUC__
# define __attribute__(x) /*NOTHING*/
#endif

server.cpp, client_connection.cpp
#include ctime

client_connection.cpp
while (access(fname.c_str(), F_OK) == 0) -> access and F_OK are not standard C, a standard way to check for the existence of a file is something like:
bool does_file_exist(const string& filename) {
ifstream test(filename.c_str(), ifstream::in);
test.close();

if(test.fail())
return false;
else
return true;
}

brushmask.cpp
rint isn't standard, I guess you'd have to write your own rounding function

SDL_tty.c
vsnprintf isn't standard

SDL_tty.c
can't work this out right now:
SDL_tty.c(128) : error C2143: syntax error : missing ';' before 'type'
SDL_tty.c(129) : error C2065: 'str' : undeclared identifier

controller.cpp
in Controller::update_mouse_cursor() some dodgy stuff with declaring y both inside and outside of for loops creates lots of warnings

also libpng is an unmentioned dependency
Re: Great idea posted by anonymous on Oct 30 2006 7:22 PM
Oh, so it is on Windows. I'd build it myself, but I don't have access to a capable Windows machine.
Re: Great idea posted by anonymous on Oct 31 2006 6:55 PM
Argh. Compiling is a mess. Can someone more competent than I make and host a binary? Linux or Windows.
Re: Great idea posted by grumbel on Nov 1 2006 7:28 AM
You can find a Windows Version here (icons don't show up, but beside from that it seems to be working):

http://pingus.seul.org/~grumbel/tmp/netbrush-2006-11-01-1.zip

On Linux just type 'scons' and be done with it, pretty much every distro out there has all the required libraries.

I'm glad that someone finally started to implement a free network drawing program. My suggestion would be to implement pressure sensitivity, layers and sophisticated brushes soon to attract more professional users. I'm thinking of openCanvas 1 here, which had some rather nice features.
i just compiled it for AmigaOS 4.0, it rules!!! http://www.os4depot.net/share/graphics/misc/netbrush.lha
On next update add this:

http://developer.berlios.de/projects/flexlay/

as homepage

Log in or register to rate this game or post a comment.