Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Is this for real? Looks treelike enough to me. Reminds me of an African deciduous tree. If you want something bigger then a thicker trunk would do wonders.
-
karma108396yMaybe thicker in the start, it looks quite big, but very skinny ...
Or maybe do this one 🌲🎄🎅 -
@Codex404 I see the little pixel bump between the trunk and the first set of branches, but I doubt I woulda seen it if I wasn't looking for it...
-
Its already pretty cool but perfectionist in me says that you should do something about the part where it splits. You can see it the clearest at the first split, there is a bit of an indent.
-
Orni10316y@HollowKitty @DevForTheMoney yeah I fixed that in another version that adds little circles to smooth it out. You’re definitely right though
-
rfc716828006yI first thought of the silhouette of a stalk of dill (sorry, hungry) but it also makes for a realistic tree. Curious on how it'll turn out. :)
-
I think you shouldn't have this segment thingy on the first split, the one from the main trunk
-
@PrivateGER Wut? https://en.wikipedia.org/wiki/... Something like a tree could be easily generated this way.
-
@HollowKitty I always thought of fractals being rather random shapes, Mandelbrot for example. This looks like a real tree.
-
Orni10316y@PrivateGER yeah this isn’t what you’d normally think of since I introduced randomness into the fractal to make it look more natural, but the general gist is a branch that splits into 2 branches that split into two more, etc etc
-
Mitiko62056y@QAgMire Maybe you want to say that the branches that are perpendicular to the ground or form a smaller than 90° angle with the base should be longer (if thicker) than the ones forming a bigger than 90° angle with the base
Basically calculate the angle based on height (level in tree), length and thickness. To implement this I would make a couple of branches that look about right and then graph this (in the 3D space) with something like Geogebra (just put some points with the measurement coordinates and connect the dots) then approximate the algorithm and use that to set the angle, while mantaining randomness by allowing up to 5-10% difference in angle
How should I make this fractal more tree like?
question