Commit Graph

1680 Commits

Author SHA1 Message Date
Edwin Jakobs
a93b3074c5 add demos to README.md 2025-03-06 19:59:12 +00:00
Edwin Jakobs
5b55405a51 [orx-shade-styles] Revise level quantization 2025-03-06 20:48:22 +01:00
Edwin Jakobs
49a3f3ea49 [orx-shade-styles] Re-introduce color conversion in GradientBase 2025-03-06 13:05:07 +01:00
Edwin Jakobs
3ac541354a add demos to README.md 2025-03-06 11:36:26 +00:00
Edwin Jakobs
69721407af [orx-shade-styles] Add HemisphereLight shader and demo example
Introduce the `HemisphereLight` shader for smooth gradient lighting based on surface orientation relative to a light direction. Add a demo featuring the Suzanne model to showcase the shader in action.
2025-03-06 12:26:18 +01:00
Edwin Jakobs
e944bd30d3 [orx-shapes] Remove System.setProperty() add Camera2D to DemoText01.kt 2025-03-06 12:26:18 +01:00
Edwin Jakobs
21b41431fc add demos to README.md 2025-03-05 19:26:31 +00:00
Edwin Jakobs
b8bcd21a19 [orx-shade-styles] Add visualizeNormals shade style. 2025-03-05 19:11:35 +01:00
Edwin Jakobs
9d5a56cad5 [orx-shade-styles Use parameter function for setting shader parameters in DemoImageFill03.kt 2025-03-05 19:10:44 +01:00
Edwin Jakobs
a3080ccc7a [orx-shade-styles] Refactor ImageFillBuilder to use StyleParameters interface.
Replaced custom parameter handling in ImageFillBuilder with the standardized StyleParameters interface.
2025-03-05 17:02:37 +01:00
Edwin Jakobs
50efe4da82 [orx-shade-styles] Implement StyleParameters in GradientBuilder
Make GradientBuilder comply with StyleParameters by adding related fields and methods. This enables parameter management for gradient styles.
2025-03-05 15:19:25 +01:00
Edwin Jakobs
68ac84e8b2 add demos to README.md 2025-03-05 14:10:47 +00:00
Edwin Jakobs
331c28e52e [orx-shade-styles] Add pattern shade styles 2025-03-05 14:57:39 +01:00
Edwin Jakobs
3661f5c82a add demos to README.md 2025-03-04 19:40:29 +00:00
Edwin Jakobs
6ef8e8ff6d [orx-shade-styles] Add composed gradient and clip shading demo example 2025-03-04 20:31:59 +01:00
Edwin Jakobs
258c3c1535 [orx-shade-styles] Replace analytic filtering with multisample based filtering 2025-03-04 17:34:52 +01:00
Edwin Jakobs
098a26e1a9 [orx-shade-styles] Improve quantization filtering 2025-03-04 11:00:33 +01:00
Edwin Jakobs
93249ca973 add demos to README.md 2025-03-04 09:06:55 +00:00
Edwin Jakobs
dc09a849fd [orx-shade-styles] Add advanced clip-based shade styles and demos 2025-03-04 08:38:38 +01:00
Edwin Jakobs
e7f11d90b2 [orx-shade-styles] Add elliptical gradient support 2025-03-04 08:38:38 +01:00
Edwin Jakobs
5bd5421f31 [orx-shader-phrases] Add SDF shader phrases for ellipse and star shapes 2025-03-04 08:38:38 +01:00
Abe Pazos
21c7c959b7 Upgrade to netty 4.1.119.Final, ktor 3.1.1 2025-03-02 10:05:54 +08:00
Edwin Jakobs
4bceb2f421 add demos to README.md 2025-02-27 09:34:23 +00:00
Edwin Jakobs
fe87704efd [orx-shadestyle] Fix COVER and CONTAIN fit modes for BOUNDS units in GradientBase 2025-02-27 10:20:17 +01:00
Edwin Jakobs
ee8a709cc0 [orx-shapes] Add placeIn methods for Rectangle and Box 2025-02-27 10:20:17 +01:00
Edwin Jakobs
3c0f40f3a6 add demos to README.md 2025-02-26 21:45:56 +00:00
Edwin Jakobs
5a1998e270 [orx-math] Add missing SimplexRange update 2025-02-26 22:36:27 +01:00
Edwin Jakobs
90d9e4685e [orx-noise] Add demos and extensions for uniform simplex sampling 2025-02-26 22:12:26 +01:00
Edwin Jakobs
6ad584a262 [orx-shapes] Add extensions for creating sub-shapes and positioning boxes
Introduce `Rectangle.sub` and `Box.sub` functions to derive sub-rectangles and sub-boxes from existing shapes using relative dimensions. Add `Box.place` to position a box relative to another using customizable anchors.
2025-02-26 22:12:26 +01:00
Edwin Jakobs
bd310d7014 add demos to README.md 2025-02-26 20:44:22 +00:00
Edwin Jakobs
acf1c33c5e [orx-image-fit] Add imageFitSub function
Introduce the `imageFitSub` function, enabling subsections of images to be drawn with fit and alignment capabilities. Added a demo showcasing its usage with grid-based rendering and updated dependencies with `orx-noise` for randomness support.
2025-02-26 21:30:24 +01:00
Edwin Jakobs
660949271d [orx-noise] Add uniformSub functions for Box and Rectangle
Introduce `uniformSub` functions to generate sub-boxes and sub-rectangles with random dimensions within specified ranges. These additions enhance functionality for creating randomized geometric shapes.
2025-02-26 21:30:24 +01:00
Edwin Jakobs
72af832655 add demos to README.md 2025-02-26 17:49:45 +00:00
Edwin Jakobs
c1ecf6867b [orx-temporal-blur] Fix DemoColorShift01.kt 2025-02-26 18:34:06 +01:00
Edwin Jakobs
0046348410 [orx-color] Add color transforms from OPENRNDR, add colorMatrix {} 2025-02-26 18:01:36 +01:00
Edwin Jakobs
ef1b8a6493 Upgrade to Gradle 8.13 2025-02-26 15:03:00 +01:00
Edwin Jakobs
2053b24755 add demos to README.md 2025-02-26 12:19:07 +00:00
Edwin Jakobs
404d8b4332 [orx-text-writer] Handle nullable fontMap 2025-02-26 13:00:55 +01:00
Edwin Jakobs
46744025a8 [orx-text-writer] Add horizontal and vertical text alignment features
Introduced horizontalAlign and verticalAlign properties in WriteStyle and TextWriter, enabling precise text alignment within bounding boxes. Enhanced text token management to support alignment calculations and adjusted demos to showcase the new capabilities.
2025-02-26 12:27:50 +01:00
Edwin Jakobs
a4c053183c add demos to README.md 2025-02-25 11:51:39 +00:00
Edwin Jakobs
9a93d95318 [orx-shadestyles] Improve gradient and imageFill shadestyles 2025-02-25 12:17:06 +01:00
Edwin Jakobs
21a3d7f483 add demos to README.md 2025-02-25 06:52:24 +00: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
0a3051a088 [orx-noise] Add utility functions for random Boolean generation
Introduce `Boolean.random` and `Boolean.randoms` functions for generating random Boolean values with a specified probability. These utilities support single values and lists, using a customizable `Random` instance.
2025-02-24 12:30:09 +01:00
Edwin Jakobs
17e10a59ee [orx-shapes] Add utilities for sub-list operations in Rectangle grids
Introduced functions for slicing, dropping, and selecting columns in 2D rectangle grids, including `uniformBlock` for random sub-block extraction.
2025-02-20 23:56:52 +01:00
Edwin Jakobs
291038e621 [orx-shapes] Add box splitting and subtraction utilities
Introduce `splitAtX`, `splitAtY`, and `splitAtZ` methods to divide a box along specific axes. Implement `subtract` methods to handle box subtraction and remove intersecting regions, with support for operations on individual boxes and lists of boxes.
2025-02-20 23:56:52 +01:00
Edwin Jakobs
b03e39b52e [orx-shapes] Add rectangle splitting and subtraction utilities
Introduce functions to split rectangles at specified axes and subtract overlapping areas. These utilities allow precise manipulation of rectangle shapes, including dividing and removing intersections while preserving non-overlapping sections.
2025-02-20 23:56:52 +01:00
Edwin Jakobs
6e53086693 add demos to README.md 2025-02-20 19:09:09 +00:00
Edwin Jakobs
f636b6e057 add auto-generated README 2025-02-20 19:09:08 +00:00
Edwin Jakobs
78ddb73850 [orx-text-on-contour] Add support for drawing text along contours 2025-02-20 19:54:59 +01:00