File tree 1 file changed +5
-2
lines changed
src/data/examples/en/20_3D 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* @name Simple Feedback
3
3
* @arialabel An example of a simple feedback effect using two buffers.
4
- * @description A simple feedback effect can be achieved through WEBGL mode and two graphics buffers.
4
+ * @description A simple feedback effect that is achieved by using two WebGL graphics buffers.
5
+ * This effect works by drawing the previous frame to a second
6
+ * createGraphics() buffer, which can be blended with the current frame. This
7
+ * takes advantage of texture mapping in WebGL.
5
8
*/
6
9
7
10
let pg , swap ;
@@ -15,7 +18,7 @@ function setup() {
15
18
swap = createGraphics ( 710 , 400 , WEBGL ) ;
16
19
17
20
describe (
18
- 'a WebGL example that achieves a simple feedback effect, displaying a slowly moving, radiating white sphere. '
21
+ 'a slowly oscillating, radiating white sphere that fades into a dark gray background through a feedback visual effect '
19
22
) ;
20
23
}
21
24
You can’t perform that action at this time.
0 commit comments