Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user jobj ! (Registered 2024-12-25) You are not logged in - nap
CSDb User Forums


Forums > C64 Pixeling > Pixelite HTML5/JS pixel editor
2018-07-14 20:00
jailbird

Registered: Dec 2001
Posts: 1578
Pixelite HTML5/JS pixel editor

Still struggling to find an okay pixel editor for Linux, so I decided to create one on my own.

Here's a preview of what have I done in 5-6 hours. It's full of shit, but the basics are working. At least on Chrome.

https://pixelite.idevele.com/

I am quite rusty in JS/frontend (basically I rely on jQuery to get stuff done), so if anyone feels like helping me out, here's the repo:

https://github.com/csisztaiarnold/pixelite
2018-07-14 22:33
Isildur

Registered: Sep 2006
Posts: 275
Probably you never heard about VicEditor in C64Debugger. It runs on win/max/linux. It's layout and keyboard shortcuts are mix of P1 and Photoshop (for example [/] zoom in/out brush size).
New version (unreleased yet) has feature to load reference image as layer.
For the first time it might look a bit complicated, but if you'll read readme.txt everything will be fine.
Biggest disadvantage of Viceditor is to run in maximized window due to opengl layers used by Slajerek.

BTW your online editor looks pretty good, thanks for it :)
2018-07-15 02:39
Compyx

Registered: Jan 2005
Posts: 631
Am I supposed to be able to actually pixel stuff. Or is it just dragging around pictures?
2018-07-15 03:25
jailbird

Registered: Dec 2001
Posts: 1578
Quote: Am I supposed to be able to actually pixel stuff. Or is it just dragging around pictures?

Perhaps you have seen a very early version? Make sure to clear your cache, and to use Chrome (haven't tested it at all in other browsers). You could definitely create actual pictures with it, and now even the hires limitation apply.

https://youtu.be/i-zkSLopdb4
2018-07-15 11:52
QuasaR

Registered: Dec 2001
Posts: 145
Looks very promising! Would like to see free configurable keys to change the actual colour.
2018-07-15 13:26
Seven

Registered: Jan 2002
Posts: 202
Unfortunately doesn't work one bit in most recent Firefox.

Also, right click into image (in attempt to save) actually also sets pixel, so if you're not careful you're messing up the image in an attempt to save it.
2018-07-15 14:08
Isildur

Registered: Sep 2006
Posts: 275
On Opera and Vivaldi Pixelite is working great here.
2018-07-15 15:53
jailbird

Registered: Dec 2001
Posts: 1578
Quoting Seven
Unfortunately doesn't work one bit in most recent Firefox.
Yep, aware of that :/ Once I finish all the major functions, I'll start to optimize it for other browsers.

Quoting Seven
Also, right click into image (in attempt to save) actually also sets pixel, so if you're not careful you're messing up the image in an attempt to save it.
Context menu is disabled now, instead you have a secondary color à la any other pixel editor (it will open the image in a new tab). The image could be saved by clicking on the floppy icon in the Settings/Informations window.

Updated the online version. Don't forget to empty your cache or hard reset before checking it out :)

Quoting Isildur
On Opera and Vivaldi Pixelite is working great here.
Thanks Isildur! May I ask on which OS? I've had a bit of trouble with the beforeunload event on Linux (Debian Stretch). Which actually worked fine on Windows.
2018-07-15 16:18
FATFrost
Account closed

Registered: Sep 2003
Posts: 211
Great editor Jailbird! I can’t wait to see more features.

Ps did you ever check out slixed by digger?

http://c64.blog2t.net/slixed/

That has hires support and multicolour, can import png gfx and save them, have block copy and pattern dithering brush modes. Also I use it for my two screen pic editing.

/FF
2018-07-15 16:33
Isildur

Registered: Sep 2006
Posts: 275
Wow another good pixeling tool released today:

https://dschwen.github.io/hires/
https://github.com/dschwen/hires
2018-07-15 17:08
jailbird

Registered: Dec 2001
Posts: 1578
Quote: Wow another good pixeling tool released today:

https://dschwen.github.io/hires/
https://github.com/dschwen/hires


Haha, no offence, great stuff, but a bit of a resource hog by eating about 1 gigs or RAM and stalling my machine's CPU at 96.5% :D

2018-07-15 17:11
chatGPZ

Registered: Dec 2001
Posts: 11386
isnt that why you make it a browser app in the first place? to make it as slow and use as much cpu as possible? =)
2018-07-15 18:01
Isildur

Registered: Sep 2006
Posts: 275
@Jailbird that editor isn't mine :D
Written by some german guy Daniel Schwen.
BTW 0-2%CPU and 275MB ram taken by Opera with 13 tabs active on win10, so that must be Linux ;)
2018-07-15 22:50
jailbird

Registered: Dec 2001
Posts: 1578
Quoting Groepaz
isnt that why you make it a browser app in the first place? to make it as slow and use as much cpu as possible? =)
Interestingly enough, especially as I'm quite clueless about JavaScript, I still manage to keep the memory consuming around 50-60MB and the CPU load quite low, about the equivalent of a more or less static site... I was afraid that the undo feature will eat up the memory, but nah, it's fine, even after about one hundred of saved states (which will be limited to 50 anyway), its increased "only" ~10MB.

