Author: Matej Salković
When working on 2D/3D graphic applications, moving objects along curves is very often a requirement. Solution to this problem – the BÃ©zier curve – has been known for decades. This article is not intended to be a comprehensive analysis of BÃ©zier curves; rather, it should give a beginner just enough knowledge to get her/him started.
Decorators were introduced in Python 2.4 to provide a clean syntax for function wrappers. New syntax was not only applied to already existing Python built-in wrappers, but also enabled programmers to elegantly wrap any function or method with additional functionality. Time for a quick dive into decorators!