Recent

Author Topic: Sierpinski Curve Fractal to Share with ALL  (Read 1334 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Sierpinski Curve Fractal to Share with ALL
« on: May 19, 2024, 11:32:11 am »
Just made Sierpinski Curve fractal for people on the forum to play around with.

Kinda Roundish Space Filling Curve.

Wouldn't want to walk along this fractal curve. Too many turns !

Enjoy.
« Last Edit: May 19, 2024, 11:34:22 am by Boleeman »

440bx

  • Hero Member
  • *****
  • Posts: 4230
Re: Sierpinski Curve Fractal to Share with ALL
« Reply #1 on: May 19, 2024, 11:38:03 am »
It's interesting and sometimes downright fascinating to watch curves like that being drawn in real time.

Any chance you could add a little delay in the drawing routine to allow a viewer to follow the curve as it is being drawn ?
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Sierpinski Curve Fractal to Share with ALL
« Reply #2 on: May 19, 2024, 11:52:49 am »
Actually good idea showing the curve drawn in Slow Motion.

I know of a Lazarus Hilbert Curve program (attached below)  that someone made with a slider and I think a Timer to alter the speed at which it is drawn.

Maybe download that and see how it was done.

I am not an expert in all things Lazarus, but I do like make Geometrical Curvy Things (especially fractals).

440bx

  • Hero Member
  • *****
  • Posts: 4230
Re: Sierpinski Curve Fractal to Share with ALL
« Reply #3 on: May 19, 2024, 12:07:31 pm »
I am not an expert in all things Lazarus,
Quite likely I know less about Lazarus than you do.  If it isn't straight Windows API, I'm lost.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Josh

  • Hero Member
  • *****
  • Posts: 1310
Re: Sierpinski Curve Fractal to Share with ALL
« Reply #4 on: May 20, 2024, 11:20:59 am »
Hi

Quite a lot of mods. but you can slow the draw down, set background color, cycle colors..
« Last Edit: May 20, 2024, 12:43:03 pm by Josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1310
Re: Sierpinski Curve Fractal to Share with ALL
« Reply #5 on: May 20, 2024, 12:39:29 pm »
Sorry

Last update from me (Hopefully).

Added ability to merge color of corners and change from rounded to square, most noticeable with large line width.
« Last Edit: May 20, 2024, 12:43:49 pm by Josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Boleeman

  • Hero Member
  • *****
  • Posts: 537
Re: Sierpinski Curve Fractal to Share with ALL
« Reply #6 on: May 21, 2024, 02:19:51 pm »
Josh, just noticed your additions.

I like playing around with all those extra features.

Awesome.
« Last Edit: May 21, 2024, 02:28:37 pm by Boleeman »

AlexTP

  • Hero Member
  • *****
  • Posts: 2434
    • UVviewsoft

 

TinyPortal © 2005-2018