Print Page | Close Window

Pixel art program, Features such ISO circles

Printed From: Pixel Joint
Category: The Lounge
Forum Name: Diversions
Forum Discription: Get to know your fellow pixel freaks. Chat about anything to do with video games, comic books, anime, movies, television, books, music, sports or any other off topic bs you can think of.
URL: https://pixeljoint.com/forum/forum_posts.asp?TID=4479
Printed Date: 13 September 2025 at 1:06pm


Topic: Pixel art program, Features such ISO circles
Posted By: Pixel_Outlaw
Subject: Pixel art program, Features such ISO circles
Date Posted: 21 June 2007 at 9:41am
 
 
Hello from your friendly Neighborhood Outlaw.
 
For some time I've been giving formulae that go unused because of the computations involved. I plan to change this with the release of a sister program to the paint program of your choice. This is not a paint program but will give you answers to complex problems.
 
Planned Features
 
Color
-Normalize a palette-Adjust the saturation and value of your palette while keeping the hue value. This can help with people who are new to choosing good colors.
-Find the product of 2 colors-Take two colors and blend them a given amount.
-Define Shading Gradient- Creates a color palette that fades from one color into another. This is not "pillow shading" it creates a smooth color PALETTE. I plan to do a liner fade for now but could use logarithms later.
 
Shape
-ISO circles-yes
-Smooth Curve through point set-Creates a smooth curve through x number of points. May adjust width of pipe.
-Point Circle- Defines a circle of points, useful for MANY things. Things like making perfect stars and polygons and also orbiting animations.
-Define Vector-Creates a reference point at a given distance and angle from a base point.
-Draw Ngon- Draws a perfect polygon
-Create grid-Useful for making tiles ISO and ortho
-ISO extrude-Extrude a shape from a base in iso.
-Plot midpoint- Find the midpoint of a line, uses a 4 point cluster if the distance is odd
-Perfect circle-Draws a pixel perfect circle
 
 
 
Again this is not a paint program. You drag your file onto the window and it opens it for editing. Please ask for computational features.
 
 



Replies:
Posted By: PixelSnader
Date Posted: 21 June 2007 at 10:45am

no harm intended, but doesn't this kind of stand in the way of pixel purity?



-------------

▄▄█     ▄▄█
▄█▄     ▄█▄



Posted By: Mykola
Date Posted: 21 June 2007 at 12:20pm
I don't see why it'd stand in the way of pixel purity.
 
it's clearly a set of tools to help you with the mundane routines, not something that'll do the work for you.
 
maybe somebody likes drawing iso grids by hand each time - I don't.


Posted By: Pixel_Outlaw
Date Posted: 21 June 2007 at 1:56pm
I understand what you mean, I have done all these algorithms by hand a time or two. This is no more breaking rules than say using a flood fill instead of picking the pixels one by one. Would you like a shape filled in milliseconds or 3 minutes worth of work? Is the copy command bad when it saves 10 minutes of redrawing? This is not inteded to replace the act of drawing just streamline the mundane tasks.
 
Right now I need feature ideas, people can use this program of the can choose not to. The end result will be identical to one done with a series of high level calculations. Let us focus the rest of the thread on features people would like.


Posted By: AdrianJensen
Date Posted: 21 June 2007 at 5:37pm
I can see why some would see this as cheating, but I dont.
But then again, I also dont see a problem with using gradent fills, because they can easily be done by hand, but would take a long time(much like color fills)

Anyhow, the Point Circle is what caught my attention, that would be VERY usefull, I think.

-------------
My gallery lives here:
http://www.pixeljoint.com/p/8355.htm?pg=1&sec=icons


