Code Examples
A repository of 155 code examples for BeepBeep
Package customprocessors

Create custom processor objects by creating new classes that inherit from Processor. More...

Classes

class  CounterGroup
 This processor simply generates the trace of numbers 0, 1, 2, ... More...
 
class  CounterSingle
 This processor simply generates the trace of numbers 0, 1, 2, ... More...
 
class  EuclideanDistance
 
class  MyMax
 
class  MyMaxExample
 
class  MyProcessor
 A minimal synchronous processor implementation that does nothing. More...
 
class  OutIfPositive
 
class  Point
 
class  SplitPoint
 
class  StatefulDuplication
 
class  StringLength
 
class  Stuttering
 
class  StutteringCopy
 
class  TriangleArea
 

Detailed Description

Create custom processor objects by creating new classes that inherit from Processor.

Extensibility is a key concept in BeepBeep. Apart from its core, which is made of only a handful of generic classes, all of BeepBeep's functionality is achieved by creating descendents of the core's basic objects. BeepBeep already comes with lots of pre-defined palettes; however, if none suits your needs, you can easily create new Processor objects that perform the desired computation. These new objects can then be connected freely with existing processors.

In this section, we give a few simple examples of processor objects that perform special kinds of computation.

Author
Sylvain Hallé