Advertisement

Cant even make a good straight line...(SOLVED)

Started by October 13, 2006 07:46 PM
14 comments, last by hankie23 18 years ago
Quote: Original post by MDI
<off-topic>

alvaro and Ezbez, do you have a link to this problem and the solution? It sounds fascinating.

</off-topic>


I found this.

There is a link there to a historical article titled "How to draw a straight line", which has a diagram of the Peaucellier linkage.

Quote: Original post by alvaro
Quote: Original post by Ezbez
There's another way to get that straight line, too. I'm guessing that currently a diagnal move is equivilant to a straight move. However, if you make one diagnal move equivilant to 1.41 (the distance between the two centers of the squares) moves, it should find that the straight line is the shorter of the two and choose it (assuming that you have it choose the shortest possible path).


That won't work. The two paths in the diagram that Kaanin posted would have the same length under this definition of length as well.


Meh, you're right.
Advertisement
Quote: Original post by Anonymous Poster
Quote: Original post by MDI
<off-topic>

alvaro and Ezbez, do you have a link to this problem and the solution? It sounds fascinating.

</off-topic>


I found this.

There is a link there to a historical article titled "How to draw a straight line", which has a diagram of the Peaucellier linkage.


Oh, that was me. I thought I was logged in. Also my links were removed. So here it goes again:

I found this.

There is a link there to a historical article titled "How to draw a straight line", which has a diagram of the Peaucellier linkage.

Not an answer to this specific question, but another option would be to REMOVE any node between two nodes when there's no collision to block a straight movement between these 2 nodes.

In your example, you'd end up with 2 nodes... your start and your finish.
Quote: Original post by Kaanin
ZOMG KrazeIke thank you SOO MUCH! This accursed thing has been plagueing me for days now. I could kiss you but Im guessing your a dude and I just dont swing that way. I just...wow, thank you so much.


Right... too bad no hit wonder's answer was perfectly sufficient and if you are decent at coming up with algorithms equivelant to KrazeIke's answer.
Everyone hates #1.That's why a lot of idiots complain about WoW, the current president, and why they all loved google so much when it was new.Forget the fact that WoW is the greatest game ever created, our president rocks and the brainless buffons of America care more about how articulate you are than your decision making skills, and that google supports adware, spyware, and communism.
i don't know what you all are discussing?

This topic is closed to new replies.

Advertisement