Google
  Web www.spinics.net

Math graphics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Is there a plugin (or high speed script-fu) that would allow me to enter 
a math expression and from it create the pixel data also given a 
'viewport range'.

XMin: -1
XMax 1
YMin -1
Ymax: 1
UseGraient: no
Expr: red=sin(2*pi*x*y)/2+0.5;green=...,...

or
UseGradient: yes
Expr: offset=sin(2*pi*x*y)

Or something like that.  I imagine a script-fu could be done that could 
take the viewport, gradient, and expression and somehow execute the 
expression and plot the pixels, but it seems like script-fu would be 
somewhat slow.  I've created my own expression evaluation library which 
would easily provide all the math support I need, but don't know much 
about making GIMP plugins and since I'm only on Windows now I've had 
problems trying to compile glib/gtk under msys/mingw, plus it is C++ 
except an older version which is C.

Brian Vanderburg II

_______________________________________________

Gimp-user@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

[Home]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Yosemite Book Store]     [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Script Fu]

Add to Google amazon