Commit Graph

168 Commits

Author SHA1 Message Date
Ray 6dfaf9fe7e REVIEWED: example shapes_hilbert_curve #5454
Make it more didactic and dynamic, avoid global variables
2025-12-30 21:19:54 +01:00
Hamza RAHAL 7523738677 Add hilbert curve example (#5454) 2025-12-30 20:11:37 +01:00
Ray 19a1683641 REXM: Updated examples 2025-12-09 19:25:08 +01:00
Rayumie 95c4efd7a3 Update comment on shapes_penrose_tile.c (#5384) 2025-12-03 16:56:41 +01:00
Ray 68befcc64f Update shapes_penrose_tile.c 2025-12-03 10:00:09 +01:00
Connor O'Connor 1bbc8682f4 Fixed some typos and mispellings (#5381)
Specifically "occured" -> "occurred"
2025-12-02 22:48:06 +01:00
Ray d3addad9a7 REVIEWED: example: shapes_penrose_tile formating 2025-12-02 22:34:48 +01:00
David Buzatto 3ba186f2c1 [examples] Added: shapes_penrose_tile (#5376)
* new shapes example - penrose tile

* stack cleanup

* proper use of strnlen, strncat and strncpy

* typo correction

* update screenshot of shapes_penrose_tile example
2025-12-01 12:57:45 +01:00
Ray 78661a4ee0 REXM: ADDED: shapes_ball_physics 2025-11-29 18:23:17 +01:00
David Buzatto 9f567e6ee4 Example for creating balls with simple physics simulation (#5372)
* Example for creating balls with simple physics simulation

The goal of this example is to create several colored balls whose movement is simulated and which respond to the action of being grabbed and dragged using the mouse.

* renaming example

renaming example from physics_bouncing_balls to shapes_ball_physics
2025-11-29 18:11:15 +01:00
Hugo 2b051afb29 [examples] shapes_kaleidoscope rewind, forward & reset buttons (#5369)
* [examples] rewind and forward lines drawing

* [examples] reset button

* [examples] update screenshot

* [examples] applied raylib convention
2025-11-25 19:10:56 +01:00
Ray 727a90c5d1 REVIEWED: Formatting to follow raylib conventions 2025-11-22 20:16:33 +01:00
Ray 0b9f463e64 REVIEWED: examples: Replace TABS and Remove trailing spaces 2025-11-19 13:18:10 +01:00
Ray 63fb407dc5 Update raygui to avoid warnings 2025-11-19 13:07:57 +01:00
Ray e3738c1b17 REXM: UPDATE: Reviewed all examples requirements 2025-11-19 11:53:55 +01:00
Ray 8081d2bd07 REDESIGNED: example: shapes_kaleidoscope, store lines #5361
This redesign stores lines in Update and draws stored lines in Draw, instead of previous approach of drawing directly to framebuffer with no cleaning. This approach allows some interesting features like line draw replay or reversing.
2025-11-19 09:34:13 +01:00
Ray e6ef99275a Update shapes_digital_clock.c 2025-11-18 21:14:48 +01:00
Ray 46ca641ec5 Update raygui to avoid warnings 2025-11-18 20:59:48 +01:00
Ray 9efe127f5d Update shapes_lines_drawing.c 2025-11-18 19:50:07 +01:00
Robin ❤️ 4caba49658 [examples] Added: shapes_rlgl_color_wheel example (#5355)
* [examples] Added: `shapes_rlgl_triangle` example

* correct name

* formatting

* Revert "formatting"

This reverts commit f1d246a648.

* Revert "correct name"

This reverts commit 974985ed49.

* Revert "[examples] Added: `shapes_rlgl_triangle` example"

This reverts commit d053b9afa0.

* [examples] Added: `shapes_rlgl_color_wheel` example

* clarify color variable

* formatting

* formatting

* formatting

* formatting

* reduce redundancy

* moved color updating code to update
2025-11-18 16:31:43 +01:00
Ray 5c2747e3a8 Update shapes_rlgl_triangle.c 2025-11-16 19:13:01 +01:00
Ray 470a326588 Update shapes_rlgl_triangle.c 2025-11-15 16:47:11 +01:00
Robin ❤️ 74f7112614 [examples] Added: shapes_rlgl_triangle example (#5353)
* [examples] Added: `shapes_rlgl_triangle` example

* correct name

* formatting
2025-11-14 17:09:30 +01:00
Ray 4883813bbb Update raygui.h 2025-11-05 20:52:18 +01:00
Ray cf9a0619ca REXM: Validate and update examples 2025-10-26 21:21:05 +01:00
Ray 0fbc4272d0 Remove trailing spaces 2025-10-26 18:22:23 +01:00
Kris a25d11ad1a Add example: shapes_math_angle_rotation (angle rotation lines) (#5236)
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-25 13:42:35 +02:00
Jopestpe 6f101f4011 [examples] Added: shapes_math_sine_cosine (#5257)
* draft: [examples] Added shapes_math_sine_cosine

* draft: [examples] Added screenshot shapes_math_sine_cosine

* Explementary

* Varying radius

* adjustments

* added comments and reorganized UI labels

* Updated Makefile, README.md, and examples_list.txt

* tabs to spaces

* Fix MSVC compilation

---------

Co-authored-by: Ray <raysan5@gmail.com>
2025-10-25 13:38:06 +02:00
Jeffery Myers 780a7df760 Fix warnings in more examples. (#5292) 2025-10-23 13:25:23 +02:00
Ray ec06f9be37 Removed trailing spaces 2025-10-21 13:51:03 +02:00
Robin ❤️ 3c5b3f1c17 [examples] Added shapes_lines_drawing (#5283)
* Added shapes_lines_drawing Example

* store result of clamp

* conventions

* fixed more brackets

* buffer comments
2025-10-21 10:11:19 +02:00
Ray cd0d693a56 Reviewed example 2025-10-17 17:09:55 +02:00
Ray ed8c4c1b9b REXM: Update examples collection, some renames 2025-10-17 17:01:38 +02:00
Ray ffc405325f Update shapes_pie_chart.c 2025-10-17 12:54:46 +02:00
Jopestpe 4256be5608 Fix branch array size and remove extra function (#5281)
* Fix branch array size and remove extra function

* Fix branch array size and remove extra function
2025-10-17 08:53:48 +02:00
Jopestpe 087aa1bc3f Fix triangle strip array size and simplify loop (#5280) 2025-10-17 08:53:02 +02:00
GideonSerf c6f9f76afb [examples] Added donut pie charts to shapes_pie_chart (#5277)
* Added donut chart option to pie chart example

* Increased example description buffer size

* Testing mouse trail building

* Removed unused variable

---------

Co-authored-by: Gideon Serfontein <gse@newspacesystems.com>
2025-10-16 09:53:55 +02:00
Ray 8e052b81b4 REVIEWED: New examples on VS project 2025-10-15 19:59:28 +02:00
JordSant 2a04317cff [examples] Added: shapes_particles (#5260)
* [Examples] Added shapes_particles

* Changes to follow the code conventions. Improved some things.

* Fixed name

* Fixed PNG name

---------

Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:39:47 +02:00
themushroompirates 1c45776bb7 Added clock of clocks example (#5263) 2025-10-15 19:37:17 +02:00
themushroompirates 1c39d47b5b Added simple starfield example (#5255) 2025-10-15 19:34:39 +02:00
Balamurugan R 7383de3dea feat(shapes): Add shapes_mouse_trail.c example and screenshot (#5246)
Co-authored-by: Balamurugan R <balamuruga.r050814@gmail.com>
2025-10-15 19:30:37 +02:00
GideonSerf af11859906 [examples] Added shapes_pie_chart (#5227)
* Added shapes_pie_chart example

* Made the example colorful

* Added some interactivity to the example

* Revert top comment to the standard

* Remove unused MAX_SLICES constant

---------

Co-authored-by: Gideon Serfontein <gse@newspacesystems.com>
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:25:01 +02:00
Jeffery Myers 7191749d66 [examples] Fix examples to work in MSVC (#5267)
* Fix warnings in many examples
Add examples to MSVC solution correctly

* fix CI error

---------

Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:02:52 +02:00
Hugo 9bf7699624 [examples] Added shapes_kaleidoscope (#5233)
* ADDED: example: `shapes_kaleidoscope`

* Add line reflection

* Updated with `rexm update`

* Follow raylib's conventions
2025-10-08 00:10:43 +02:00
Jopestpe 4cfae99a74 [examples] Added shapes_triangle_strip (#5240)
* [examples] Add shapes_triangle_strip

* Remove functions
2025-10-07 20:25:22 +02:00
Jopestpe b99a6cc6bd [examples] Added shapes_recursive_tree (#5229)
* ADDED: example: shapes_recursive_tree

* [examples] Added shapes_recursive_tree

* [examples] shapes_recursive_tree: adjustments

* Reduced tree depth from 12 to 10

* new shapes_recursive_tree.png

* follow the conventions

* follow the conventions 2
2025-10-06 22:35:18 +02:00
Ray 7e3b7cd349 REVIEWED: DrawLineDashed() 2025-10-02 13:38:13 +02:00
Ray 377853bb32 REXM: Updated new examples requried files 2025-10-02 13:16:00 +02:00
Ray 5d9c11e165 Updated examples 2025-10-02 13:04:34 +02:00