See how to build Bézier curve using Bernstein Polynomials http://www.jsoftware.com/jwiki/Essays/Bernstein_Polynomials
Basically you construct a polyline (stroked) or polygon (filled) and then draw it with gl commands. For patterns, masks and gradients see Image Operations (draft essay) http://www.jsoftware.com/jwiki/OlegKobchenko/Image_Operations For proposed Path Graphics interface, see "gl2 enhancements" http://www.jsoftware.com/jwiki/System/Library/Requests --- "Sherlock, Ric" <[EMAIL PROTECTED]> wrote: > While trying to create a gl2 version of the GUI for the Set Game > <http://www.jsoftware.com/jwiki/Scripts/Set_Game>, I wanted to draw a > "squiggle" shape (sort of backwards 's') that is usually used for one of > the card symbols <http://www.setgame.com/set/>. However I am uncertain > of how to go about this using the gl2 commands currently available in J. > How do you draw a wavy/rounded line or shape? > > I'd also be interested in ideas on how to fill shapes with patterns > (rather than just shading them as I do now). ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