Anyhow. Undo feature (ctrl+z) is added now and the shite is quite stable on Chrome, so I'd say its safe to use it for actual pixelling.
2018-07-16 09:53
jailbird

Registered: Dec 2001
Posts: 1578
Quote: Great editor Jailbird! I can’t wait to see more features.

Ps did you ever check out slixed by digger?

http://c64.blog2t.net/slixed/

That has hires support and multicolour, can import png gfx and save them, have block copy and pattern dithering brush modes. Also I use it for my two screen pic editing.

/FF


Hah, I was never aware of Digger's editor, looks interesting.

I am also planning image import, block copy, and custom canvas dimensions, so stay tuned ;)
2018-07-16 15:11
ccr

Registered: May 2002
Posts: 26
Heh. Seems that everyone is doing something similar. I recently spent some time porting Dr. TerrorZ's Multipaint Metal Edition to Javascript via frankensteined ProcessingJS+JS. The current result can be found at https://tnsp.org/~ccr/mp/
2018-07-17 07:14
Dr. TerrorZ

Registered: Oct 2013
Posts: 17
Quote: Heh. Seems that everyone is doing something similar. I recently spent some time porting Dr. TerrorZ's Multipaint Metal Edition to Javascript via frankensteined ProcessingJS+JS. The current result can be found at https://tnsp.org/~ccr/mp/

Wow ccr, I didn't know that. Nice work, it might help those who hate Java.

I'm also first to say Multipaint is not an all-round "editor", it's more of a paint program for making single screens in the standard modes.
2018-07-17 08:41
jailbird

Registered: Dec 2001
Posts: 1578
@ccr, @Dr. TerrorZ: Lovely work from both of you! Multipaint is the pixelling tool which came the most close to my needs.

What I miss from it is a 1:1 preview window when I am in zoom mode, different zoom levels, inverting the ditherbrush (ie. "raster" in MP), a pipette, and a support for larger canvases. Any chance for adding these features in a later version?
2018-07-17 09:47
Dr. TerrorZ

Registered: Oct 2013
Posts: 17
Multipaint has a pipette, press comma "," key or middle mouse button while hovering over the area. It doesn't have a corresponding icon as it is not a separate tool.

A preview window is coming to the next version, but at least at first it won't be a true floating window. It will still help in the magnify mode.

Inverting the dither, I think I could add that also. I guess I could also change my terminology as "rasters" are so clearly a different thing. :)

There are 2 zoom levels (key "m" and "M"). I know a seamless zoom would be more modern but it never occurred to me as I don't personally like that so much, and probably won't be adding it in near future.

Large canvases might be doable, but the program was never really meant for that. I've been improving the messy code slowly towards enabling that among other things, but it won't be coming anytime soon.
2018-07-17 11:57
ccr

Registered: May 2002
Posts: 26
Quote: Wow ccr, I didn't know that. Nice work, it might help those who hate Java.

I'm also first to say Multipaint is not an all-round "editor", it's more of a paint program for making single screens in the standard modes.


I was about to e-mail you about this one of these days, but then this topic came up here. :)
2018-07-18 21:31
jailbird

Registered: Dec 2001
Posts: 1578
Quoting Seven
Unfortunately doesn't work one bit in most recent Firefox.
Fixed. For some reason, FF can't zoom canvases with the zoom css property, god knows why. Everything else seems to work just fine.
2018-07-19 14:29
subjik

Registered: Dec 2001
Posts: 5
Nice work Jailbird, will keep following this!

Also great news ccr, I've been using Dr. TerrorZ's Multipaint and while I don't (severely) hate Java I haven't been able to get the button graphics working anymore on MacOS even with the tips provided. Hence, browser version is very welcome :)
2018-09-08 02:11
ccr

Registered: May 2002
Posts: 26
As it may be of some interest to some people, I thought to inform ye all that my browser/Javascript port of Multipaint is now (mostly) at feature-parity with the latest Multipaint 2018 release from Dr. TerrorZ. I've also implemented the things (PNG/JPEG/etc export and import) that were previously missing from my port.

The demo can be found from https://tnsp.org/~ccr/mp/ as stated previously in this thread. Naturally you can also run it completely locally in your browser by cloning the Mercurial repo.
2018-11-19 13:04
raphis
Account closed

Registered: Jul 2018
Posts: 2
Wow, Multipaint in webbrowser is all I need!!!
Is it possible to add load/save file as png, just like in stand alone version?
2018-11-19 14:25
ccr

Registered: May 2002
Posts: 26
If you had read the notes thoroughly, you'd have noticed that PNG/JPEG import already exists, as does PNG export. (Keys 'e' and 'ctrl+e' respectively. There is no clickable icon for these, unfortunately.)
2018-11-19 15:53
raphis
Account closed

Registered: Jul 2018
Posts: 2
My fault, I didn't read it :p
Now I can use MP in Linux with no issues, that's a huge improvement!
Thank you so much!!!!
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Six/G★P
sachy/BOOM!
Sychamis
Psycho Stick/Napalm,..
algorithm
Andy/AEG
hedning/G★P
JEZ
Magic/Nah-Kolor
Guests online: 118
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 X-Mas Demo 2024  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.074 sec.