The Jig debug addon is based on SVG and I think that the results look pretty good, if I do say so myself. Jig is presented in a webview container in jqt.
JHS is very compatible with SVG because it is already browser based. As Ian points out, SVG is compact and readable. Inkscape is not bad although the SVG's produced are not always optimal (but much quicker to develop than building by hand). Cheers, bob > On Feb 17, 2021, at 15:02, Ian Clark <earthspo...@gmail.com> wrote: > > (IMHO) jgl2 is clunky and hard to debug, as bad as turtle graphics, and the > results look like "business graphics" from the 1980s. > Probably better to use the *plot* addon instead, which is well-integrated > with J and has a similar feel to it when you use it at the pd level, but > not so clunky and low-level. > > Don't overlook the humble SVG format (file ext: .svg). It's supported by > all the main browsers, and doesn't need any special add-ons. The results > typically look richer and more professional than jgl2 (for the same time > spent). > Sadly though, it doesn't seem to be supported by Qt/isidraw/isigraph. > It's an XML file format, which means it's human-readable text which can be > massaged in J as a byte string using rplc. > It's not that hard to read and edit by hand, either, and there are plenty > of samples on the web to raid. Many of them are surprisingly brief, > considering what they do. > > Suggest you get started with the sample pics in > https://en.wikipedia.org/wiki/SVG_animation > which lets you build up a recipe book of handy shapes. Alternatively use > *Inkscape* (freeware from www.inkscape.org) to generate a prototype > picture, and customize it using J to text-process the XML – mostly a matter > of substituting numerals. You can make respectable animations in SVG. > > Ian > > On Wed, 17 Feb 2021 at 07:10, Raoul Schorer <raoul.scho...@gmail.com> wrote: > >> There is also graphics/fvj4 with the companion books, depending on what >> you're doing. >> >> Le mer. 17 févr. 2021 à 00:30, bill lam <bbill....@gmail.com> a écrit : >> >>> there is an addon demos/isigraph. >>> and IIRC there is also a lab for it. >>> >>> On Wed, Feb 17, 2021, 6:49 AM Devon McCormick <devon...@gmail.com> >> wrote: >>> >>>> Thanks! This is exactly what I was looking for. I vaguely remembered >>> the >>>> isigraph package but could not find documentation on the Jsoftware >> site. >>>> >>>> On Tue, Feb 16, 2021 at 5:39 PM Michal Wallace < >> michal.wall...@gmail.com >>>> >>>> wrote: >>>> >>>>> you can use an isidraw / isigraph component to draw arbitrary lines, >>>>> curves, etc. >>>>> Here's an example to get you started: >>>>> >>>>> >>>>> >>>> >>> >> https://code.jsoftware.com/wiki/Guides/Window_Driver/Animation/Animated_JGL2 >>>>> >>>>> and the drawing commands: >>>>> >>>>> >>>> >>> >> https://code.jsoftware.com/wiki/Guides/Window_Driver/gl2_Command_Reference >>>>> >>>>> >>>>> On Tue, Feb 16, 2021 at 5:21 PM Devon McCormick <devon...@gmail.com> >>>>> wrote: >>>>> >>>>>> Is there anything in J to allow me to draw arbitrary pictures? I'm >>>>> looking >>>>>> for something that has commands to draw a line and fill a defined >>> area >>>>> with >>>>>> a color. I have also considered possibly using Jsh and Javascript >> or >>>>> HTML5 >>>>>> but would prefer something where I could work in J and have basic >>>> drawing >>>>>> primitives defined. >>>>>> >>>>>> Thanks, >>>>>> >>>>>> -- >>>>>> >>>>>> Devon McCormick, CFA >>>>>> >>>>>> Quantitative Consultant >>>>>> >>> ---------------------------------------------------------------------- >>>>>> For information about J forums see >>> http://www.jsoftware.com/forums.htm >>>>>> >>>>> >> ---------------------------------------------------------------------- >>>>> For information about J forums see >> http://www.jsoftware.com/forums.htm >>>>> >>>> >>>> >>>> -- >>>> >>>> Devon McCormick, CFA >>>> >>>> Quantitative Consultant >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>> >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm