skew transformation
Posted: Sun Mar 20, 2011 4:08 pm
Hi,
I am new here, experimenting with CF. BTW great stuff, thanks to all creators.
I'm wondering how exactly skew transformation works. I didn't found it anywhere, but I'm confused. Why is not the same as ?
Instead, some little scaling is also applied, try:
And another one:
How it's possible, that in each layer of the spiral there is almost perfect circle? Shouldn't it be skewed more and more and produce ellipses with bigger relative excentricity?
Can anyone help me? Thx H.
I am new here, experimenting with CF. BTW great stuff, thanks to all creators.
I'm wondering how exactly skew transformation works. I didn't found it anywhere, but I'm confused. Why
Code: Select all
skew -1 1
Code: Select all
r 1
Instead, some little scaling is also applied, try:
Code: Select all
startshape xx
rule xx{
CIRCLE{}
xx{skew 1 -1 x 1}
}
Code: Select all
startshape pom
background {b -1}
rule pom{
CIRCLE{s .02 sat 1 b 1}
pom{x .05 s .99 1 r 5 skew -1 19 h 189}
}
Can anyone help me? Thx H.