Recent

Author Topic: LazPaint Plugins  (Read 2287 times)

lainz

  • Hero Member
  • *****
  • Posts: 4609
  • Web, Desktop & Android developer
    • https://lainz.github.io/
LazPaint Plugins
« on: September 24, 2023, 01:28:05 pm »
Hi the idea of this post is to share threads that contains graphics drawings to be included as plugins into LazPaint.

Here I start: BGRABitmap demo projects
https://forum.lazarus.freepascal.org/index.php/topic,41421.0.html

It contains Fractal Tree (already included into LazPaint), Superformula (already discussed), Voxel & Plasma

Hypocycloid
https://forum.lazarus.freepascal.org/index.php/topic,64632.msg492240/topicseen.html

It contains hypocycloid (already included into dev-LazPaint) and Sutcliffe Pentagons (already discussed)

lainz

  • Hero Member
  • *****
  • Posts: 4609
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: LazPaint Plugins
« Reply #1 on: September 25, 2023, 05:58:34 pm »

circular

  • Hero Member
  • *****
  • Posts: 4356
    • Personal webpage
Re: LazPaint Plugins
« Reply #2 on: September 25, 2023, 07:52:34 pm »
Hi Lainz!

Thank you for sharing these fun and beautiful graphics.

For the initial curves focused on filling intersecting parts, while the idea is appealing, computing the intersections could present some complexity. We'd need maybe to use multipolygon drawing. This is doable with BGRABitmap but I wonder about how to store the information and present it within the user interface.

Regarding the path generation based on 3D positional formulas, it's a exciting idea. We could perhaps implement it similarly to the function filter, allowing users to input the formula in dedicated textboxes.

While the examples show a sphere drawn at each point, an initial implementation could be more straightforward: projecting 3D coordinates onto a 2D plane to produce the curve. The sphere size changes, so that would need that the pen width change, which is not possible yet with vector shapes. This would be complicated to implement.

Finally, it may be simpler to generate a series of disks filled with a radiant for each point.

What do you think?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4609
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: LazPaint Plugins
« Reply #3 on: September 25, 2023, 10:30:46 pm »
Yes your ideas are good to me.  :)

circular

  • Hero Member
  • *****
  • Posts: 4356
    • Personal webpage
Re: LazPaint Plugins
« Reply #4 on: September 26, 2023, 01:02:10 pm »
Thanks for your feedback.

The Sutcliffe Pentagons also look incredible.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4609
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: LazPaint Plugins
« Reply #5 on: October 29, 2023, 12:50:56 am »

Boleeman

  • Hero Member
  • *****
  • Posts: 722
Re: LazPaint Plugins
« Reply #6 on: October 29, 2023, 03:32:10 am »
Yes, the Koch Snowflakes are nice
(might need some extra features like making 4, 5, 6, ... sides like regular polygons and transparent background)

... and Regular Polygon Maker

https://forum.lazarus.freepascal.org/index.php/topic,61720.msg465839.html

... And your own Lainz's Superformula with added listview to store presets (by KodeZwerg)

https://forum.lazarus.freepascal.org/index.php/topic,61604.30.html

I would like to see this one extended to add layers and alter opacity and an animate to gif feature.
I did the animation manually (attached below) using the Superformula program and Pencil Animator.


... And Fractal Tree
(Lainz and mine)
https://forum.lazarus.freepascal.org/index.php/topic,41635.0.html


... And Fractal 3D Tree using GL rewritten by WP

https://forum.lazarus.freepascal.org/index.php/topic,64548.msg490930.html#msg490930


... And Transparent Random Fractal Tree

https://forum.lazarus.freepascal.org/index.php/topic,64049.msg486228.html#msg486228

... And LSystem Fractal Maker

https://forum.lazarus.freepascal.org/index.php/topic,63844.msg486230.html#msg486230

... And Tessellator (by KodeZwerg)

https://forum.lazarus.freepascal.org/index.php/topic,62001.30.html

... And finally Ulam Polygon Spiral Maker

https://forum.lazarus.freepascal.org/index.php/topic,64598.msg491326.html#msg491326






« Last Edit: October 29, 2023, 04:04:37 am by Boleeman »

 

TinyPortal © 2005-2018