Skip to content

Conversation

Jopestpe
Copy link
Contributor

@Jopestpe Jopestpe commented Oct 7, 2025

Description

  • Adds a triangle strip example with GUI controls, showing:
    • Adjustable number of segments via slider
    • Optional outline toggle
    • Color gradient based on angular position of triangles

Changelog

  • Added examples/shapes/shapes_triangle_strip.c - example code
  • Added examples/shapes/shapes_triangle_strip.png - screenshot
  • Updated Makefile, README.md, and examples_list.txt

Reference: p5.js Triangle Strip example

@raysan5 raysan5 changed the title [examples] Add shapes_triangle_strip [examples] Add shapes_triangle_strip Oct 7, 2025
@raysan5 raysan5 changed the title [examples] Add shapes_triangle_strip [examples] Added shapes_triangle_strip Oct 7, 2025
@raysan5 raysan5 merged commit 4cfae99 into raysan5:master Oct 7, 2025
17 checks passed
@raysan5
Copy link
Owner

raysan5 commented Oct 7, 2025

@Jopestpe thank you very much for the fast review! merging!

sakgoyal pushed a commit to sakgoyal/raylib that referenced this pull request Oct 9, 2025
* [examples] Add shapes_triangle_strip

* Remove functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants