File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/data/examples/en/20_3D Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11/*
22 * @name Simple Feedback
33 * @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.
58 */
69
710let pg , swap ;
@@ -15,7 +18,7 @@ function setup() {
1518 swap = createGraphics ( 710 , 400 , WEBGL ) ;
1619
1720 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 '
1922 ) ;
2023}
2124
You can’t perform that action at this time.
0 commit comments