Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
Targeted Line Colouring and Filling
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Understanding Constraints
by
TRon
[
Today
at 08:55:17 pm]
Resolving procedure symbo...
by
Thaddy
[
Today
at 08:52:57 pm]
Copying records with dyna...
by
McDoob
[
Today
at 08:24:20 pm]
C-library problem with in...
by
TRon
[
Today
at 07:55:45 pm]
Painting on a control - 3...
by
majolika
[
Today
at 07:03:54 pm]
[AI][Machine Learning] Te...
by
nouzi
[
Today
at 06:50:09 pm]
FPHTTPClient and SSL not ...
by
TRon
[
Today
at 06:35:11 pm]
New to internet programmi...
by
sunjob
[
Today
at 06:34:36 pm]
TDBEdit uneditable
by
LemonParty
[
Today
at 03:55:58 pm]
Access violation
by
smallfreak
[
Today
at 03:52:19 pm]
SPARC64: compiling Lazaru...
by
Fred vS
[
Today
at 02:54:09 pm]
Result not being set in c...
by
Martin_fr
[
Today
at 12:44:59 pm]
Lazarus Release Candidate...
by
Martin_fr
[
Today
at 12:34:17 pm]
The Silver Coder on YouTu...
by
d2010
[
Today
at 10:24:31 am]
UK's Online Safety Act
by
MarkMLl
[
Today
at 09:54:50 am]
Guide Lines Behavior
by
majolika
[
Today
at 06:11:12 am]
Trying to save an Animate...
by
zxandris
[
Today
at 04:58:36 am]
Trying to Write, Readable...
by
zxandris
[
Today
at 04:05:35 am]
LCL Web Native with D2Bri...
by
talisjonatas
[
Today
at 01:58:42 am]
constref and assembler x6...
by
ASerge
[January 24, 2025, 11:50:46 pm]
Synedit wordwrap
by
Martin_fr
[January 24, 2025, 10:26:36 pm]
application->terminate ma...
by
MarkMLl
[January 24, 2025, 09:42:14 pm]
Lazarus Bugfix Release 3....
by
Martin_fr
[January 24, 2025, 09:38:45 pm]
Drawing with psInsidefram...
by
Jonny
[January 24, 2025, 08:20:18 pm]
AVRPascal – free code edi...
by
ackarwow
[January 24, 2025, 07:49:52 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Targeted Line Colouring and Filling (Read 888 times)
Boleeman
Hero Member
Posts: 767
Targeted Line Colouring and Filling
«
on:
February 12, 2024, 12:47:51 pm »
The 2nd Randomly Colored colourful tree that I created in the post (
https://forum.lazarus.freepascal.org/index.php/topic,66009.0.html
) got me thinking
"is there a way of filling to a certain level and line colouring to another recursive level" ?
My brain started brainstorming with some help of the triple brew coffee that I usually make, .... and after experimenting I came up with
"Yes it is possible"
I did not like the appearance of black and other random dark colours, so I thought
"Hmmm, Luminance threshold could be limited"
So here is one version of what I came up with.
And the story might continue, with some additional updates. I wonder what else could be achieved!
«
Last Edit: February 12, 2024, 12:50:21 pm by Boleeman
»
Logged
Boleeman
Hero Member
Posts: 767
Re: Targeted Line Colouring and Filling
«
Reply #1 on:
February 12, 2024, 12:58:16 pm »
Spoiler ALERT.
Instead of random colors,
target a transition from
brown
to
green
.
Still have the fill happen to a certain recursive level, and non filling above those recursive levels.
This is what I mean of-course.
Logged
Boleeman
Hero Member
Posts: 767
Re: Targeted Line Colouring and Filling
«
Reply #2 on:
February 14, 2024, 07:34:28 am »
My next step was to simulate new growth and possible blossoming by adding colour to just the tips of the tree.
Attached are some examples for both tree types (Randomly Coloured tree and Brown to Green tree).
The tips of the trees
were not always well pronounced, so I pondered on what else I could do !
«
Last Edit: February 14, 2024, 07:38:39 am by Boleeman
»
Logged
Boleeman
Hero Member
Posts: 767
Re: Targeted Line Colouring and Filling
«
Reply #3 on:
February 14, 2024, 07:54:46 am »
My Solution was to vary the colour tip level, by
just colouring the last one, two or three recursion levels
.
So this is where I am at with this version of the Pythagoras Tree for Colouring and Filling !
Kinda like the added coloured tips effect.
Logged
Boleeman
Hero Member
Posts: 767
Re: Targeted Line Colouring and Filling
«
Reply #4 on:
February 14, 2024, 08:17:20 am »
And a sample of the trees with Transparent background.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
Targeted Line Colouring and Filling
TinyPortal
© 2005-2018