[PD] text based pd patching

Andy Farnell padawan12 at obiwannabe.co.uk
Sat Jan 12 16:21:14 CET 2008


Like this idea Pat! Rendering becomes as easy as defining a stylesheet.

On Sat, 12 Jan 2008 15:18:52 +0100
Patrice Colet <pat at mamalala.org> wrote:

> Patrice Colet a écrit :
> > Andre Schmidt a écrit :
> >> yup,
> >>
> >> very nice and usefull in (non-html) emails, console, man pages and so on
> >> (where you only can display text)... but for pdf, webbrowser i would
> >> prefer svg. as its also just text (therefor searchable, but dunno if in
> >> pdf) and looks "better" (propably exactly like in pd) than ascii... 
> > 
> > XML PureData patches might be a good compromise
> > 
> > eg:
> > 
> > <pd width="100%" height="100%" version="1.0"
> > xmlns="http://puredata.info">
> > 
> > <obj id="#0-float" x="100" y="50" content="f 0" send="#0-float-s"/>
> > 
> > <obj id="#0-metro" x="50" y="100" content="metro 100"/>
> > 
> > <obj id="#0-toggle" x="50" y="50" content="tgl"/>
> > 
> > <msg id="#0-MSG" x="50" y="150" content="XML RULES"/>
> > 
> > <obj id="#0-print" x="50" y="200" n="tgl"/>
> > 
> > <connect elem="#0-toggle 0 #0-metro 0;#0-float 0 #0-metro 1;#0-metro 0 
> > #0-MSG 0;#0-MSG 0 #0-print 0"/>
> > 
> > </pd>
> > 
> 
> oops, find the error....
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


-- 
Use the source




More information about the Pd-list mailing list