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
Robin ❤️
a5a5d3f347
removed unneeded include ( #5225 )
2025-10-01 18:33:51 +02:00
Luís Almeida
f680776941
feat:Added DrawLineDashed() and a new example explaining how to use this new function. ( #5222 )
2025-10-01 11:43:38 +02:00
Jopestpe
0e2e8ce225
[examples] Update shapes_bouncing_ball with gravity ( #5217 )
...
* [examples] Add shapes_bouncing_ball with gravity
* gravity could be enabled/disabled
2025-09-30 18:32:25 +02:00
Ray
5d9352a0a1
Update shapes_bullet_hell.c
2025-09-30 18:27:59 +02:00
zero
56e32f2c3e
ADDED: example: shapes_bullet_hell ( #5218 )
...
* add shapes_bullet_hell example
* adjust example count
2025-09-30 11:59:44 +02:00
Ray
84e2cbccc4
Update complexity level for shapes_digital_clock
2025-09-09 17:33:19 +02:00
Ray
a42eb2f79b
REDESIGNED: example: shapes_digital_clock
2025-09-09 17:32:13 +02:00
Ray
ef0dd5f774
REXM: Updated examples after some renames
2025-09-08 21:01:59 +02:00
Ray
adda398e65
REXM: RENAME: example: shapes_easings_rectangle_array --> shapes_easings_rectangles
2025-09-08 20:36:48 +02:00
Ray
5ac0539481
REXM: RENAME: example: shapes_easings_box_anim --> shapes_easings_box
2025-09-08 20:36:41 +02:00
Ray
84baaa6ee7
REXM: RENAME: example: shapes_easings_ball_anim --> shapes_easings_ball
2025-09-08 20:36:29 +02:00
Ray
b67e7ffc44
REXM: RENAME: example: shapes_draw_circle_sector --> shapes_circle_sector_drawing
2025-09-08 20:28:17 +02:00
Ray
16fbca2e8b
REXM: RENAME: example: shapes_draw_rectangle_rounded --> shapes_rounded_rectangle_drawing
2025-09-08 20:27:00 +02:00
Ray
25f4e544d1
REXM: UPDATED: Examples source code header info, aligned with name
2025-09-07 12:01:51 +02:00
Ray
1bbd4c3566
REXM: RENAME: example: shapes_draw_ring --> shapes_ring_drawing
2025-09-07 11:19:29 +02:00
Ray
2d19abb2cf
REXM: REVIEWED: Examples header info inconsistencies
2025-09-07 11:04:00 +02:00
Ray
eb816898e5
Revert "Added creation-review years to examples"
...
This reverts commit b5e25916fc .
2025-09-05 23:02:06 +02:00
Ray
b5e25916fc
Added creation-review years to examples
2025-09-05 11:25:24 +02:00
Ray
7646d08751
Updated some examples with inconsistencies
2025-09-04 18:57:00 +02:00
Ray
c579eef4b7
REVIEWED: Examples section comments, for better organization and consistency
2025-09-03 10:40:31 +02:00
Ray
aa475b1046
REVIEWED: Code sections description for consistency
2025-09-02 12:34:04 +02:00
Ray
b6ae380260
REVIEWED: Examples comments, consistent code sections
2025-09-02 12:10:16 +02:00
JohnnyCena123
0e73e0ea64
reviewed ALL non-external files to follow raylib's convention of no spaces around / or * ( #5153 )
2025-08-29 14:53:16 +02:00
Hamza RAHAL
507c85900f
fix: [digital_clock] minute hand doesn't appear ( #5151 )
2025-08-28 22:32:41 +02:00
Ray
a72b4b177b
Updated examples short description
2025-08-26 00:32:24 +02:00
Ray
4d0c3affaa
REXM: Update examples and lists
2025-08-24 10:53:47 +02:00
Ray
570082deba
WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.'
2025-08-07 18:23:20 +02:00
Ray
f0889a74fe
EXAMPLES: Format tweaks
2025-08-07 17:08:22 +02:00
Ray
f02c7fca8a
Update shapes_double_pendulum.c
2025-08-07 17:07:45 +02:00
Joecheong2006
10fadd9185
Replaced scalar to float
2025-07-22 11:59:46 -07:00
Joecheong2006
b6ae5af4e3
Removed redefined RAD and DEG
2025-07-22 11:57:16 -07:00
Joecheong2006
8a0ab163d3
Changed to 4 spaces
2025-07-22 11:50:48 -07:00
Joecheong2006
f1714a6234
[examples]: New shapes example - double pendulum
2025-07-21 14:59:51 -07:00
Ray
8a3a8ee8e3
Update shapes_digital_clock.c
2025-06-07 20:14:10 +02:00
Ray
5f497d0687
REVIEWED: shapes_digital_clock example
2025-06-03 20:42:27 +02:00
Hamza RAHAL
3f228f4594
[examples] : adding new fancy clock
2025-06-03 11:40:44 +02:00
Meowster
6d5aedbd38
Add DrawEllipseV and DrawEllipseLinesV
2025-05-29 07:10:52 -04:00
Amy Wilder
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
...
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
2025-03-09 11:40:24 +01:00
sleeptightAnsiC
f430d72a8c
[examples] fix: use quotation marks when including raylib.h ( #4821 )
...
...so it will always prioritize local version of raylib instead of
system-wide installations, which is a huge problem when testing any
changes done locally to raylib as it might cause silent mismatch issues.
There were only 4 examples affected by this issue which were using
`#include <raylib.h>`. Other examples use proper `#include "raylib.h"`
Fixes: https://github.com/raysan5/raylib/issues/4820
2025-03-07 19:24:53 +00:00
Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
...
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2025-01-18 19:41:56 +01:00
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
...
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
2025-01-17 10:42:30 +01:00
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
2025-01-12 16:19:10 +01:00
Jeffery Myers
a2f6ae6796
Fix warnings in examples ( #4492 )
...
Move shapes/shapes_rectangle_advanced to the correct folder in MSVC project
Add core_input_virtual_controls.vcxproj back into sln file
2024-11-15 08:25:09 +01:00
Ray
14d3bbbb86
Update raygui.h
2024-11-14 16:38:27 +01:00
Everton Jr.
ad79d4a884
[shapes] Add shapes_rectangle_advanced example implementing a DrawRectangleRoundedGradientH function ( #4435 )
...
* [rshapes] Add function
* "[shapes] rectangle advanced: fix screen width and height to fit with other examples"
2024-10-29 22:23:51 +01:00
Anthony Carbajal
3c5bdae7ab
update shapes bouncing ball ( #4226 )
2024-08-09 09:16:05 +02:00
Anthony Carbajal
5233b80fb7
update raygui ( #4238 )
2024-08-09 08:55:16 +02:00
kai-z99
97c02b2425
[examples] Fix some examples ( #4211 )
...
* Add text
* small typo
2024-08-07 01:05:53 +02:00
Jeffery Myers
e96bab7ce6
[Build] Fix warnings when building in VS 2022 ( #4095 )
...
* Update raylib_api.* by CI
* Fix warnings when building examples in MSVC 2022
* fix auto-format that sneaked in there.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 17:47:32 +02:00
Ray
715633e0de
REVIEWED: Spline cubic bezier example
2024-06-16 10:41:47 +02:00
Santiago Pelufo
640eaca8bf
[rshapes] Fix multisegment Bezier splines. ( #3744 )
...
* [rshapes] Fix multisegment Bezier splines.
It seems to me that these functions are wrong, if you step the index by 1 you move to a control point instead of the next segment.
* Fix example shapes/shapes_splines_drawing for bezier splines.
* Draw circles to fill gaps between bezier segments.
2024-06-16 10:21:54 +02:00
Ray
77cabc8bf2
Update shapes_draw_rectangle_rounded.c
2024-04-20 20:32:37 +02:00
Hongyu Ouyang
721e273547
Fix a bug in examples/shapes/shapes_following_eyes ( #3710 )
2024-01-06 11:32:10 +01:00
Ray
3afb4dda97
Update raygui.h
2024-01-05 22:32:59 +01:00
Ray
3f1e59a7cf
Update copyright to 2024
2024-01-02 20:58:12 +01:00
Ray
21dc42d2ad
Updated examples
2023-11-09 09:53:25 +01:00
Ray
c69b89cc42
Update example: shapes_splines_drawing
2023-11-09 02:01:00 +01:00
Ray
040b945fef
Reviewed some examples and warnings
2023-11-08 20:09:32 +01:00
Ray
bbf0c3a46d
REVIEWED: Added new examples to VS2022 solution
2023-11-08 17:41:08 +01:00
Ray
4b87cc455d
Update shapes_splines_drawing.c
2023-11-07 19:58:45 +01:00
Ray
f01d3db739
ADDED: GetSplinePoint*() functions for spline evaluation
...
RENAMED: `DrawLine<spline_type>()` to `DrawSpline<spline_type>()` for more consistent and clear naming
REVIEWED: Bezier drawing parameters order, more consistent
REVIEWED: Spline-based examples -WIP-
2023-11-07 19:25:49 +01:00
Jeffery Myers
6cd37e57a6
Fix warnings in visual studio ( #3512 )
2023-11-06 20:31:07 +01:00
Ray
fc21a8e552
Update raygui.h
2023-11-06 20:14:40 +01:00
Ray
f7c3035b8c
Update raygui.h
2023-09-24 23:51:23 +02:00
Ray
1896268775
Reviewed examples for consistency
2023-09-08 13:27:13 +02:00
Asdqwe
927a030bbf
Fix examples/shapes/shapes_collision_area.c help instructions ( #3279 )
2023-08-30 22:43:19 +02:00
Ray
6aada7d5ec
Updated examples to raygui 4.0-dev
2023-06-09 18:07:25 +02:00
Mingjie Shen
7b7c0c83ef
Fix offset used before range check ( #3021 )
...
This use of offset 'i' should follow the range check.
2023-04-22 10:13:11 +02:00
Nikolas
89171a2608
Add WASM support for Zig build ( #2901 )
...
* Add WASM support for Zig build
* Improve Web example building
* Remove emscript example building with Zig again
* Readd windows emscripten variables
2023-02-01 11:09:03 +01:00
Jeffery Myers
81ca2f0bf3
Fix warnings and bad project settings for 4.5 release ( #2894 )
2023-01-27 19:20:42 +01:00
Ray
e2a8066fca
Update year to 2023
2023-01-01 16:07:51 +01:00
Ray
b59fab7ee6
Update year to 2023
2023-01-01 16:00:56 +01:00
Dor Shapira
bcb47255b9
fixing typo ( #2781 )
...
fixing typo
2022-10-26 17:14:52 +02:00
Ray
e59442bfab
REMOVED: rlPushMatrix()/rlPopMatrix() from rshapes
...
This simplification will allow the usage of `rshapes` as STANDALONE mode in a future. Only a small set of `rlgl` functions are required and they can be "more" easely replaced if no `rlPushMatrix()`/`rlPopMatrix()` are involved.
More simplification planned for the future, maybe the textures dependencies.
2022-09-05 18:23:25 +02:00
moosey
f049f9dd3a
Tiny documentation fix in reasings.h ( #2640 )
2022-08-15 09:15:43 +02:00
Ray
b79df1c329
Updated easings examples
2022-08-02 18:55:49 +02:00