Skip to content

Commit

Permalink
fix: image links
Browse files Browse the repository at this point in the history
  • Loading branch information
Rabbid76 committed May 26, 2024
1 parent ed8b2f0 commit 11a4f86
Show file tree
Hide file tree
Showing 57 changed files with 814 additions and 814 deletions.
220 changes: 110 additions & 110 deletions README.md

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions documentation/pygame/pygame_2D.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ Related Stack Overflow questions:

📁 **[Minimal example - Water ripple effect](../../examples/minimal_examples/pygame_minimal_2D_water_ripple_effect.py)**

![Water ripple effect Python and Pygame, from coding train video](https://i.stack.imgur.com/L0Ct5.gif)
![Water ripple effect Python and Pygame, from coding train video](https://i.sstatic.net/L0Ct5.gif)

📁 **[Minimal example - Water ripple effect using NumPy](../../examples/minimal_examples/pygame_minimal_2D_water_ripple_effect_numpy.py)**

![Water ripple effect Python and Pygame, from coding train video](https://i.stack.imgur.com/FfCWu.gif)
![Water ripple effect Python and Pygame, from coding train video](https://i.sstatic.net/FfCWu.gif)

## Particles

Related Stack Overflow questions:

- [Pygame change particle color](https://stackoverflow.com/questions/60944070/pygame-change-particle-color/60953697#60953697)
![Pygame change particle color](https://i.stack.imgur.com/DcHQy.gif)
![Pygame change particle color](https://i.sstatic.net/DcHQy.gif)

📁 **[Minimal example - Spraying particles](../../examples/minimal_examples/pygame_minimal_2D_particles.py)**

**[![](https://i.stack.imgur.com/5jD0C.png) repl.it/@Rabbid76/PyGame-BarnsleysFern](https://replit.com/@Rabbid76/PyGame-BarnsleysFern#main.py)**
**[![](https://i.sstatic.net/5jD0C.png) repl.it/@Rabbid76/PyGame-BarnsleysFern](https://replit.com/@Rabbid76/PyGame-BarnsleysFern#main.py)**

- [Create trails of particles for the bullets](https://stackoverflow.com/questions/72643317/create-trails-of-paticles-for-the-bullets/72644068#72644068)
![Create trails of particles for the bullets](https://i.stack.imgur.com/BOiNf.gif)
![Create trails of particles for the bullets](https://i.sstatic.net/BOiNf.gif)

📁 **[Minimal example - Rocket particles](../../examples/minimal_examples/pygame_minimal_2D_rocket_particles.py)**

Expand All @@ -44,7 +44,7 @@ Related Stack Overflow questions:
Related Stack Overflow questions:

- [Simple physics string](https://stackoverflow.com/questions/41862541/simple-physics-string/67749043#67749043)
![Simple physics string](https://i.stack.imgur.com/gNlG0.gif)
![Simple physics string](https://i.sstatic.net/gNlG0.gif)

📁 **[Minimal example - String animation](../../examples/minimal_examples/pygame_minimal_2D_string_animation.py)**

Expand All @@ -58,12 +58,12 @@ Related Stack Overflow questions:
📁 **[Minimal example - Barnsley's Fern](../../examples/minimal_examples/pygame_minimal_2D_barnsleys_fern.py)**

- [Is there anyway to do this recursively in pygame?](https://stackoverflow.com/questions/59455641/is-there-anyway-to-do-this-recursively-in-pygame/59456232#59456232)
- ![Is there anyway to do this recursively in pygame?](https://i.stack.imgur.com/fyYSY.png)
- ![Is there anyway to do this recursively in pygame?](https://i.sstatic.net/fyYSY.png)

📁 **[Minimal example - Recursive circles](../../examples/minimal_examples/pygame_minimal_2D_recursive_circles.py)**

- [Recursive Fractal Pygame - Not Displaying Shapes](https://stackoverflow.com/questions/30140671/recursive-fractal-pygame-not-displaying-shapes/69036894#69036894)
![Recursive Fractal Pygame - Not Displaying Shapes](https://i.stack.imgur.com/RxK8x.gif)
![Recursive Fractal Pygame - Not Displaying Shapes](https://i.sstatic.net/RxK8x.gif)

📁 **[Minimal example - Fractal Sierpinski Carpet](../../examples/minimal_examples/pygame_minimal_2D_fractal_sierpinski_carpet.py)**

Expand All @@ -80,12 +80,12 @@ Related Stack Overflow questions:
Related Stack Overflow questions:

- [A Bowyer-Watson Delaunay Triangulation I implemented doesn't remove the triangles that contain points of the super-triangle](https://stackoverflow.com/questions/58116412/a-bowyer-watson-delaunay-triangulation-i-implemented-doesnt-remove-the-triangle/58122991#58122991)
![scene](https://i.stack.imgur.com/Cogod.png)
![scene](https://i.sstatic.net/Cogod.png)

📁 **[Minimal example - Bowyer-Watson Delaunay Triangulation 1](../../examples/minimal_examples/pygame_minimal_2D_bowyer_watson_delyunay_triangulation_1.py)**

- [Bowyer-Watson triangulates incorrectly when trying to implement circumcircle calculation for vertices at infinity](https://stackoverflow.com/questions/58203812/bowyer-watson-triangulates-incorrectly-when-trying-to-implement-circumcircle-cal/58205019#58205019)
![scene](https://i.stack.imgur.com/4NMrx.png)
![scene](https://i.sstatic.net/4NMrx.png)

📁 **[Minimal example - Bowyer-Watson Delaunay Triangulation 2](../../examples/minimal_examples/pygame_minimal_2D_bowyer_watson_delyunay_triangulation_2.py)**

Expand All @@ -94,7 +94,7 @@ Related Stack Overflow questions:
Related Stack Overflow questions:

- [Trying to code the Recaman Sequence, but issue with the parameters I pass for drawing an arc](https://stackoverflow.com/questions/54384422/trying-to-code-the-recaman-sequence-but-issue-with-the-parameters-i-pass-for-dr/54386695#54386695)
![Trying to code the Recaman Sequence, but issue with the parameters I pass for drawing an arc](https://i.stack.imgur.com/R77eo.png)
![Trying to code the Recaman Sequence, but issue with the parameters I pass for drawing an arc](https://i.sstatic.net/R77eo.png)

📁 **[Minimal example - Recaman's sequence](../../examples/minimal_examples/pygame_minimal_2D_racamans_sequence.py)**

Expand All @@ -109,13 +109,13 @@ Related Stack Overflow questions:
Related Stack Overflow questions:

- [Neon effect in pygame?](https://stackoverflow.com/questions/67933919/neon-effect-in-pygame/67934335#67934335)
![Neon effect in pygame?](https://i.stack.imgur.com/RN95m.png)
![Neon effect in pygame?](https://i.sstatic.net/RN95m.png)

- [Bloom Effect in Pygame so that text glows](https://stackoverflow.com/questions/67561142/bloom-effect-in-pygame-so-that-text-glows)

- [Surface alpha lost when converting pygame to cv2 to pygame](https://stackoverflow.com/questions/69888520/surface-alpha-lost-when-converting-pygame-to-cv2-to-pygame/69888915#69888915)
![Surface alpha lost when converting pygame to cv2 to pygame](https://i.stack.imgur.com/TDMno.png)
![Surface alpha lost when converting pygame to cv2 to pygame](https://i.sstatic.net/TDMno.png)
- [Dark borders in cv2.blur](https://stackoverflow.com/questions/69977901/dark-borders-in-cv2-blur/69981313#69981313)
![Dark borders in cv2.blur](https://i.stack.imgur.com/u84RH.png)
![Dark borders in cv2.blur](https://i.sstatic.net/u84RH.png)

📁 **[Minimal example - Bloom](../../examples/minimal_examples/pygame_minimal_2D_bloom.py)**
26 changes: 13 additions & 13 deletions documentation/pygame/pygame_3D.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,40 @@ Related Stack Overflow questions:
- [Does PyGame do 3d?](https://stackoverflow.com/questions/4865636/does-pygame-do-3d/65618694#65618694)

- [3D Projection in pygame](https://stackoverflow.com/questions/63944055/3d-projection-in-pygame/63944641#63944641)
![3D Projection in pygame](https://i.stack.imgur.com/rsRSo.gif)
![3D Projection in pygame](https://i.sstatic.net/rsRSo.gif)

📁 **[Minimal example - 3D rotate 1](../../examples/minimal_examples/pygame_minimal_3D_rotate_1.py)**

- [How to rotate a square around x-axis in a 3D space](https://stackoverflow.com/questions/63651594/how-to-rotate-a-square-around-x-axis-in-a-3d-space/63654537#63654537)
![How to rotate a square around x-axis in a 3D space](https://i.stack.imgur.com/IZZjm.gif)
![How to rotate a square around x-axis in a 3D space](https://i.sstatic.net/IZZjm.gif)

📁 **[Minimal example - 3D rotate 2](../../examples/minimal_examples/pygame_minimal_3D_rotate_2.py)**

- [Pygame rotating cubes around axis](https://stackoverflow.com/questions/56285017/pygame-rotating-cubes-around-axis/56286203#56286203)
![Pygame rotating cubes around axis](https://i.stack.imgur.com/uPxgF.gif)
![3d](https://i.stack.imgur.com/4rFgh.gif)
![Pygame rotating cubes around axis](https://i.sstatic.net/uPxgF.gif)
![3d](https://i.sstatic.net/4rFgh.gif)

📁 **[Minimal example - 3D depth sort 1](../../examples/minimal_examples/pygame_minimal_3D_depth_sort_1.py)**

**[![](https://i.stack.imgur.com/5jD0C.png) repl.it/@Rabbid76/PyGame-3D](https://replit.com/@Rabbid76/PyGame-3D#main.py)**
**[![](https://i.sstatic.net/5jD0C.png) repl.it/@Rabbid76/PyGame-3D](https://replit.com/@Rabbid76/PyGame-3D#main.py)**

- [Close range 3d display messed up](https://stackoverflow.com/questions/60330496/close-range-3d-display-messed-up/60335112#60335112)
![Close range 3d display messed up](https://i.stack.imgur.com/cD7t9.gif)
![Close range 3d display messed up](https://i.sstatic.net/cD7t9.gif)
- [Depth issue with 3D graphics](https://stackoverflow.com/questions/59690079/depth-issue-with-3d-graphics/59692739#59692739)
![Depth issue with 3D graphics](https://i.stack.imgur.com/bp3Dh.gif)
![Depth issue with 3D graphics](https://i.sstatic.net/bp3Dh.gif)

📁 **[Minimal example - 3D depth sort 2](../../examples/minimal_examples/pygame_minimal_3D_depth_sort_2.py)**

- [Pygame's rect.clip function in 3D](https://stackoverflow.com/questions/56079522/pygames-rect-clip-function-in-3d/56080083#56080083)

- [How to improve my simulation of 3d space in pygame?](https://stackoverflow.com/questions/58674461/how-to-improve-my-simulation-of-3d-space-in-pygame/58675007#58675007)
![How to improve my simulation of 3d space in pygame?](https://i.stack.imgur.com/Nwntm.gif)
![How to improve my simulation of 3d space in pygame?](https://i.sstatic.net/Nwntm.gif)

- [Using vector cross product to hide 3D faces](https://stackoverflow.com/questions/67127291/using-vector-cross-product-to-hide-3d-faces/67127462#67127462)
![Using vector cross product to hide 3D faces](https://i.stack.imgur.com/69sAB.gif)
![Using vector cross product to hide 3D faces](https://i.sstatic.net/69sAB.gif)

- [Pygame won't draw quads in the right order](https://stackoverflow.com/questions/67143657/pygame-wont-draw-quads-in-the-right-order/67146073#67146073)
![Pygame won't draw quads in the right order](https://i.stack.imgur.com/pKxTT.gif)
![Pygame won't draw quads in the right order](https://i.sstatic.net/pKxTT.gif)

📁 **[Minimal example - 3D Cube, gfxdraw module](../../examples/minimal_examples/pygame_minimal_3D_cube_gfxdraw.py)**

Expand All @@ -54,11 +54,11 @@ Related Stack Overflow questions:
📁 **[Minimal example - 3D Cube, perspective](../../examples/minimal_examples/pygame_minimal_3D_perspective_1.py)**

- [How do I fix wall warping in my raycaster?](https://stackoverflow.com/questions/74060836/how-do-i-fix-wall-warping-in-my-raycaster/74061346#74061346)
![How do I fix wall warping in my raycaster?](https://i.stack.imgur.com/XWWai.png)
![How do I fix wall warping in my raycaster?](https://i.stack.imgur.com/2DdYw.gif)
![How do I fix wall warping in my raycaster?](https://i.sstatic.net/XWWai.png)
![How do I fix wall warping in my raycaster?](https://i.sstatic.net/2DdYw.gif)

- [Creating a 3d rendering in python with a camera. objects get progressively deformed toward the edge of the screen](https://stackoverflow.com/questions/74353418/creating-a-3d-rendering-in-python-with-a-camera-objects-get-progressively-defor)
![Creating a 3d rendering in python with a camera. objects get progressively deformed toward the edge of the screen](https://i.stack.imgur.com/BY8O9.gif)
![Creating a 3d rendering in python with a camera. objects get progressively deformed toward the edge of the screen](https://i.sstatic.net/BY8O9.gif)

## Textures

Expand Down
2 changes: 1 addition & 1 deletion documentation/pygame/pygame_and_othere_libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Related Stack Overflow questions:
Related Stack Overflow questions:

- [How can I integrate a Line Chart Viewer in PyGame?](https://stackoverflow.com/questions/70493951/how-can-i-integrate-a-line-chart-viewer-in-pygame/70494476#70494476)
![How can I integrate a Line Chart Viewer in PyGame?](https://i.stack.imgur.com/iL9v5.png)
![How can I integrate a Line Chart Viewer in PyGame?](https://i.sstatic.net/iL9v5.png)

📁 **[Minimal example - MAth plot lib](../../examples/minimal_examples/pygame_minimal_mathplotlib_1.py)**

Expand Down
6 changes: 3 additions & 3 deletions documentation/pygame/pygame_and_pymunk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
Related Stack Overflow questions:

- [Get the updated coordinates of a pymunk rotating kinetic body](https://stackoverflow.com/questions/64521750/get-the-updated-coordinates-of-a-pymunk-rotating-kinetic-body/64521960#64521960)
![Get the updated coordinates of a pymunk rotating kinetic body](https://i.stack.imgur.com/iV1Ij.gif)
![Get the updated coordinates of a pymunk rotating kinetic body](https://i.sstatic.net/iV1Ij.gif)

📁 **[Minimal example - Pymunk kinematics](../../examples/minimal_examples/pygame_minimal_pymuk_kinematics_1.py)**

- [Pymunk bodies colliding without touching each other](https://stackoverflow.com/questions/69816874/pymunk-bodies-colliding-without-touching-each-other/69816950#69816950)

- [Python code problem displaying a polygon in PyGame using a polygon modeled in PyMunk](https://stackoverflow.com/questions/70320642/python-code-problem-printing-a-polygon-in-pygame-using-a-polygon-modeled-in-pymu/70322364#70322364)
![Python code problem displaying a polygon in PyGame using a polygon modeled in PyMunk](https://i.stack.imgur.com/DEdJS.png)
![Python code problem displaying a polygon in PyGame using a polygon modeled in PyMunk](https://i.stack.imgur.com/AMkPA.png)
![Python code problem displaying a polygon in PyGame using a polygon modeled in PyMunk](https://i.sstatic.net/DEdJS.png)
![Python code problem displaying a polygon in PyGame using a polygon modeled in PyMunk](https://i.sstatic.net/AMkPA.png)

16 changes: 8 additions & 8 deletions documentation/pygame/pygame_background.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Related Stack Overflow questions:

- [How To Create A Checkered Background Using Pygame Surfarrays?](https://stackoverflow.com/questions/73277963/how-to-create-a-checkered-background-using-pygame-surfarrays/73278096#73278096)
![How To Create A Checkered Background Using Pygame Surfarrays?](https://i.stack.imgur.com/YYTQ3.png)
![How To Create A Checkered Background Using Pygame Surfarrays?](https://i.sstatic.net/YYTQ3.png)

📁 **[Minimal example - Checkered background](../../examples/minimal_examples/pygame_minimal_checkered_background_1.py)**

Expand All @@ -20,7 +20,7 @@ Related Stack Overflow questions:
- [How do i properly rescale an image on PyGame without it being badly cropped?](https://stackoverflow.com/questions/55319967/how-do-i-properly-rescale-an-image-on-pygame-without-it-being-badly-cropped/55321552#55321552)

- [How to scale an image by window size?](https://stackoverflow.com/questions/68424287/how-to-scale-an-image-by-window-size/68424354#68424354)
![How to scale an image by window size?](https://i.stack.imgur.com/KIjG8.png)
![How to scale an image by window size?](https://i.sstatic.net/KIjG8.png)

- [How to scale images to screen size in Pygame](https://stackoverflow.com/questions/20002242/how-to-scale-images-to-screen-size-in-pygame/73384976#73384976)

Expand All @@ -37,23 +37,23 @@ Related Stack Overflow questions:
📁 **[Minimal example - Scroll background vertical](../../examples/minimal_examples/pygame_minimal_display_scroll_background_1.py)**

- [How to scroll the background surface in PyGame?](https://stackoverflow.com/questions/55319181/how-to-scroll-the-background-surface-in-pygame/55321731#55321731)
![How to scroll the background surface in PyGame?](https://i.stack.imgur.com/QosjL.gif)
![How to scroll the background surface in PyGame?](https://i.sstatic.net/QosjL.gif)

📁 **[Minimal example - Scroll background vertical](../../examples/minimal_examples/pygame_minimal_display_scroll_background_2.py)**

- [How to move the background image with keys in pygame?](https://stackoverflow.com/questions/61039508/how-to-move-the-background-image-with-keys-in-pygame/61039821#61039821)
- [Pygame : Two layered scrolling background, can you help me?](https://stackoverflow.com/questions/55454487/pygame-two-layered-scrolling-background-can-you-help-me/55460386#55460386)

- [How to move the player across a one background image?](https://stackoverflow.com/questions/67736156/how-to-move-the-player-across-a-one-background-image/67741682#67741682)
![How to move the player across a one background image?](https://i.stack.imgur.com/Mb09D.gif)
![How to move the player across a one background image?](https://i.sstatic.net/Mb09D.gif)

📁 **[Minimal example - Scroll background with player](../../examples/minimal_examples/pygame_minimal_display_scroll_background_3.py)**

- [How to continuously move an image smoothly in Pygame?](https://stackoverflow.com/questions/67944873/how-to-continuously-move-an-image-smoothly-in-pygame/67946424#67946424)
![How to continuously move an image smoothly in Pygame?](https://i.stack.imgur.com/7Rexy.gif)
![How to continuously move an image smoothly in Pygame?](https://i.sstatic.net/7Rexy.gif)

- [How to move the player across a one background image?](https://stackoverflow.com/questions/67736156/how-to-move-the-player-across-a-one-background-image?noredirect=1#comment119731761_67736156)
![How to move the player across a one background image?](https://i.stack.imgur.com/Mb09D.gif)
![How to move the player across a one background image?](https://i.sstatic.net/Mb09D.gif)

If you want to have a continuously repeating background, then you've to draw the background twice:

Expand Down Expand Up @@ -96,7 +96,7 @@ Related Stack Overflow questions:
- [Issue while creating a parallax background in pygame](https://stackoverflow.com/questions/76931511/issue-while-creating-a-parallax-background-in-pygame/76931586#76931586)

- [How to make parallax scrolling work properly with a camera that stops at edges pygame](https://stackoverflow.com/questions/63712333/how-to-make-parallax-scrolling-work-properly-with-a-camera-that-stops-at-edges-p/74002486#74002486)
![How to make parallax scrolling work properly with a camera that stops at edges pygame](https://i.stack.imgur.com/9Ogyf.png)
![How to make parallax scrolling work properly with a camera that stops at edges pygame](https://i.sstatic.net/9Ogyf.png)

📁 **[Minimal example - Parallax background](../../examples/minimal_examples/pygame_minimal_parallax_background.py)**

Expand All @@ -116,4 +116,4 @@ bg_layer_2_x = (bg_layer_2_x - move_x*0.75) % 600
bg_layer_3_x = (bg_layer_3_x - move_x*0.5) % 600
```

![How to make parallax scrolling work properly with a camera that stops at edges pygame](https://i.stack.imgur.com/SB6cp.gif)
![How to make parallax scrolling work properly with a camera that stops at edges pygame](https://i.sstatic.net/SB6cp.gif)
Loading

0 comments on commit 11a4f86

Please sign in to comment.