Recent

Author Topic: Chrysanthemum Flower Curve  (Read 1927 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Chrysanthemum Flower Curve
« on: May 23, 2024, 03:21:45 pm »
Made a Chrysanthemum Flower Curve.



There are some interesting (slightly sideways) variations.

Currently looking at different and interesting ways to colour and further shape the petals.
« Last Edit: May 24, 2024, 08:40:08 am by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #1 on: May 24, 2024, 09:53:05 am »
Discovered a Rainbow type colouring and some others.
« Last Edit: May 24, 2024, 10:51:18 am by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #2 on: May 24, 2024, 11:13:08 am »
Also Sector coloured combinations of Blue and Pink

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #3 on: May 24, 2024, 12:56:40 pm »
Some fibre-ish rainbow coloured types.

The inside of the petal can be made to appear stringy.

The petal borders can be made rounder, with more of a border.
« Last Edit: May 24, 2024, 01:06:54 pm by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #4 on: May 24, 2024, 01:04:59 pm »
Here is Version 2 with the colour TSpinedit adjusters.

Just realized that when running the compiled exe the Mod 2 select mode does not work properly.

If running in the IDE, then the Mod 2 select mode works. Don't know exactly why?

The attached saved png pictures where done in the IDE.

The last attached png shows the problem. The Blue part of the curve dissappears
« Last Edit: May 24, 2024, 02:16:11 pm by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #5 on: May 24, 2024, 02:22:45 pm »
.
« Last Edit: June 02, 2024, 05:36:58 am by Boleeman »

tetrastes

  • Sr. Member
  • ****
  • Posts: 494
Re: Chrysanthemum Flower Curve
« Reply #6 on: May 24, 2024, 03:53:54 pm »
Here is Version 2 with the colour TSpinedit adjusters.

Just realized that when running the compiled exe the Mod 2 select mode does not work properly.

If running in the IDE, then the Mod 2 select mode works. Don't know exactly why?

The attached saved png pictures where done in the IDE.

The last attached png shows the problem. The Blue part of the curve dissappears

For me Mod 2 select doesn't work in any case.
If I turn on Range checking, I get Range check error at line 71:
Code: Pascal  [Select][+][-]
  1.     Result := Colors[index mod 2 * Length(Colors)]

I don't know what is your aim, may be this:
Code: Pascal  [Select][+][-]
  1.     Result := Colors[index mod 2 mod Length(Colors)]
?

tetrastes

  • Sr. Member
  • ****
  • Posts: 494
Re: Chrysanthemum Flower Curve
« Reply #7 on: May 24, 2024, 04:15:27 pm »
It seems I guess:
Code: Pascal  [Select][+][-]
  1.     Result := Colors[index mod 2 * (Length(Colors)-1)]

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #8 on: May 25, 2024, 01:04:07 am »
Yes tetrastes, that was it. Thanks for that fix.

Was getting really late yesterday, so I had to go to sleep.

Now working correctly with the compiled exe.

Second png shows fibre-type lines in petals and the edges of the petals being more defined (rounded).

Last png is nice almost abstract line color pattern (Many colours in each petal).
« Last Edit: May 25, 2024, 01:19:31 am by Boleeman »

AlexTP

  • Hero Member
  • *****
  • Posts: 2434
    • UVviewsoft
Re: Chrysanthemum Flower Curve
« Reply #9 on: May 25, 2024, 06:49:02 am »

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #10 on: June 02, 2024, 05:36:10 am »
Still trying to work out how to do a diagonal-side on like perspective view as shown in attached picture below.

The Petals seem to bend in the Z Plane, giving it an almost 3D appearance. Could OpenGL be possibly used?
« Last Edit: June 02, 2024, 05:39:13 am by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #11 on: June 03, 2024, 04:33:50 am »
Just a little update, where you can select between 2 different colours. Enjoy !

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Chrysanthemum Flower Curve
« Reply #12 on: June 05, 2024, 07:17:04 am »
Conversion to BgraBmp with Anti-Aliasing.

Compile path separated. Thanks DZandaa.
Compiled exe seems to work quite fast now.

Enjoy.
« Last Edit: June 05, 2024, 07:24:19 am by Boleeman »

 

TinyPortal © 2005-2018