I'm going to fiddle with this later. The code is not that ugly. Aside from JQuery and math.js, it's under 200 lines of source half of which is Javascript. It still needs commenting but I'm off to 3D land to start working of a tree version of FibBox which is already a bit mind warping. Here's the latest version of the Fibonnaci trees.
This blog is devoted to patterns made with polygons. I'll try to have something interesting posted regularly.
Friday, March 20, 2020
Tuesday, March 17, 2020
Solved but still plugging
The issue was easier than I thought. It was the 45 degree rotation which I wanted to better emphasize the treeness of the structure.
This has none of the unexpected lines. I'm still not loving some of the boundary colour meshing but these are just choices which I can now put some time to improve on.
This update has some hoving CSS that allows you to see the Fibonacci connections of the pieces. So you can take a look at what is going on before I complete the version that may work as a decent teaching example for coding. Here is an example of seeing that that div has a width of 144 and a height of 89 which are both Fibonacci numbers.
This has none of the unexpected lines. I'm still not loving some of the boundary colour meshing but these are just choices which I can now put some time to improve on.
This update has some hoving CSS that allows you to see the Fibonacci connections of the pieces. So you can take a look at what is going on before I complete the version that may work as a decent teaching example for coding. Here is an example of seeing that that div has a width of 144 and a height of 89 which are both Fibonacci numbers.
Wednesday, March 04, 2020
Still plugging...
This is close but not quite ready for prime time....
Although I've never heard of Fibonacci Trees, it seems like a reasonable name for this since it is made up of Fibonacci spirals. It's created with a bunch rectangles with integer coordinates that are Fibonacci numbers. I thought that I could easily use border-top-left radius:100% and conic-gradients... It's some finicky code that seems to produce a bunch of artifacts that I can't get rid of... Currently, the rough draft of the code needs a lot of polish but I feel there is no point streamlining it until it can produce what I want without the artifacts.... I could fix a few of the colour issues that occur in the upper tree not nicely meshing but since the other problems can't be fixed I'll leave it.
There seems to be no issues with the sizes and placements so the artifacts are related to the conic-gradient and perhaps a browser thing... There is a better way to colour but not one that will be easy least using CSS.
Perhaps the 3D version of this tree will be more interesting and will fall together better.
A collection of Fibonacci Trees |
There seems to be no issues with the sizes and placements so the artifacts are related to the conic-gradient and perhaps a browser thing... There is a better way to colour but not one that will be easy least using CSS.
Perhaps the 3D version of this tree will be more interesting and will fall together better.
Subscribe to:
Posts (Atom)
Popular Posts
-
This one was fun to make. I wanted a cool snowflake to be a backdrop for a presentation (http://prezi.com/jie04ey9bhjr/zulo/) that I wa...
-
Tileland+ interface Along with an interface update , I added a some language extras. The native Tileland instructions remain (polygon...
-
Unlike normal, I was able to deliver the square version of the descending pentagons quickly. There was no math to figure out. although ...