I tried UnDelphix but it doesn`t seems much faster:(
I don`t know if i`m doing it well, i`m drawing on the g2.surface.canvas is that right?
Here is my drawing code:
g2.Surface.fill(RGB(255,255,255));
for i:=1 to chargecount do begin
if charge[i].q<0 then
g2.Surface.Canvas.Brush.color:=clblue...
Hello!
I`m trying to write a physical simulation in Delphi 6. I`m simulating charges (electrons) moving in a 2D space. So I`ve used a TImage and I`m drawing on it. (I use the DoubleBuffered:=true property of the form). But I`ve found that it`s quite slow, because sometimes I have to draw a lot...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.