Posted By: Metaru
Date Posted: 22 June 2007 at 3:19pm
i have ze question, is this supposed to be a plug-in? or is indeed a program itself?(don't know the exact term in english... standalone?)
 
 
and second, does this program allow you to work with more than one palette, or it generates a palette in other uses(.pal for example) wich can be used in other paint programs(such GG or PS, etc.)


-------------
I ate leel's babies


Posted By: Pixel_Outlaw
Date Posted: 22 June 2007 at 3:38pm
Originally posted by Metaru

i have ze question, is this supposed to be a plug-in? or is indeed a program itself?(don't know the exact term in english... standalone?)
 
No this will be an independant calculation tool.
 
Originally posted by Metaru

and second, does this program allow you to work with more than one palette, or it generates a palette in other uses(.pal for example) wich can be used in other paint programs(such GG or PS, etc.)
 
If I find the palette writing and reading system for other programs I could make this export and import them for further modification.


Posted By: ZeroFive1
Date Posted: 22 June 2007 at 4:12pm
This seems pretty niffty. By gradient you mean it creates a pallete of x colors from one color to another, right?


Posted By: dragonrc
Date Posted: 22 June 2007 at 4:21pm
Isn't a gradient a palette of 1 color with only the brightness changing?


Posted By: Pixel_Outlaw
Date Posted: 22 June 2007 at 4:32pm

A gradiation is a series of smooth transitions or steps from one thing to the next over a set number of iterations.

In this case it takes R1,G1,B1 and goes to R2,G2,B2 in "x" many steps. It has little to do with light. If you wanted to know what the color 30% between color A and color B was you could find it. This is useful for homemade transparencies for non photoshop users.


Posted By: Pixel_Outlaw
Date Posted: 22 June 2007 at 10:51pm
I've been trucking away all night to work on some features.
 
Imagine you want to make a convincing low color coastline that plunges gradually into the sea. Well you could use two base colors one for the deepest water and one for the dry land. Now you will have a smooth graduation of colors to show the plunging coastline... (No I'm not saying pillowshade) You would use a organic and nice coastline.
 
an example pic...(I chose bad colors but you get the idea, your water would be darker and land lighter)
 
http://imageshack.us">


Posted By: Dra_chan
Date Posted: 22 June 2007 at 11:49pm
I think this could be useful for many things, since it doesnt just generate small variations of colors, and it gives control over the palette. Good job and good luck!


Posted By: ZeroFive1
Date Posted: 23 June 2007 at 10:09am
That'd be quite useful.

=D


Posted By: eckered
Date Posted: 28 June 2007 at 3:18pm
does it generate AA colors?


Posted By: Monkey 'o Doom
Date Posted: 28 June 2007 at 3:26pm
Not to be rude, but it's pretty obvious that you could use it for that based on the screenshot and discussion so far.

-------------
http://pixelmonkey.ensellitis.com">
RPG is numberwang.


Posted By: Christopher
Date Posted: 28 June 2007 at 9:11pm

If you could add a feature that makes it where you can turn on a W.I.P setting where it takes a picture every certain amount of clicks, and makes a work in progress animation out of it? Frankie was talking about it sometime.



-------------


Posted By: Pixel_Outlaw
Date Posted: 29 June 2007 at 10:48pm
After a brief head explosion I give you iso circles... 
 
There are some imperfections, I do plan to work it out. =)
http://imageshack.us">
Shot at 2007-06-29
Function draw_oval(centerx#,centery#,width#,height#,rot#,n#)
	' draw the shape with a for loop
	
	
	Local angle#=360.0/n
	Local r1#=width/2.0
	Local r2#=height/2.0

	For Local i#=0 To n-1
	
		Local x1#=centerx+Cos(i*angle)*r1
		Local y1#=centery+Sin(i*angle)*r2
		Local x2#=centerx+Cos((i+1)*angle)*r1
		Local y2#=centery+Sin((i+1)*angle)*r2
		' get new data
		Local d1#=point_distance(centerx,centery,x1,y1)
		Local a1#=point_direction(centerx,centery,x1,y1)
		Local fx#=centerx+Cos(a1+rot)*d1
		Local fy#=centery+Sin(a1+rot)*d1
		
		Local d2#=point_distance(centerx,centery,x2,y2)
		Local a2#=point_direction(centerx,centery,x2,y2)
		Local fx2#=centerx+Cos(a2+rot)*d2
		Local fy2#=centery+Sin(a2+rot)*d2
	
		DrawLine(fx,fy,fx2,fy2)
		
	Next
End Function


Posted By: Pixel_Outlaw
Date Posted: 30 June 2007 at 4:42pm
Please test the Gradient tool.
http://f.exoload.com/607/tool.zip - http://f.exoload.com/607/tool.zip http://f.exoload.com/607/gradient_tool.zip -


Posted By: Monkey 'o Doom
Date Posted: 30 June 2007 at 6:14pm
It seems to work very well. But 11 colors isn't really abusive, is it?
 
I commend your ability to continue work on this. No, seriously, it would drive me insane. I speak for posterity when I say blank lines are good for you when they separate functional regions of code. ;P


-------------
http://pixelmonkey.ensellitis.com">
RPG is numberwang.


Posted By: eckered
Date Posted: 30 June 2007 at 8:05pm
'YOU, sir, are abusing color count! Learn to dither or something!'
 
LOL!
 


Posted By: Pixel_Outlaw
Date Posted: 30 June 2007 at 8:07pm
My program will allow for some excessive things. It will however, administer a sound hand slapping to proceed with nonsense.


Posted By: ceddo
Date Posted: 01 July 2007 at 2:11am
Sounds cool! It would also be nice if the gradient feature would work with more than two colors as well. Blue->Green->Yellow! :D


Posted By: Pixel_Outlaw
Date Posted: 01 July 2007 at 9:28pm
Originally posted by ceddo

Sounds cool! It would also be nice if the gradient feature would work with more than two colors as well. Blue->Green->Yellow! :D
This can be done.
This is a workaround for now,but I'll consider multiple hues.
 
Window 1
Blue<---->Green
 
Window 2
Green<---->Yellow.
 
EDIT here is a pic
 


Posted By: Christopher
Date Posted: 03 July 2007 at 9:32am
Originally posted by Christopher

If you could add a feature that makes it where you can turn on a W.I.P setting where it takes a picture every certain amount of clicks, and makes a work in progress animation out of it? Frankie was talking about it sometime.


Bah, Humbug.


-------------


Posted By: Platnium
Date Posted: 04 July 2007 at 12:54pm
Iso circle looks good.


Posted By: Pixel_Outlaw
Date Posted: 04 July 2007 at 9:48pm
Originally posted by Platnium

Iso circle looks good.
 
Thanks I'm still working on pixel perfect algorithems for it....


Posted By: Hapiel
Date Posted: 05 July 2007 at 1:08am
Originally posted by eckered

'YOU, sir, are abusing color count! Learn to dither or something!'
 


I think the message is useless.. its a bit annoying, and if I am going to use this program, I would allways do 50 colors, so I can choose better....
offcourse I wont use them all, and dither, but  I can make better choises out of more... And why is there a scroll bar? you dont need it even if you use 50 colors...
And for MSpaint, you cant use the RGB codes..
EDIT: Oh I just figured  out you can, but it still would be usefull... and you can also input a RGB code into your program but that button still would be easyer as well
 So you have to make a screenshot, paste in paint etc... Maybe its an idea that you can Copy the color, witch means that if you paste you get 1 pixel of that color.. just like when you copy an image but then you just get 1 pixel... click on your color, and there comes a button 'copy', and when you pres cntr + v in paint 1 pixel of that color appears....
Oh and maybe its an idea, to add another button, like start from that color.. I mean, that if you have 5 colors... 1 is red, 5 is blue

1 2 3 4 5
and you want to have 5 colors between 3 and 5, you just click color 3, press a button, and the sheme changes into 5 new colors.... from purple to blue..

But exept for those idea's, the program works great here! Maybe 2 mb is a bit large but it works :)


-------------


Posted By: Hapiel
Date Posted: 08 July 2007 at 6:42am
I wanted to try it on another computer, but the link doesnt work any more.. If you want I can host it temporary...

-------------


Posted By: Metaru
Date Posted: 09 July 2007 at 2:04am
that is exactly what i was to say. is there any way that sedgemonkey can host it here?
So you have to make a screenshot, paste in paint etc... Maybe its an idea that you can Copy the color, witch means that if you paste you get 1 pixel of that color.. just like when you copy an image but then you just get 1 pixel... click on your color, and there comes a button 'copy', and when you pres cntr + v in paint 1 pixel of that color appears....

>Copy to Clipboard as RGB value (to paste as a text in a note pad for example)
>Copy to Clipboard as Image (this could have the option "selected" and "all", generating a 1px image of the selected colors to paste in the desired img editor)*

*and a bag of french fries please. mine without salt if possible.


-------------
I ate leel's babies


Posted By: Hapiel
Date Posted: 09 July 2007 at 7:13am
Originally posted by Metaru


*and a bag of french fries please. mine without salt if possible.

one for me too plz!


-------------


Posted By: Pixel_Outlaw
Date Posted: 20 July 2007 at 4:28pm
http://imageshack.us">
Working on the front end now...
 You will be able to save your palette for later use too!
Lets compare the default palette to the default palette in Paint...
 
http://imageshack.us">


-------------
http://www.shmup-dev.com/forum/">


Posted By: dragonrc
Date Posted: 21 July 2007 at 1:39am
Much better than the annoying paint palette. But it needs a black, a white and 2 or 3 types of grey to make it perfect.


Posted By: Clxki
Date Posted: 22 July 2007 at 10:07am
They should scrap paint and put this in every Window's instead, cuz this is definitely better. I agree with the above post, too. I cbb to make shades of gray.


Posted By: Pixel_Outlaw
Date Posted: 22 July 2007 at 2:56pm
I have added the gray shades now. Nothing much to show.
 
Paint has a reason for it's palette these colors are base colors for the 16 color palette. Well some of them anyways.


-------------
http://www.shmup-dev.com/forum/">



Print Page | Close Window