hello i m using c# and suffering with delay problem. i want to change the technique for handling the graphics before this i want to know what will be the most efficient method for implementing heavy graphics,
i started making bmp files for each dynamic and static module and at the end i updates the whole GUI by pasting this bmps as laye...
I want to create a tool with Ruby which works with all 3 of the major OSes (Windows, Linux, Mac OS X). What choices do I have for toolkits where the bindings for Ruby is "good"? By good I mean not just quick direct mapping of the C/C++ API onto Ruby, for instance using blocks where appropriate and other Ruby features.
...
I'm learning to draw stuff in C# and I keep seeing recommendations to use dispose(), but I don't quite understand what it does.
When should I be using dispose() on a
code-drawn graphic?
What happens if I
don't?
Do I need to call it every
time a graphic is not visible, such
as on a GUI that has tabs and the
user switched to the other t...
Seeking most efficient method for retrieving the GPU model in Objective-C or Carbon. I want to avoid using system_profiler because it is slow, but if it comes down to that I am willing to use it, but I wanna exhaust other options first.
...
I am wanting to write to a texture from my directX 11 compute shader. However I have no idea how to display this onto the screen nor am I sure what sort of buffer I should be using to do this.
...
How do you load a picture into smalltalk? I have found several examples of how to display an image once it is a class resource, but can't find a way to import the picture into my smalltalk environment. (I use the word picture to avoid confusion with the smalltalk image)
...
Hi all,
I wish to recreate this graph:
(from here)
Using R base graphics.
I have no clue how to do that. Any advice ?
(My motivation is that I wish to create a plot where the line width (and/or color) will reflect another dimension. Until now - ggplot2 is the only place I found in R for how to do this. I would be happy to be able...
I have this obsession with doing realtime character animations based on inverse kinematics and morph targets.
I got a fair way with Animata, an open source (FLTK-based, sadly) IK-chain-style animation program. I even ported their rendering code to a variety of platforms (Java / Processing and iPhone) video of Animata renderers
Howeve...
When I'm generating graphics for publications and talks, I tend to use ggplot2. However, for very large data sets where I want to generate a quick plot or for courses where students don't have a good grounding in R, I use the base graphics.
Are there any nice (simple!) ways of spicing up R graphics? For example, do you use a nice combin...
How to display a vector graphics file in iPhone? Any guide or tuts? thanks.
I have here the ff. file formats: .pdf, .eps., .ai
Thanks
...
I need to write some text to a paintbox, and I do it in the OnPaint event. When I set the fontsize twice in the method, the OnPaint-event is called repeatedly.
To see for yourself, try this:
Create a new VCL Forms application
Place a paintbox on the form
Put the following code in the OnPaint-event:
procedure TForm1.PaintBox1Paint(S...
I'm wondering what would be the best approach to render vector objects (e.g. box, rocket) as if they are drawn with a pencil/crayon? Looking for a dynamic rendering approach like RIA/JS here, not Photoshop etc.
EDIT: perfect would be sth. close to http://bootb.com/en/
Cheers,
stephanos
...
I've read on the Android developers site that Android graphics subsystem (Surface Manager) is based on Linux Frame Buffer device. I was just wondering how OpenGl Es works with it... does it use special 3D drivers for FB (like directfb, but this seems improbable as it seems died). How is it implemented?? I can't find any info around...
I...
Suppose we have a list of images, like the following:
imageList = Table[Plot[Sin[k*x], {x, 0, 2 Pi}], {k, 1, 4, .05}];
We can animate those images like so:
ListAnimate[imageList]
But now suppose we want the animation bigger.
We could stick an ImageSize option into the Plot command used to generate the images, but suppose we're not ...
I've made a screensaver which displays tables of statistics across a number of "screens" which it fades between. I've used only CALayers and implicit animation, but even so the animation is jerky at best; rather than a smooth transition there are 3 "jumps" between screens, one at ~5%, one at ~30%, then 100%.
Running top in a terminal fr...
I'm working on a little 2D game just for fun and was wondering if I could make it run on android as well.
I'm using a java.awt.Canvas with a BufferStrategy and drawing sprites with the Graphics2D class methods.
I'm new to android, just finished some of the tutorials on the android page and already noticed there's no AWT in android.
My ...
hi,
In graphwiz I would like to have an edge that don't cross the node.
Here is my graph:
digraph G {
rankdir=LR;
fontname = "Bitstream Vera Sans";
fontsize = 8;
node [
fontname = "Bitstream Vera Sans"
fontsize = 8
shape = "record"
];
edge [
fontname = "Bitstream Vera Sans"
fontsize = 8
];
MethodContext [...
(This question might be too difficult, and maybe not worth the hassle to solve - however, if there is an easy solution - I would be curious to know)
Let's say I create an image (using the grid package) which looks like this:
require(grid)
grid.newpage()
grid.polygon(x=c((0:4)/10, rep(.5, 5), (10:6)/10, rep(.5, 5)),
y=c(rep...
i have some tab-delimiter data in csv file, and i want to graph these data, and overlap the graph if possible. i'm currently doing this using excel, which is kinda slow when i have many graphs to make. i'm looking for ways to automate this, the data is generated thru some java process, so i would like to extend the process to graph the d...
I'm working on a custom plot on top of which I add a second blank axis object to show a secondary scale on the right hand side of the graph (as well as the primary scale on the left hand side).
Works great (and had been, for years), until I tried it again recently in R2010a and for some reason the primary axis gets its Position propert...