Jump to content

Reptillian

Members
  • Posts

    1,239
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Reptillian

  1. My mouth was literally drooling from looking at these. Looks delicious.
  2. Deleted earlier post. I have made a pull request. Also, for the skewing, I thought off a better idea than adding into coordinate. - Formatting fixes, new filter 'Spiral Distort' #233 As you can see from the pull request, my idea was to use multiply and exponential to stimulate @Xhin Skew features. { rot_x(a,b)=a*cos(ang)-b*sin(ang); rot_y(a,b)=a*sin(ang)+b*cos(ang); } XX=(x/w+offx)*sx*$13; YY=(y/h+offy)*sy*$14; xx=(rot_x(XX,YY)*(skew_m^(rot_x(XX,YY)*skew_x)))*2; yy=(rot_y(XX,YY)*(skew_m^(rot_y(XX,YY)*skew_y)))*2; XX defines the range of coordinate. sx and sy are scaling to the left side base on image ratio. $13 and $14 are basically multiplier for x-axis and y-axis. rot_x and rot_y function are used to rotate the result. Assuming a square image and scale of axis are 1, XX and YY would be [-.5,.5] range. xx and yy converts them into -1,1, but however the right side before the *2 is used to skew the axis. In G'MIC any number including itself is 1 when skew_ is 0. Otherwise, depending on the number, the ranges can shrink from one side, and the ranges are expanded on the other side. skew_m is multiplier. The default would be 2, but you can skew using 4 or 8 instead or any number greater than 0.
  3. Unless they're open-sourced, you don't. If they're not open-sourced, then you need to get permission to reverse engineer those plugins, and then make your changes. Plus, you need a lot of programming knowledge. GUI programming is actually the hardest part of making plugins. The rest is more understanding mathematics, and applying data types, along with using void function. For loop is the basis for many plugins here.
  4. I went to the first page, and about the earlier comment. Now I can see the pixel stretch. I didn't see anything other than the link to the stock image if I don't look at the first page. I love the pixel stretch series.
  5. @Xhin I actually found a solution after thinking on how to do what you did. It's quite a tricky solution seeing as I don't use polar coordinates. The 4 and 5 are done by i(#image_number,x,y,z,c,interpolation,boundary) and 5 can be done via the i command and/or gmic resize command. It is 2 that's different. f " xx=(x/w-.5); yy=(y/h-.5); new_x=x-.125*xx*x; new_y=y-.25*yy*(h-y); i(new_x,new_y); " If skew_y is negative, then I just insert (h-y), otherwise. It's just y. Thank you.
  6. I don't agree with this, but what if there was a checkmark to enable the option? Not worth it if I'm the only one that wants it, but this is one thing we'll have to wait on opinions about.
  7. I liked the Self Spiral plugin made by @Xhin. So, I attempted to make my own with no success on adding skewing though. If you're reading this @Xhin, how did you add skewing? I'm looking for a way to add skewing based on -1,1 coordinate range. x and y are basically coordinate of pixels while w and h are based on dimension of image. r2dx 200%,3 #Resize Image using linear interpolation. Used for subpixel processing# f "begin( sd=max(w,h)/min(w,h); #Find whether width or height is the great dimension size# sx=w>h?sd:1; #Variable to rescale coordinate# sy=w>h?1:sd; #Variable to rescale coordinate# ang=pi*(0/180); #Define Function Angle# slx=5; #Scale x-coordinate# sly=5; #Scale y-coordinate# skew_x=5; #Attempting to add skewing# skew_y=1; #Attempting to add skewing# rot_x(a,b)=a*cos(ang)-b*sin(ang); #Rotate Function# rot_y(a,b)=a*sin(ang)+b*cos(ang); #Rotate Function# ); XX=(x/w-.5)*2*sx*slx; #Define x coordinate# YY=(y/h-.5)*2*sy*sly; #Define y coordinate# xx=rot_x(XX,YY); #Rotate coordinate# yy=rot_y(XX,YY); #Rotate coordinate # radial=sqrt(xx^2+yy^2)*1; #Create Radial Gradient# if(1, sur_atan=(atan2(xx,yy)+pi)/(2*pi);, #If true, then spiral is in counter-clockwise# sur_atan=1-(atan2(xx,yy)+pi)/(2*pi); #Else, then spiral is in clockwise# ); es=(sur_atan+radial*1)*1; #Get the base values for spiral# es=es-floor(es); #Finally obtain the spiral gradient from the above equation# if(0,es=(es>.5?1-es:es)*2;); #If true, then spiral in seesaw function or continuous# i((es^1)*w,radial*h,z,c,2,3); #coordinate are obtained from this. i(x,y,z,c,interpolation,boundary)# " r2dx 50%,3 #Resize Image using linear interpolation. Used for subpixel processing# Result -
  8. Rick Brewster is a easy one that can be filtered out by default. Crazy Man Dan is another. DW.dev too. MosaicManiac.
  9. A little late to respond, but you're welcome. This reminds me to add more detail. Information can be filtered even further with the usage of MadJik Gravity plugin.
  10. I just tested it. G'MIC Thorn Fractal + Self Spiral
  11. Suggestion - For any author that does not have an working link. Please hide all of them when choosing authors by default and give users the option to see them because history.
  12. @xod If that was done automatically, then my mind is blown. By the way, that software is open-sourced. As unlikely as it can be, it can be converted into another code even though converting a program entirely from scratch to a filter used by another software is literally hundreds of hours of work. In some cases, years of works or decades.
  13. Another new update, I figured out how to make graduated filter thanks to @TechnoRobbo. I am using YUV color space model than RGB for it. This allows for more options. I haven't pushed that yet or even done the filter, but it'll come by 2.8 or after.
  14. If I ever get in the mood to do this and don't forget this, I will certainly do this. If it get passed, I should let someone here know, who should know first? I believe it would be @Rick Brewster I tested it recently again. In my Fibonacci Texture example picture in the g'mic thread, the gif version was 339 KB where the png version is 59 KB. APNG wins vs GIF here - http://littlesvr.ca/apng/gif_apng_webp5.html Same here - https://lukeroberts.tv/blog/gif-vs-animated-png/ The evidence definitely indicates APNG is better than GIF.
  15. Hi, I noticed animated png do not work in this forum if uploaded from here. It takes a lot less space than gif format and gif is really outdated given new animation formats. I would like to be able to upload animated png here. The workaround is to upload to a site that accepts animated png, and then post it here as a png.
  16. Extended version of Fibonacci Fill made by @Ego Eram Reputo , and @Red ochre will be coming to G'MIC 2.8. I did fixed Object Size filter, now dynamic gui is enabled there. For more information: See this pull request - Fix to Object Size filter ; pal cli fixes, and new Fibonacci gui filter and cli filters #230 Minor note for CLI users - I added info to pal cli command.
  17. From a theoretical standpoint, couldn't you tell if someone was cheating by observing dithering i.e what it would look like going from 16 BPC Integer to 8 BPC Integer? That would be suspicious even if someone was using a plugin (I know there is something like this somewhere) or g'mic import high depth image designed for 8-bit processing. Otherwise, there's no logical basis to claim cheating.
  18. Sounds like a bug, here I'll just call @BoltBait to see what he has to say about this.
  19. The last 4 variable is what I was looking for. Now, it makes sense. Thank you.
  20. Ah, posted in the right place this time. Now, on to the title, I would like for someone to explain what ? means in the function. g.DrawImage(?1,?2,?3,?4); I wouldn't be confused if the source of SphereCuber contains what looks like what below, but considering the coordinate seem to be same for ? series in some cases in TR's SphereCuber. I am confused. g.DrawImage(0,0,500,512);
  21. Since new changes are not coming till 2.8, here's what will be available - - Faster distortion filters with the usage of begin. Nebulous and Modulo Texture filter also have begin statements. - Implemented Chaos from PDN Fractal Attractor to G'MIC Thorn Fractal - Fixed Form Pixels Honourable mention - Converted TR's Intense Filtration and placed it in G'MIC. It's more precise, but that's about it. Hue are in 0-360 range instead of 0-5999, this is more logical as well. Upcoming - Upgraded TR's Glass Vignette with more than 10 options.
  22. If Paint.NET isn't a option for cross-platform in the near future, the closest alternative would be Photoflare literally in functionality. G'MIC is there, and you would at least need to try to develop filters that resembles the ones that are found in here to make it a viable alternative. I have been developing G'MIC filter that resembles some plugins found in here, and extended them. Photoflare also support G'MIC, so that makes it a possible alternative for Mac and Linux user. Either that or you have to use GIMP or Krita instead if you don't have Windows and can't use Windows legally or refuse to use Windows (I could understand why).
×
×
  • Create New...