Search found 5901 matches

by dodicat
Sep 14, 2010 20:31
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Hi Albert Brown is a common Scottish name, the previous Prime minister was Gordon Brown, from Fife. Mark Twain was a river pilot. He obviosly thought that all things nautical had an air of mystery, so he gave himself a nautical title. A ship's lead line is marked in fathoms: 2, 3, 5, 7, 10, 13, 15, ...
by dodicat
Sep 14, 2010 20:10
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

@ Rollie~ Do you detect by dodicat's posts that perhaps he is developing a sixth sense? Perhaps, but I don't believe in the future. Maybe you can smell the wind? That's all I get for a sixth sense... The ability to smell the wind, so I know which way the BS is blowing... @ Rollie I suppose I asked ...
by dodicat
Sep 14, 2010 17:28
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Hi Albert Here's an oppo to yours. In it is contained a disguised symbol of Scotland's ancient enemy. Dim As Integer xres,yres xres=800 yres=800 screenres xres,yres,32 Sub pset_polygon(n As Integer,_ 'number of sides centreX As Double,_ 'centres centreY As Double,_ col() As Double,_ 'dim...
by dodicat
Sep 14, 2010 17:21
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Good one Albert! That's the kind of thing that makes GUI programming fun. Nice square Abert. Didn't I say a post or two ago that a square would come up with no sines or cosines. @ Rollie~ Do you detect by dodicat's posts that perhaps he is developing a sixth sense? Albert Square is well known here,...
by dodicat
Sep 14, 2010 16:27
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

All right, got to drawing out how I partitioned an obtuse triangle into two right triangles: linear algebra is beyond me at the moment. Hi Pritchard For the intersection point of two lines I used pure co-ordinate geometry, the only linear algebra was in fact solving simultaneous equations of just t...
by dodicat
Sep 14, 2010 0:34
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

@ dodicat. My square was a bit of a cheat because it used the Int() function to fold the four sides. I am not happy with it. When I find a general regular polygon in radial coordinates I will be satisfied. Sorry to say that Dodicat was also cheating a bit. But then again, Dodicat usually does. But ...
by dodicat
Sep 13, 2010 21:51
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

@ all The squares topic has a slightly different air to it than the circles, not meaning that you can write to it, and not the circles, but, squares are a bit more complex. Rollie~ has mentioned in the past that he reads posts thoroughly to do a psycho-analysis on the author's every word. Marcov, by...
by dodicat
Sep 12, 2010 23:04
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Hey Albert You forgot to make the screen 32 bit colour. I've stuck screenlock/unlock in the shoot sub as well. You may have to fiddle with your variables for more speed though. Declare Sub shoot(col() as uinteger) '======================================================== '===========...
by dodicat
Sep 12, 2010 21:46
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Hi Albert Newton's second equation of motion does the job for parabolic trajectories s=u*t + .5*a*t^2 s=distance u=initial velocity t=time a acceleration in x direction, there's no acceleration(gravity) so x = startx+velocity*time in y direction, there's acceleration so y= starty+velocity*time+.5*gr...
by dodicat
Sep 12, 2010 17:06
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

@ Pritchard Hi I've simplified the intersection point of two lines, after all, you hardly need a full linear equation solver for just a two by two equation. With only two unknowns, you can just write down the solution. Press space bar for different lines, esc to quit. dim as integer xres,yres screen...
by dodicat
Sep 12, 2010 2:15
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

:) A question about SAT (Separated Axis Theorem): Say you're solving for x in (mx + b) - (nx + c) = 0, the solution to a two-line system of linear equations. You're saying that the same x will produce the same y in both equations, which, as it happens, is the point of intersection. That is, there's...
by dodicat
Sep 12, 2010 0:04
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Hi Pritchard This is a different method from Richards. I go into 3d to get a cross product. It's a bit brute force, and it misses sometimes, because I have to draw the perpendicular when a dot product is small, it needs refined, but I'll post what I've done so far, seeing it's the weekend. Just pres...
by dodicat
Sep 11, 2010 9:55
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

@All: I developed a geometric proof of the triangle partitioning problem on paper for non-obtuse triangles. I plan to verify it tomorrow. Luckily, what I found is along the lines of what Richard said, so I can't be too far off :) Thank God for colored sharpies. I can draw the proof in MS-paint when...
by dodicat
Sep 11, 2010 0:35
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

Dodicat: My computer restarted after running your proggie. Is that supposed to happen? Well -- no It works ok here. Please check your path to the text. Perhaps set screenres 1024,768,32 There's nothing complex in the code. fb version 21 is what I use. I'm in the middle of a codeblocks+mingw downloa...
by dodicat
Sep 11, 2010 0:16
Forum: General
Topic: Squares
Replies: 6962
Views: 419554

relsoft wrote:Dodicat: My computer restarted after running your proggie. Is that supposed to happen?

Well -- no
It works ok here.
Please check your path to the text.
Perhaps set screenres 1024,768,32
There's nothing complex in the code.
fb version 21 is what I use.

Go to advanced search