Amiga.org

Amiga computer related discussion => General chat about Amiga topics => Topic started by: blitterobject on February 27, 2011, 11:30:21 PM

Title: Deluxe Paint on a browser
Post by: blitterobject on February 27, 2011, 11:30:21 PM
Not sure if this is the right forum for this, but my Intel 286 of a brain couldn't decide on a suitable one, so mods feel free to move at will...

Anyway, on my Amiga Blog (http://thecommodoreamiga.com/) that I've mentioned elsewhere on here (and thanks again for all the top feedback!) I've just lately posted what began as a few thoughts on Deluxe Paint, and grew into the beginnings of a functional Dpaint clone on the web:

http://thecommodoreamiga.com/?p=57 (http://thecommodoreamiga.com/?p=57)

It's quite basic at the moment- you can select a colour and paint using the continuous line tool, and then clear the screen. It's using the html5 canvas element, some javascript and an html-based interface. So in theory, my intention is to develop it into something useful and functional, at least in the eyes of anyone who (like me) views Deluxe Paint as one of the most useful and functional art packages there ever was.

It seems to work fine for me in Chrome and Firefox, but IE and other non-html5 aware browsers will probably be disappointed...
Title: Re: Deluxe Paint on a browser
Post by: Ral-Clan on February 28, 2011, 12:06:10 AM
That's really cool.  I've always thought if someone could do an EXACT copy of DPaint on Windows it would be a really popular app.  I know there are DPAINT "like" programs, but I'm talking a perfect copy of DPAINT, including animation.

I know about GRAFX2 and the MS-DOS version of DPAINT, but those both don't live up to Amiga DPaint IV or V.
Title: Re: Deluxe Paint on a browser
Post by: Hattig on February 28, 2011, 01:15:06 AM
Good luck with this - and get the zoom right!

It's a shame that Grafx2 has got most of the functions and more that we had with DPaint, but has completely failed as a user interface despite getting inspiration from DPaint. Alas.
Title: Re: Deluxe Paint on a browser
Post by: SamuraiCrow on February 28, 2011, 02:08:57 AM
Quote from: Hattig;618339
It's a shame that Grafx2 has got most of the functions and more that we had with DPaint, but has completely failed as a user interface despite getting inspiration from DPaint. Alas.


I think GrafX2 suffers from being an SDL program.  If you save as IFF, you get 8 bits regardless of the number of palette colors in use.
Title: Re: Deluxe Paint on a browser
Post by: trekiej on February 28, 2011, 05:02:25 AM
I like this a lot.
Title: Re: Deluxe Paint on a browser
Post by: lsmart on February 28, 2011, 05:34:15 AM
It´s a great start. I tried it in Chrome and it worked OK, however the mouse cursor didn´t look right most of the time and wasn´t centered. The speed and feel of the freehand tool is surprisingly good. Keep that code if you can.
If it one day supports zoom, palette modification, lines, boxes, (basic) fill and ellipses you should show it to a broader audience. They will love it.
Oh, and can you load and save to/from local storage?
Title: Re: Deluxe Paint on a browser
Post by: blitterobject on February 28, 2011, 11:13:47 PM
Quote from: lsmart;618367
It´s a great start. I tried it in Chrome and it worked OK, however the mouse cursor didn´t look right most of the time and wasn´t centered. The speed and feel of the freehand tool is surprisingly good. Keep that code if you can.
If it one day supports zoom, palette modification, lines, boxes, (basic) fill and ellipses you should show it to a broader audience. They will love it.
Oh, and can you load and save to/from local storage?


Yeah, I need to iron out some cursor issues, definitely. I've got the right-click background colour selection working, insofar as right-clicking on a colour changes the background colour indicator, and sets the background to that colour when you clear the screen. Should be simple enough to get the right mouse button to draw in the background colour - when I get a minute....

I've found some bucket fill code that I should be able to integrate.

Saving / loading shouldn't be too much hassle to implement either.

I can broadly envisage how I might go about coding a zoom and palette modification, but the details might take me a while...

Anyway, glad you all enjoyed it (so far).
Title: Re: Deluxe Paint on a browser
Post by: Karlos on February 28, 2011, 11:19:44 PM
/me likes

+1
Title: Re: Deluxe Paint on a browser
Post by: bloodline on February 28, 2011, 11:23:14 PM
+1 Keep going!
Title: Re: Deluxe Paint on a browser
Post by: persia on March 01, 2011, 04:43:22 AM
Could be fun on an iPad 2.....
Title: Re: Deluxe Paint on a browser
Post by: DonnyEMU on March 01, 2011, 06:11:40 AM
Works great for me on the Internet Explorer 9 with HTML 5 release candidate. So far the drawing is as snappy as the original DPAINT..
Title: Re: Deluxe Paint on a browser
Post by: blitterobject on March 02, 2011, 09:27:12 PM
Thanks everyone! Please do check back for updates- I don't want to spam forums every time I change a line of code...
Top priorities: bucket fill, cursor improvements, saving/loading.

DonnyEMU- you're the first person I've heard of using IE9- glad to hear it's functioning there!
Title: Re: Deluxe Paint on a browser
Post by: bloodline on March 02, 2011, 10:23:16 PM
Quote from: blitterobject;619077
Thanks everyone! Please do check back for updates- I don't want to spam forums every time I change a line of code...
Top priorities: bucket fill, cursor improvements, saving/loading.


Nah, cool stuff like this is a welcome distraction from the more negative threads. Keep us updated the whole way!
Title: Re: Deluxe Paint on a browser
Post by: zylesea on March 02, 2011, 11:20:08 PM
Quote from: blitterobject;618313
Not sure if this is the right forum for this, but my Intel 286 of a brain couldn't decide on a suitable one, so mods feel free to move at will...

Anyway, on my Amiga Blog (http://thecommodoreamiga.com/) that I've mentioned elsewhere on here (and thanks again for all the top feedback!) I've just lately posted what began as a few thoughts on Deluxe Paint, and grew into the beginnings of a functional Dpaint clone on the web:

http://thecommodoreamiga.com/?p=57 (http://thecommodoreamiga.com/?p=57)

It's quite basic at the moment- you can select a colour and paint using the continuous line tool, and then clear the screen. It's using the html5 canvas element, some javascript and an html-based interface. So in theory, my intention is to develop it into something useful and functional, at least in the eyes of anyone who (like me) views Deluxe Paint as one of the most useful and functional art packages there ever was.

It seems to work fine for me in Chrome and Firefox, but IE and other non-html5 aware browsers will probably be disappointed...


Works nicely on OWB/MorphOS. Good idea, looks pretty promising, but quite some work ahead I guess. Big tumbs up!
Title: Re: Deluxe Paint on a browser
Post by: blitterobject on March 07, 2011, 11:02:22 PM
Thanks again for the positivity- I haven't forgotten about this, just trying to find time in about everything else I have to find the time to do...

Anyway, bucket fill soon, I promise. I've got an algorithm worked out. And I also made a very minor bug fix for Chrome, where the cursor was defaulting to the text cursor whenever you tried to paint.

Anyway, once I make my fortune and don't need to work, and my kids learn to change their own nappies / use the toilet etc, I'll totally work on this full time.
Title: Re: Deluxe Paint on a browser
Post by: PR on February 10, 2018, 04:36:21 PM
Just what was needed.

How did it go?
Title: Re: Deluxe Paint on a browser
Post by: Vlabguy1 on February 10, 2018, 04:46:54 PM
Quote from: blitterobject;618313
Not sure if this is the right forum for this, but my Intel 286 of a brain couldn't decide on a suitable one, so mods feel free to move at will...

Anyway, on my Amiga Blog (http://thecommodoreamiga.com/) that I've mentioned elsewhere on here (and thanks again for all the top feedback!) I've just lately posted what began as a few thoughts on Deluxe Paint, and grew into the beginnings of a functional Dpaint clone on the web:

http://thecommodoreamiga.com/?p=57 (http://thecommodoreamiga.com/?p=57)

It's quite basic at the moment- you can select a colour and paint using the continuous line tool, and then clear the screen. It's using the html5 canvas element, some javascript and an html-based interface. So in theory, my intention is to develop it into something useful and functional, at least in the eyes of anyone who (like me) views Deluxe Paint as one of the most useful and functional art packages there ever was.

It seems to work fine for me in Chrome and Firefox, but IE and other non-html5 aware browsers will probably be disappointed...


Link not working on my end..
Title: Re: Deluxe Paint on a browser
Post by: PR on February 10, 2018, 05:28:59 PM
Same here.

Please don't forget a very good job indeed.