# Rectangles and Extension functions

**URL:** <https://openrndr.discourse.group/t/rectangles-and-extension-functions/529>\
**Category:** OPENRNDR\
**Created:** [March 12, 2023, 12:13pm UTC](https://openrndr.discourse.group/t/rectangles-and-extension-functions/529 "2023-03-12T12:13:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [February 27, 2024, 2:43pm UTC](https://openrndr.discourse.group/t/rectangles-and-extension-functions/529/5 "2024-02-27T14:43:17Z")

</div>

Hi @ronenosity ! 🙂 welcome to the forum!

Inspired by your question I added a new reply to the thread about pen plotters:

> [@OPENRNDR pen plotting tricks (Axidraw etc.)](https://openrndr.discourse.group/t/openrndr-plotting-tricks-axidraw-etc/208/10):
>
> 9. Hatching Here goes a very basic example of how one could approach hatching. [axi.PatternBasic-2024-02-27-15.18.04] play_button Import fun main() { application { program { val cutterShape = hobbyCurve( List(10) { Polar(it \* 36.0, 100.0 + (it % 2) \* 100.0).cartesian + drawer.bounds.center }, true ).shape val svg = drawComposition { fill = null m…

About your question about PGS… That library seems to provide so many tools! I think OPENRNDR + ORX provide many of the same algorithms.

I would start by looking into the [guide](https://guide.openrndr.org/). Then there are [OPENRNDR demos](https://github.com/openrndr/openrndr/tree/master/openrndr-demos/src/main/kotlin), demos in the [ORX repository](https://github.com/openrndr/orx), and I think there are ORXes to keep anyone busy for a very long time 🙂 orx-shapes, orx-triangulation, orx-turtle, orx-marching-squares, orx-jvm/orx-boofcv…

If you are looking for a specific algorithm and can’t find it I can try to help.

Feel free to share images or links to your plots. Would be great to see what you create! 🙂

---

_[View the full topic](https://openrndr.discourse.group/t/rectangles-and-extension-functions/529)._
