Question

Ford circles not touching

  • 18 February 2014
  • 2 replies
  • 1 view

Badge +3
Hi All,

 

 

I have made a fun script.

 

It makes ford circles with most math done by using listfunctions sorting etc.. So realy a minimal of actual math involved.

 

 

It works fine, except when one zooms in the some of the circles dont realy touch exactly as they should.

 

Anyone got a tip?

 

 

 

 

Still cant upload workbenches here.

 

Drop box is out of the question for me, can't install it due to rigorous network security.

 

I heard someone nmae another one, wich does'nt require software install. Forgot the name tho.

 

 

Im currently trying to do the circles in circle version, but i hav'nt yet figured out how to get complexnumber math working using fme.

 

 

(I made for instance a 3th-root custom transformer using aproximation (invovlves looping) rather then complexnumbers. Wich was needed to get that geeky heart formula working...but also needs complexnumber calculation..i got half a heart... )

2 replies

Userlevel 2
Badge +17
Hi Gio,

 

 

Regarding gaps or overlaps between circles, I think those are caused by computational errors. There could be two kinds of errors in this case. One occurs when calculating, another occurs when drawing on the Viewer. I think that computational errors cannot be avoided.

 

 

You can use the Chatter to share files with Community members.

 

I uploaded demo edition there. Edit it freely.

 

https://safecommunity.force.com/069a0000003dfj7

 

 

Takashi

 

Userlevel 2
Badge +17
I guess "3rd-root" is same as "cubic root". What about using @pow function?

 

-----

 

@pow(@Value(_value),1.0/3.0)

 

-----

 

 

And regarding complex numbers, Tcl "math::complexnumbers" library can be used in the TclCaller. Although I've never used it...

 

http://docs.activestate.com/activetcl/8.4/tcllib/math/qcomplex.html

 

Reply