Skip to content

Commit dfc1304

Browse files
authored
Update README.md
1 parent c6598e0 commit dfc1304

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,31 @@ JavaDoc: http://thomasdiewald.com/processing/libraries/liquidfun/reference/index
2121
![LiquidFunProcessing](https://github.com/diwi/LiquidFunProcessing/blob/master/screenshots/examples/diewald_LiquidFunProcessing_Examples2.jpg)
2222

2323
## Examples
24-
The library includes a lot of examples from the original ![jbox2d testbed](https://github.com/jbox2d/jbox2d/tree/master/jbox2d-testbed/src/main/java/org/jbox2d/testbed/tests).<br>
24+
The library includes a lot of examples from the original [jbox2d testbed](https://github.com/jbox2d/jbox2d/tree/master/jbox2d-testbed/src/main/java/org/jbox2d/testbed/tests).<br>
2525
For a quick start, each sketch has a couple of default eventhandlers:
2626

2727
- LMB: drag rigid bodies / particles
2828
- LMB + SHIFT: shoot a bullet
2929
- MMB: spawn particles
3030
- RMB: destroy particles
3131

32-
... ss well as some key-mapping, e.g. to display the debug-draw, restart, pause/resume.<br>
32+
... as well as some key-mapping, e.g. to display the debug-draw, restart, pause/resume.<br>
3333
Of course, each of those can be altered, overwritten or disabled/removed.
3434

3535
<br>
3636

37+
38+
## Rendermodes
39+
Default renderer, no postprocessing, particles are rendered as point-sprites, rigid bodies are rendered using the PShape tree structure.
40+
![Default](https://github.com/diwi/LiquidFunProcessing/blob/master/screenshots/rendermodes/diewald_LiquidFunProcessing_RenderRaw.jpg)
41+
42+
Default renderer + Postprocessing to get a liquid effect and some fake shading.
43+
PixelFlow (https://github.com/diwi/PixelFlow) needs to be installed to use it.
44+
![LiquidFx](https://github.com/diwi/LiquidFunProcessing/blob/master/screenshots/rendermodes/diewald_LiquidFunProcessing_RenderLiquidFx.jpg)
45+
46+
Debug Draw, using the box2d world for rendering.
47+
![Debug](https://github.com/diwi/LiquidFunProcessing/blob/master/screenshots/rendermodes/diewald_LiquidFunProcessing_RenderDebug.jpg)
48+
3749
## Resources
3850

3951
- jBox2d web: http://www.jbox2d.org/

0 commit comments

Comments
 (0)