Commit Graph

11 Commits

Author SHA1 Message Date
Edwin Jakobs
307b3fc282 [orx-shapes] Extend circle inversion functionalities and update demos 2025-08-20 21:38:58 +02:00
Edwin Jakobs
e92f3c3ff9 [orx-shapes] Adjust circle center position in DemoCircleInversion01 to avoid impossible inversion 2025-08-16 21:54:33 +02:00
Edwin Jakobs
c44175c1c9 [orx-shapes] Add circle inversion primitives and demo examples 2025-08-16 17:26:55 +02:00
Abe Pazos
6db05951ef Remove unused imports 2025-08-04 12:00:35 +02:00
Edwin Jakobs
b259e9c2de [orx-shapes] Add rectangle align, distribute and fit functions 2025-07-06 23:35:40 +02:00
Edwin Jakobs
b3e8543555 [orx-shapes] Add place function and demo for rectangle placement
Introduce `Rectangle.place` to position rectangles dynamically within bounds using anchor points. Added a demo (`DemoRectanglePlace01`) showcasing a 10x10 grid of rectangles evenly distributed across the canvas.
2025-02-25 07:08:48 +01:00
Edwin Jakobs
a7d878a710 [orx-shapes] Add irregular grid support and demo examples
This commit introduces `Rectangle.irregularGrid`, enabling the creation of grids with irregular spacing based on weights. New helper methods and properties for 2D rectangle lists, such as subgrid selection, bounds calculation, and random access, are also added. Additionally, two new demos showcase regular and irregular grid features.
2025-02-20 16:57:35 +01:00
Abe Pazos
c8f7dd52c6 Demos: ensure all use fun main() = application {
- Adjust some demo window sizes.
- Replace Random.double by Double.uniform
- Tweak some demos so screenshots look more interesting
2025-01-26 20:57:04 +01:00
Edwin Jakobs
fba1e5b61a [orx-noise] Add hash functions 2024-10-20 14:15:02 +02:00
Edwin Jakobs
6b9c3593ae [orx-shapes] Add Rectangle.intersection() 2024-09-25 22:26:37 +02:00
Edwin Jakobs
8fbb106823 [orx-shapes] Refactor package layout 2024-01-23 09:38:43 +01:00