[x3d-public] Formulas of flowers

John Carlson yottzumm at gmail.com
Sat Jul 3 17:36:48 PDT 2021


This cracked me up!

https://youtu.be/edzRGfsnglE

John


On Sat, Jul 3, 2021 at 7:15 PM John Carlson <yottzumm at gmail.com> wrote:

> Ah, GD, I’ve used that in Perl, not PHP.   I was never really impressed by
> GD, but it may work for 2D.   I can help with JavaScript, GLSL or maybe
> Perl (OBJ file) if you want 3D.  I don’t have my AppleSoft Basic around any
> more.
>
> Maybe you want something like vpython?
>
> You seem to be lazy and not even using resources given to you?   What kind
> of flower do you want to draw?
>
> Look up converting converting polar or spherical coordinates to Cartesian
> coordinates would be a good start.  Also look up L-systems and graftals.
>
> John
>
> On Sat, Jul 3, 2021 at 6:53 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> I would start out with something like Processing, not php.
>>
>> Good luck!
>>
>> On Sat, Jul 3, 2021 at 6:51 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> I’ve never heard of php doing drawings.  You mean SVG or X3D?
>>>
>>> https://en.m.wikipedia.org/wiki/Rose_(mathematics)
>>>
>>> I don’t know about real flowers.   Good luck with that.
>>>
>>> Number theory is really an odd choice, but I guess I suggested
>>> Fibonacci.  That was more for numbers of petals.
>>>
>>> John
>>>
>>> On Sat, Jul 3, 2021 at 6:41 PM Konstantin Smirnov <
>>> konstantin.e.smirnov at gmail.com> wrote:
>>>
>>>> Thanks! I mean simple algorithm or formulas, for example on php, that
>>>> can easily draw flowers with math, number theory. For example, some flowers
>>>> may have structure like math equations solutions.
>>>>
>>>> Or for beginning, simply drawing a flower on php code.
>>>>
>>>> вс, 4 июл. 2021 г., 01:19 John Carlson <yottzumm at gmail.com>:
>>>>
>>>>> Mathematical Roses or Rhodonea should jump start you.   Also look up
>>>>> @sxywu on Twitter.   Her data sketches book may have specifics for a
>>>>> variety of “flowers”. For a more techy look, find Maurer Roses.
>>>>>
>>>>> I don’t know what you mean by Nt.   You can find shaders or JavaScript
>>>>> code in X3DJSONLD.   File names with “flower” or contents of “rose” will
>>>>> likely give you a jump start in 3D, but they are quite artificial and even
>>>>> more so animated.  Plus it seems like my code is currently in a non-working
>>>>> state.
>>>>>
>>>>> I would try something with Fibonacci, golden ratio to get things more
>>>>> natural, or perhaps particle systems for imperfections.
>>>>>
>>>>> For previews, checkout https://codextreme.net. One can get quite a
>>>>> lot of diversity with parametric equations, especially when animating
>>>>> parameters.
>>>>>
>>>>> http://www.grad.hr/sgorjanc/Links/roses.pdf
>>>>>
>>>>>
>>>>> Good luck!
>>>>> On Sat, Jul 3, 2021 at 11:45 AM Konstantin Smirnov <
>>>>> konstantin.e.smirnov at gmail.com> wrote:
>>>>>
>>>>>> Hi
>>>>>> Who knows formulas that can be used for drawing of flowers? Nt or
>>>>>> algorithms
>>>>>> _______________________________________________
>>>>>> x3d-public mailing list
>>>>>> x3d-public at web3d.org
>>>>>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>>>>>
>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210703/daf325b8/attachment.html>


More information about the x3d-public mailing list