### Bookstore

 Computer Math and Games in Pascal (preview) Lazarus Handbook

### Author Topic: Square Koch Fractal: How to Reverse the Fill Colour Order in Grad. Fill?  (Read 1008 times)

#### Boleeman

• Hero Member
• Posts: 652
##### Square Koch Fractal: How to Reverse the Fill Colour Order in Grad. Fill?
« on: August 10, 2024, 01:41:54 am »
A Square Koch Fractal

Some info. on it here: https://mae.ufl.edu/~uhk/FRACTAL-SQUARE.pdf

Made a slight update, to select borders or no borders.

Enjoy.
« Last Edit: August 11, 2024, 01:19:33 am by Boleeman »

#### Boleeman

• Hero Member
• Posts: 652
##### Re: Square Koch Fractal: Squares On Top of Each Other (Update)
« Reply #1 on: August 10, 2024, 05:58:50 am »
Some different colour filling options.

Comes up nicely with adding a border and then beveling it (with my other 2 programs)
« Last Edit: August 11, 2024, 08:20:30 am by Boleeman »

#### Boleeman

• Hero Member
• Posts: 652
##### Re: Square Koch Fractal: How to Reverse the Fill Colour Order in Grad. Fill?
« Reply #2 on: August 11, 2024, 01:22:19 am »
Got a bit stumped on:

How to Reverse the Fill Colour Order in Graduated Fill?

In other words have the same fill colours, but working in the reverse order. (as shown in attached png)
Did it in MsPaint in order to explain what I mean't.
Changing the order in which the squares are drawn would not work as the smaller squares need to be on the bigger ones.
« Last Edit: August 11, 2024, 01:25:08 am by Boleeman »

#### Boleeman

• Hero Member
• Posts: 652
##### Re: Square Koch Fractal: How to Reverse the Fill Colour Order in Grad. Fill?
« Reply #3 on: August 16, 2024, 07:17:10 pm »
I ended up making another slightly different (Traditional Square Fractal) version.

Enjoy.