Sign in to follow this  
Xhin

Rectangular Inversion

Recommended Posts

This plugin turns an image inside-out via polar coordinates. Unlike the other Inside-Out plugin, this one everts the entire rectangle instead of just a circular region. There are also move, rotating and zooming options which create some really neat-looking effects.

 

Let's take a look at it.

 

7ConNqY.png

 

  • Move -- This moves the centerpoint around. Pixels are inverted based on their distance from the centerpoint and how far away the edge is, so changing this option changes the way the image warps.
  • Rotate -- Rotates the image after the inversion step but before the remapping step. An interesting effect that rotates the content of the image while preserving the effect's rectangular nature.
  • Zoom Out -- Like my Polar Kaleidoscope plugin, the effect is mirrored in all directions. Zooming out will recreate the effect, creating an effect that looks suspiciously similar to a Polar Inversion.
  • Quality v0 -- Basically adds a mild blur. Larger canvases should use higher settings. I've marked it as a v0 because I plan to make a better quality slider for my plugins at some point. This is at least better than nothing.

 

Now, let's look at what the plugin actually does.

 

KQOvrA3.png

 

We'll start with a base image. Just a few spirals I've self-negated.

 

3mcudbw.png

 

Here's what the base effect looks like. The image has essentially been inverted based on its distance from the center. This is a very similar effect to the Inside-Out plugin, but it inverts things in a rectangular way rather than a circular way so it remaps to the entire image.

 

cgsagRG.png

2JigI11.png

 

You can move the centerpoint around. The top image I've moved 20% to the right, and the bottom image I've moved 30% down.

 

ZXv9ugz.png

 

Here's what a rotation looks like. Note how the image is clearly rotated but is somehow still a rectangle on the outer edge. Things have been warped a bit differently as well. Overall, a pretty neat effect.

 

jyuObno.png

FKjt20G.png

 

With higher zooms, you get these effects. They look very similar to a polar inversion, so I may have accidentally discovered how those work. The difference is that the image's rectangular nature is preserved so the outer edges aren't heavily warped.

 

Still to do

  • Fix the quality slider. This is probably something that I'll do with all of my plugins at once (I have a few more distortion plugins coming).
  • Release the source code. Again, this will probably be a global update.

Overall, I'm pretty happy with the state of this plugin. I don't think it needs anything else besides that.

 

Download link

https://github.com/Xhin23/Paint.net-Plugins/blob/master/Rectangular_Inversion.dll

Edited by Xhin
  • Like 4
  • Upvote 2

Share this post


Link to post
Share on other sites

@Xhin

I am really enjoying your plugin effects!
I used your Rectangular Inversion to create both the picture frame and the graphic that was framed.

 

Bow_Frame_001_w_linear_art.jpg



 

Edited by HyReZ
  • Like 1

Share this post


Link to post
Share on other sites
7 hours ago, HyReZ said:

I am really enjoying your plugin effects!

 

Totally agree with HyReZ @Xhin!!  These effects, though simple, can really change an image with some interesting looks!  :star:

 

Please keep them coming!  In no time, you can release your own plugin pack!  :D

 

Below image made entirely with Rectangular Inversion.

 

rectangularinversion_01.png

  • Like 1

Share this post


Link to post
Share on other sites

I like the way I can produce interesting frames for my images. I have experimented with various images files, its placement and the amount of transparent space around the central image to produce interesting frames. I erased all of the non-frame stuff at the center so that I can place my main image.
Concentric_Circles_AB13a.jpg

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this