Commit c5453e4
committed
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- .vscode
- contributor_docs
- archive
- es
- hi
- images
- ja
- ko
- project_wrapups
- zh-Hans
- docs
- lib/empty-example
- preview
- global
- src
- accessibility
- color
- core
- friendly_errors
- data
- dom
- events
- image
- io
- math
- Matrices
- shape
- strands
- type
- utilities
- webgl
- shaders
- filters
- functions
- webgpu
- shaders
- filters
- functions
- test
- manual-test-examples
- async
- loadJSON_callback
- loadJSON_options
- loadJSON_preload
- dom/radio_test
- keyboard
- type
- types
- unit
- accessibility
- assets
- color
- core
- dom
- events
- image
- io
- math
- types
- type
- visual
- cases
- screenshots
- Noise
- Drawn as values
- Drawn in a shader
- Shape drawing
- 2D mode/Drawing triangles
- WebGL mode/Drawing triangles
- Typography
- textAlign
- 2d mode/all alignments with multi-line manual text, no box dimensions
- webgl mode
- all alignments with multi-line manual text, no box dimensions
- all alignments with multi-line manual text
- all alignments with multi-lines and wrap char
- all alignments with multi-lines and wrap word
- all alignments with single line
- all alignments with single word
- textFont/with a font file and special chars
- textWeight
- can control non-variable fonts
- can control variable fonts from files in WebGL
- vertical centering
- Inknut Antiqua in 2d mode
- Inknut Antiqua in webgl mode
- Inter in 2d mode
- Inter in webgl mode
- Oswald in 2d mode
- Oswald in webgl mode
- Raleway in 2d mode
- Raleway in webgl mode
- WebGL
- 2D Shapes/rect() rounded into a circle
- 3D Primitives
- cone() renders correctly
- cylinder() renders correctly
- ellipsoid() renders with non-uniform radii
- torus() renders correctly
- Camera
- Camera settings on framebuffers reset after push%2Fpop
- Works after perspective() with no args
- Image Based Lighting
- high shininess
- low shininess
- ShaderFunctionality
- loadFilterShader
- loadMaterialShader
- Tessellation/Handles nearly identical consecutive vertices
- Transforms
- rotate() rotates shapes around z-axis
- scale() uniformly scales shapes
- translate() moves shapes in x and y axes
- background()/background(image) works in WEBGL
- filter
- In 2d mode
- It can apply BLUR with a value
- It can apply BLUR
- It can apply DILATE (4x)
- It can apply ERODE (4x)
- It can apply GRAY
- It can apply INVERT
- It can apply POSTERIZE with a value
- It can apply POSTERIZE
- It can apply THRESHOLD with a value
- It can apply THRESHOLD
- It can combine multiple filter passes
- It can use filter shader hooks
- In webgl mode
- It can apply BLUR with a value
- It can apply BLUR
- It can apply DILATE (4x)
- It can apply ERODE (4x)
- It can apply GRAY
- It can apply INVERT
- It can apply POSTERIZE with a value
- It can apply POSTERIZE
- It can apply THRESHOLD with a value
- It can apply THRESHOLD
- It can combine multiple filter passes
- It can use filter shader hooks
- On a createGraphics WEBGL buffer
- On a framebuffer of a different size from the canvas
- On a framebuffer sized differently from the main canvas
- On a framebuffer
- On the main canvas
- font data/text renders correctly after geometry with many indices
- instanced randering
- can draw in a grid with floor()
- can draw in a grid with int()
- instanceID in fragment hook colors instances
- media assets
- drawing gifs after a time delay
- drawing gifs
- p5.strands
- Strands tutorial
- auto-return for shader hooks
- auto-return preserves multiple property modifications
- auto-return works with getCameraInputs
- auto-return works with getObjectInputs
- auto-return works with getPixelInputs
- auto-returns input struct when return is omitted
- explicit return still works
- it recovers from p5.strands errors
- lerp maps to mix in strands context
- mix produces same result as lerp in strands
- setUniform with p5.Color sets final color
- setUniform with p5.Vector offsets position
- texCoord is available in getFinalColor
- uses width%2Fheight in getFinalColor
- texture()
- on a rect with rounded corners
- on a rect
- textures in p5.strands
- getTexture in vertex shaders
- uniformTexture() works
- WebGPU
- Buffer Alignment/buildGeometry with non-4-byte-aligned index buffer size
- Canvas Resizing/Main canvas drawing after resize
- Clipping/Basic clipping with circles
- Compute shaders
- Compute shader assigns to a swizzle of a struct vector field inside an if statement
- Compute shader assigns to a swizzle of a struct vector field
- Compute shader reads and transforms float array values
- Compute shader reads and updates struct fields (position += velocity)
- Compute shader updates struct fields via intermediate field variable
- Compute shader updates struct fields via intermediate struct variable
- Compute shader writes a whole struct element as an object literal
- Compute shader writes float values to storage buffer, vertex shader reads them
- Compute shader writes to struct storage fields, vertex shader reads them
- Storage buffer (float array) can be read in a vertex shader for instanced rendering
- Struct storage buffer fields can be read in a vertex shader for instanced rendering
- Struct storage buffer fields can be read using an inline schema template
- Struct storage buffer fields can use p5.Vector values
- Feedback/Drawing accumulates across frames when background is set in setup
- Framebuffers
- Auto-sized framebuffer after canvas resize
- Auto-sized framebuffer
- Basic framebuffer draw to canvas
- Fixed-size framebuffer after manual resize
- Framebuffer with depth disabled
- Framebuffer with different sizes
- Image Based Lighting
- high shininess
- low shininess
- Immediate Mode Buffer Reuse/beginShape%2FendShape reuses buffers across frames
- Rendering attributes/noSmooth() does not crash and disables antialiasing
- Shaders
- Instanced rendering
- Shader hooks can be used
- Strands tutorial
- Textures in the material shader work
- The color shader runs successfully
- The material shader runs successfully
- The stroke shader runs successfully
- filter shaders can sample a texture inside a conditional branch
- filter shaders with flat API
- instanceID in fragment hook colors instances (WebGPU)
- Typography
- textAlign/webgpu mode
- all alignments with multi-line manual text
- all alignments with multi-lines and wrap char
- all alignments with multi-lines and wrap word
- all alignments with single line
- all alignments with single word
- textFont/with a font file in WebGPU
- textWeight/can control variable fonts from files in WebGPU
- filters
- It can apply BLUR with a value
- It can apply BLUR
- It can apply DILATE (4x)
- It can apply ERODE (4x)
- It can apply GRAY
- It can apply INVERT
- It can apply POSTERIZE with a value
- It can apply POSTERIZE
- It can apply THRESHOLD with a value
- It can apply THRESHOLD
- transformation/outside of push() and pop()
- webgl
- webgpu
- translations/en
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
13 | 27 | | |
14 | 28 | | |
15 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
15 | 23 | | |
16 | 24 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
22 | 42 | | |
23 | 43 | | |
24 | 44 | | |
25 | 45 | | |
26 | | - | |
27 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
28 | 73 | | |
29 | 74 | | |
30 | 75 | | |
| 76 | + | |
31 | 77 | | |
32 | 78 | | |
33 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments