v/2 * ((v / 2)+1) + (sin(π * (v % 2) / 2 ) / 4)
I think
v%2
translates into
v modulus 2
which is
v/2 and dropping the remainder.
Pipe in, anyone, if I am wrong. :-)
Eric
--
--
You received this message because you are subscribed to the "Geodesic Help" Google Group
--
To unsubscribe from this group, send email to GeodesicHelp...@googlegroups.com
--
To post to this group, send email to geodes...@googlegroups.com
--
For more options, visit http://groups.google.com/group/geodesichelp?hl=en
---
You received this message because you are subscribed to the Google Groups "Geodesic Help Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geodesichelp...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/geodesichelp/d58149e7-6b9b-4f23-93f0-558492b3b00an%40googlegroups.com.
Sorry! Mixed my operators. I meant integer division ( or truncating division).
So, the expression
v%2
translates into
int ( v / 2 )
which is
v/2 and rounding down to nearest integer (not decimal
place).
Pipe in, anyone, if I am wrong. :-)
(sin(3π/2 + πv) + 1)/8
although i guess it doesn't make sense to have a continuous graph since non-integer values of v are meaningless.
so, i guess 2 simplified version of the formula would be
(v² + 2v)/4 + (v mod 2)/ 4 -> (v² + 2v + v mod 2)/ 4Some additional info. This will give the maximum number of unique struts for an icosahedral dome if when vertices are spaces out as evenly as possible (isotropic) - for instance, when using the spherical area coordinate (SAC) method. The method Fuller used (method I i think) will often produce struts that should be unique, but because of arrangement, the lengths are so similar in size they might as well be the same for all practical purposes. You will also have similar "collapses" in strut variation for octahedral domes, because of the way the primary triangles line up along great circles.
So this formula is useful because I often get rounding errors when programmatically calculating strut lengths, resulting in a ridiculous number of variations. I think this has to do with floating point errors when it comes to doing trig on computers. I wanted to figure out how many struts are actually unique and which ones are the same strut with a rounding error.
I found this table in a paper by Tom Davis with numbers mostly matching the ones produced by formula. I've included the result given by the formula in parenthesis when it differs from Tom's calculations. Notice how the formula numbers continuously go up instead of going up and down between each frequency.
11v 36--
--
You received this message because you are subscribed to the "Geodesic Help" Google Group
--
To unsubscribe from this group, send email to GeodesicHelp...@googlegroups.com
--
To post to this group, send email to geodes...@googlegroups.com
--
For more options, visit http://groups.google.com/group/geodesichelp?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Geodesic Help Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/geodesichelp/RGtrJcuX5_c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to geodesichelp...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/geodesichelp/65f4f720-33d6-b145-aa73-cca129f9c14c%40antiprism.com.
(sin(3π/2 + πv) + 1)/8
although i guess it doesn't make sense to have a continuous graph since non-integer values of v are meaningless.
so, i guess 2 simplified version of the formula would be
(v² + 2v)/4 + (v mod 2)/ 4 -> (v² + 2v + v mod 2)/ 4Some additional info. This will give the maximum number of unique struts for an icosahedral dome if when vertices are spaces out as evenly as possible (isotropic) - for instance, when using the spherical area coordinate (SAC) method. The method Fuller used (method I i think) will often produce struts that should be unique, but because of arrangement, the lengths are so similar in size they might as well be the same for all practical purposes. You will also have similar "collapses" in strut variation for octahedral domes, because of the way the primary triangles line up along great circles.
So this formula is useful because I often get rounding errors when programmatically calculating strut lengths, resulting in a ridiculous number of variations. I think this has to do with floating point errors when it comes to doing trig on computers. I wanted to figure out how many struts are actually unique and which ones are the same strut with a rounding error.
I found this table in a paper by Tom Davis with numbers mostly matching the ones produced by formula. I've included the result given by the formula in parenthesis when it differs from Tom's calculations. Notice how the formula numbers continuously go up instead of going up and down between each frequency.
11v 36To view this discussion visit https://groups.google.com/d/msgid/geodesichelp/e64db8f0-a273-4771-b0b2-0e3b74327aadn%40googlegroups.com.