Re: Matplotlib - an odd problem: "from matplotlib.figure import Figure
from matplotlib.axes import Axes
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas
fig = Figure(figsize=(9, 9), dpi=100)
axe = Axes(fig, (0, 0, 1.0, 1.0))
axe.pie(range(5))
fig.add_axes(axe)
canvas = FigureCanvas(fig)
canvas.set_size_request(640, 480)
fig.savefig('foo.png')"
Tuesday, April 05, 2011
jtnimoy - Tron Legacy (2010)
jtnimoy - Tron Legacy (2010): "After this project, I was fed up enough with wxWidgets and Carbon that I was ready to author my own OpenGL based UI. The most important thing I could use is a floating-point slider. I also got irritated with the way the Carbon sliders would not slide all the way to the minimum and maximum values. It totally messed with my zen thing. Also, after a job like this, it's clear that a member of the Processing community working within a CG community is greatly restricted by the differences of realtime graphics rendering engines, and that probably messes with an art director's zen thing."
jtnimoy - Tron Legacy (2010)
jtnimoy - Tron Legacy (2010): "When fixing Quorra, there was an element in the DNA interface called the Quorra Heart which looked like a lava lamp. I generated an isosurface from a perlin-noise volume, using the marching cubes function found in the Geometric Tools WildMagic API, a truly wonderful lib for coding biodigital jazz, among other jazzes. The isosurface was then drawn along different axes, including concentric spheres. The app was mesmerizing to stare at."
Monday, April 04, 2011
Saturday, April 02, 2011
Friday, April 01, 2011
matplotlib without a GUI
matplotlib without a GUI: "To make the image file using the matplotlib API I need to make my own Figure and FigureCanvas. I'll use the FigureCanvaseAgg for the last. The from pylab import * brought in some numeric functions and the Polygon class automatically, so I'll need to import them myself"
Thursday, March 31, 2011
Subscribe to:
Posts (Atom)