# Feedback examples

**URL:** <https://discourse.processing.org/t/feedback-examples/32843>\
**Category:** Project Guidance\
**Created:** [October 15, 2021, 5:07am UTC](https://discourse.processing.org/t/feedback-examples/32843 "2021-10-15T05:07:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 17, 2021, 3:24pm UTC](https://discourse.processing.org/t/feedback-examples/32843/4 "2021-10-17T15:24:49Z")

</div>

Hello,

[https://en.wikipedia.org/wiki/Feedback](https://en.wikipedia.org/wiki/Feedback)

> **Feedback** occurs when outputs of a system are routed back as inputs as part of a [chain](https://en.wikipedia.org/wiki/Signal_chain_(signal_processing_chain)) of [cause-and-effect](https://en.wikipedia.org/wiki/Causality) that forms a circuit or loop.

This is a p5.js example:

> [@Alternative to get() for faster performance?](https://discourse.processing.org/t/alternative-to-get-for-faster-performance/30228/8):
>
> Hello, This topic inspired me! Something I worked on: 
> 
> > **Example of random tiling \< Click here to see code!**
> >
> > // Pixel Manipulation // v1.0.0 // GLV 2021-05-30 let img; let cap; function setup() { createCanvas(640, 480); // Set to video size img = createGraphics(width, height); pixelDensity(1); img.pixelDensity(1); cap = createCapture(VIDEO); cap.hide(); //d = pixelDensity(); // Future! See references. } function draw() { cap.loadPixels(); img.loadPi…

You can use it with the p5.js editor:  
[https://editor.p5js.org/](https://editor.p5js.org/)

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a392c81619141f73f9afbc8c6948ac91498f1bb0.jpeg)

This can be done in Processing as well.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/feedback-examples/32843)._
