YOUR ACCOUNT

Login or Register to post new topics or replies
uberzev
not lyftzev

Posts: 1890
Filters: 36
Here's what it would look like... (photoshop mockup)


Here's my current best attempt... (bias: 75)
  Details E-Mail
James
James
Posts: 676
Filters: 46
I think it should be added maybe also the invert of it smile:D
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
For those (if any) interested in doing it by math smile:D , the curve is:

sqrt( 1 - x2 )

The "1 - x2" bit is easy.

I haven't found a solution for the sqrt().

(yet smile:evil: )

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Currently, there is no circular arc curve in FF, but I think we can add one in the next or a subsequent update. It would look like this:

Circular Arc: Curve Component
- Start: Grayscale Map (0...100), default = 0
- End: Grayscale Map (0...100), default = 100
- Minimum: Grayscale Map (0...100), default = 0
- Maximum: Grayscale Map (0...100), default = 100
- Invert: Checkbox, default = False
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
That looks good Vlad. I believe the key to a proper spherize (like the one in Photoshop) is the circular arc.
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Quote
byRo wrote:
I haven't found a solution for the sqrt().

Now I have. smile:D

Problem solved. Although the output is a tone curve and not exactly a curve - but they are basically the same thing.

Here you go.

Rô

_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Don't have clue why the FFFolks chose +-30 as representing the sqrt/sqr functions - but it works fine.

Here is a pic of the arc-curve output used as an offset to draw an arc.

Rô

_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Just Brilliant byRo! smile8)
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Thanks. smile:D

Quote
uberzev wrote:
I believe the key to a proper spherize (like the one in Photoshop) is the circular arc.


I'm looking forward to see what you do with this. smile;)

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Ok well I cracked Photoshop's "Spherize" formula. Here's what the curve looks like...



It can be made with byRO's method but with the gamma at 40/-40.

Here's an interactive demo/snippet...
http://uberzev.googlepages.com/PerfectArc.ffxml


Anyway, once again amazing work byRo. Look for your brilliant technique to be featured in uberLENS 2.5 and other fine filters. smile8)
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Quote
Vladimir Golovin wrote:
Currently, there is no circular arc curve in FF, but I think we can add one in the next or a subsequent update. It would look like this:

Circular Arc: Curve Component - Start: Grayscale Map (0...100), default = 0 - End: Grayscale Map (0...100), default = 100 - Minimum: Grayscale Map (0...100), default = 0 - Maximum: Grayscale Map (0...100), default = 100 - Invert: Checkbox, default = False
I'd also like to have the control offered by this snippet... http://uberzev.googlepages.com/PerfectArc.ffxml

Don't know what you'd call that, maybe bulginess? smile;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
uberzev wrote:
Don't know what you'd call that, maybe bulginess?


Maybe something like "Arc Angle" or "Sector Angle"? For example, it could range from 0 (linear look) to 90 degrees (a circular arc).
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Quote
Vladimir Golovin wrote:
Maybe something like "Arc Angle" or "Sector Angle"? For example, it could range from 0 (linear look) to 90 degrees (a circular arc).
Well that wouldn't be as good as byRo's method because it doesn't allow you to go past a circle to a more bulged appearance.
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
uberzev wrote:
Good work guys.


Thanks smile:) We've implemented the main parameter as a sector angle -- it ranges from -90 degrees (a concave arc) through zero (a linear function) to 90 degrees (a convex arc, as shown on the picture above).
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
grrr.... I wanted to be able to create an arc that would go past 90 deg. Guess I'll still have to use byRo's method.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Well, if we allowed it to go beyond 90 degrees, that would result in non-normalized amplitude (the curve height would be less than max when Sector is greater than 90 degrees or smaller than -90 degrees). And if we did a forced normalization in that case, the curve would not be a "Circular Arc" anymore.

By the way, what do you need this for?
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Check this out... http://uberzev.googlepages.com/byRoArc.ffxml

Drag the "byRo Method" slider to to the right see the additional functionality I'd like to see added to the Circular Arc control.

Quote
Vladimir Golovin wrote:
By the way, what do you need this for?
Cause its cool. smile8)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
uberzev wrote:
Drag the "byRo Method" slider to to the right see the additional functionality I'd like to see added to the Circular Arc control.


But this is not a circular arc -- this is just a bulged curve, like those produced by the Bias component.
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Bump!

I'd like to be able to create an arc-curve that when extended past 90 deg becomes a Lamé curve. This is different than bias.

(Should be similar to the arc tool in adobe illustrator)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Yes, here's a good page on it:
http://mathworld.wolfram.com/Superellipse.html

I'll add this to the list.
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Thanks vlad. smile:D
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,533 Posts
+31 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

37 unregistered users.