Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SirVer/cagd5e

My sample code and solutions to some programming exercises for the book "Curves and Surfaces for CAGD" by Gerald Farin
https://github.com/SirVer/cagd5e

Last synced: 3 months ago
JSON representation

My sample code and solutions to some programming exercises for the book "Curves and Surfaces for CAGD" by Gerald Farin

Awesome Lists containing this project

README

        

About
=====

This is the repository with my experiments and my solutions to programming
tasks from the book

Curves and Surfaces for GAGD (Computer Aided Geometric Design) by Gerald Farin, 5th Edition

Websites:

* http://www.farinhansford.com/books/cagd/
* http://www.mkp.com/cagd5e

The datasets come from a personal email from G. Farin. I enquired about the
datasets since I couldn't find them on the two pages mentioned above anymore.
He answered:

I don’t seem to have a whole lot. But here it comes…

Therefore the datasets are likely not complete, but better than nothing. I
also extracted the files that are linked on the homepage in allfiles.txt.

Usage
=====

Most of these scripts are expected to be run inside of Blender_ 2.5 as I use
it as a cheap 3D visualization toolkit. You also need to have the numpy_
library installed and in a way that blender is able to find it. I manually
tweak the sys.path variable for this whenever I start blender.

For some scripts I use `matplotlib`_ to visualize some stuff where firing up
blender didn't really seem useful.

.. _Blender: http://www.blender.org
.. _numpy: http://numpy.scipy.org
.. _matplotlib: http://matplotlib.sourceforge.net/

Related Blog Posts
==================

The blog posts are meant as a standalone documentation about what is presented
in each file so that the code is also interesting without access to the book.
However, the book is much more complete and discusses more than what I am
interested in.

* `Blossoms and Blender as Visualization Tool`__
* `The de Casteljau Algorithm`__
* `Degree reduction of Bézier curves`__
* `Bridging between Lagrange and Bezier Interpolation`__

__ http://www.sirver.net/blog/2011/07/19/blender-2.5-and-blossoms/
__ http://www.sirver.net/blog/2011/07/26/the-de-casteljau-algorithm/
__ http://www.sirver.net/blog/2011/08/23/degree-reduction-of-bezier-curves
__ http://www.sirver.net/blog/2011/09/06/the-bridge-between-lagrange-and-bezier-interpolation/