[NTG-context] Ka-Pow comic book effect?

Alan BRASLAU alan.braslau at cea.fr
Mon Jul 18 18:26:13 CEST 2016


On Mon, 18 Jul 2016 11:59:42 -0400
Pavneet Arora <pavneet_arora at waroc.com> wrote:

> Would anyone have a template on how to create a comic book “Ka-Pow”
> effect (or something similar) as per:
> 
> http://thumb101.shutterstock.com/display_pic_with_logo/752857/180152483/stock-vector-ka-pow-comic-speech-bubble-cartoon-180152483.jpg
> 
> I would like to use it for one of my slides for my talk at TUG 2016.


\startreusableMPgraphic{star}
  fill dir(90)--dir(-60)--dir(150)--dir(30)--dir(-120)--cycle
    xscaled \overlaywidth yscaled \overlayheight
    scaled 3/4
    withcolor \MPcolor{\overlaycolor} ;
\stopreusableMPgraphic

\defineoverlay [star] [\reuseMPgraphic{star}]

\starttext

\startframed
[frame=off,background=star,backgroundcolor=lightgray,align=text] Wow\\
a star!
\stopframed

\stoptext


You get the idea... (but keep in mind Edward Tufte's Phluff factor).

Alan


More information about the ntg-context mailing list