###############################################################################

# #
# This file is part of a style sheet example from the Freestyle application #
# Copyright (C) 2001-2005 Stephane Grabli #
# #
# http://freestyle.sourceforge.net #
# #
###############################################################################


from Freestyle import * from logical_operators import * from PredicatesB1D import * from shaders import * from ChainingIterators import *
Operators.select(QuantitativeInvisibilityUP1D(0))
Operators.bidirectionalChain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0)))
Operators.select(NotUP1D(pyHigherLengthUP1D(9)))
shaders_list = [
SamplingShader(2),
TextureAssignerShader(5),
SmoothingShader(100, 0.1, 0, 0.2, 0, 0, 0, 1),
IncreasingThicknessShader(1, 3),
IncreasingColorShader(0.7,0.3,0.3, 0.4, 0.5, 0.2, 0.2, 0.6)
]
Operators.create(TrueUP1D(), shaders_list)