# TR's FreeWarp V1.9.2 (Jan. 1, 2016)

## Recommended Posts

TechnoRobbo's FreeWarp v1.9.2

TR’s FreeWarp (short for TechnoRobbo’s Freestyle Warp) was designed for the artist to intuitively reshape an image by stretching it’s detail.

The math employed was a built from the ground up as deliberate departure from Beier-Neely’s Algorithm and the standard mesh warp, Allowing the stretching to be arbitrary.

Version 1.92 adds AutoSave and more internal stuff.

Version 1.8 Fixes Undo

Version 1.7.1 Cursor Scaling Fix.

Version 1.7 warping within selections.

Version 1.6 adds functionality and speed

Version 1.5 Re-invents the user interface

Version 1.2 Puts back missing Label

Version 1.1 Fine Location Control Added

FreeWarp Tutorial

Tutorial Music by TechnoRobbo

Left-Click Key to Warp - Save to Keep Warp

Old Version 1.5

http://youtu.be/8ZiKjh9dRsI

Version 1.1 Video

How it Works

The Algorithm has 2 distinct parts:

1. Distort the Image

2. Localize Warping

..and 3 distinct parameters.

1. The Origin – where the warp begins

2. The Target – where the warp ends

3. The Minimum Warp Size – the size of the warped area

(If you continue to stretch the image beyond this size the algorithm adjusts this parameter)

Distort the Image

Stretching the image is achieved by dividing the image into parts. The Stretched Side and the Compressed Side. The demarcation point is the Target point. Anything on the Origin side of the Target it stretched from the image border – anything on the opposite side is compressed towards the image border.

In the Source Code this is labeled “//reverse mapping”.

Localizing the Warp

Localizing control of the warp is a simple matter of finding the distance of a pixel to the imaginary line segment created by the Origin Point and the Target Point.

In the Source Code this is the “distance” function.

The distance is normalized by diving it with the Minimum Warp Size. If the distance between Origin and Target (Pythagorean Theorem) exceeds the Minimum Warp Size the distance is used.

Normalizing results (d) is a value between 0 and 1 that is used as the control in a linear interpolation between the Source pixel (uu,vv) and the Target Pixel (x,y).

uu = d * x + uu - uu * d;

vv = d * y + vv - vv * d;

I hope I shed some light on the code for the programmers – I’m sorry if I bored the rest.

The Source Code

The Plugin

TRsFreeWarp.zip

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

Nice plugin TechnoRobbo.

##### Share on other sites

The knowledge of the math plus a good idea of composition. This combination is great.

Thanks TR for some nice plugins.

##### Share on other sites

TechnoRobbo!

Fantastic, Thank you for the plugin.

Imagination has no limits...

*it's me 3 years old.

Live as if you were to die tomorrow. Learn as if you were to live forever.

Gandhi

##### Share on other sites

Motto,Midora and Seerose,

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

Great fun. Thanks for the continued work

I started with this on a separate layer

Used Freewarp / Duplicated the result / ran drop shadow and then conditional hue / saturation, played with blend modes, added your scatter effect and got this

##### Share on other sites

Ooh, it's like Kai's Power Goo!  I like!

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

##### Share on other sites

Very Clever Sash

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

I didn't know Obama was half pixie!

Another powerful plugin - many thanks.

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

##### Share on other sites

It's not fair. I'm missing the german 'Mutti'.

##### Share on other sites

Excellent examples from TR, Mottoman, Seerose and Sasha. This looks like a fun plug-in. +1 to you TR.

##### Share on other sites

Updated Version 1.1  - adds a Fine Location Control for cursor

David & Nurse- Thank You

Red Ochre -I didn't know Obama was half pixie!

Red - He is , I've seen his Birth Certificate

Midora -

It's not fair. I'm missing the german 'Mutti'.

I think someone already warped her...

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

Ok, Ok here she is:

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

This looks like fun, cheers for the share, downloaded, off to play.

##### Share on other sites

My Apologies the "Hold Control to Warp" disappeared from last version. I put it back.

(Here's a tip keep holding Control until you save)

I've also added a "How It Works" section to the Original Post to make up for my lack of commentary in the sourcs code.

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

I'm going to get in trouble with this one,lol

##### Share on other sites

Version 1.5 new interface with larger control surface.

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

Nice work with the new custom U.I.!

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

##### Share on other sites

Thanks Red

Hey when are you gonna post Scribble that thing is awesome.

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

Update v1.7 is now available.

I published a Freewarp Tutorial on YouTube:

Music by TechnoRobbo

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

V 1.7.1 fixes a cursor scaling error

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

• 3 weeks later...

Update - Version 1.8.0 - Undo Fixed

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

• 2 years later...

Go out there and be amazing. Have Fun, TR

Some Pretty Pictures Some Cool Plugins

##### Share on other sites

Thanks for the new features TR.

## Join the conversation

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

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

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

×
×