a simple of curve with teexture