Welcome, Guest. Please login or register.

Author Topic: Deluxe Paint on a browser  (Read 7663 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline blitterobjectTopic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 11
    • Show only replies by blitterobject
    • http://thecommodoreamiga.com
Deluxe Paint on a browser
« 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 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

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...
Everything was better on the Commodore Amiga...
 

Offline Ral-Clan

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: Deluxe Paint on a browser
« Reply #1 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.
« Last Edit: February 28, 2011, 02:30:05 AM by ral-clan »
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline Hattig

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 901
    • Show only replies by Hattig
Re: Deluxe Paint on a browser
« Reply #2 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.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Deluxe Paint on a browser
« Reply #3 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.
 

Offline trekiej

Re: Deluxe Paint on a browser
« Reply #4 on: February 28, 2011, 05:02:25 AM »
I like this a lot.
Amiga 2000 Forever :)
Welcome to the Planar System.
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: Deluxe Paint on a browser
« Reply #5 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?
 

Offline blitterobjectTopic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 11
    • Show only replies by blitterobject
    • http://thecommodoreamiga.com
Re: Deluxe Paint on a browser
« Reply #6 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).
Everything was better on the Commodore Amiga...
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Deluxe Paint on a browser
« Reply #7 on: February 28, 2011, 11:19:44 PM »
/me likes

+1
int p; // A
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Deluxe Paint on a browser
« Reply #8 on: February 28, 2011, 11:23:14 PM »
+1 Keep going!

Offline persia

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 3753
    • Show only replies by persia
Re: Deluxe Paint on a browser
« Reply #9 on: March 01, 2011, 04:43:22 AM »
Could be fun on an iPad 2.....
[SIGPIC][/SIGPIC]

What we\'re witnessing is the sad, lonely crowing of that last, doomed cock.
 

Offline DonnyEMU

  • Hero Member
  • *****
  • Join Date: Sep 2002
  • Posts: 650
    • Show only replies by DonnyEMU
    • http://blog.donburnett.com
Re: Deluxe Paint on a browser
« Reply #10 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..
======================================
Don Burnett Developer
http://blog.donburnett.com
don@donburnett.com
======================================
 

Offline blitterobjectTopic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 11
    • Show only replies by blitterobject
    • http://thecommodoreamiga.com
Re: Deluxe Paint on a browser
« Reply #11 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!
Everything was better on the Commodore Amiga...
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Deluxe Paint on a browser
« Reply #12 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!

Offline zylesea

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 638
    • Show only replies by zylesea
    • http://www.via-altera.de
Re: Deluxe Paint on a browser
« Reply #13 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 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

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!

Offline blitterobjectTopic starter

  • Newbie
  • *
  • Join Date: Feb 2011
  • Posts: 11
    • Show only replies by blitterobject
    • http://thecommodoreamiga.com
Re: Deluxe Paint on a browser
« Reply #14 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.
Everything was better on the Commodore Amiga...