 | | Re: some 'puter/math help please
|
|
David, Check out Bresenham's Algorithm for line drawing: (URL) It's been around forever and does not require complex math - which was not available on older computers anyways. Sometimes the old guys knew how to do stuff right. Ralph (19 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
(...) You mean like this? (URL) have that packaged up in a MyBlock, and other than rounding errors it works nice and fairly quickly. (...) Not exactly; it really depends on the precision you want/need. (19 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
In lugnet.org.ca.rtltoronto, Rafe Donahue wrote: <snip> (...) I guess this is where pythagoras will factor in--I want the number of points to be the same as the length of the initial line (from random (x,y) to (0,0))--if the line is 17 units long, (...) (19 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
In lugnet.org.ca.rtltoronto, Rafe Donahue wrote: <snip> (...) actually, that helps quite a bit! I thought I'd have to get pythagoras in the equatinos somehow, but htis is much easier! Much appreciated! (...) It'll be a wide range of starting points, (...) (19 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: some 'puter/math help please
|
|
(...) The points on the line take the form y = mx + b, where b is the intercept with the y-axis and m is the slope. For the problem as you describe it, b is 0 since the line crosses the y-axis at zero, and m = 1.5 or 15/10 since the slope is the (...) (19 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | some 'puter/math help please
|
|
here's the scenario as best I can describe-- x and y co-ordinates line segment starts at (0,0), goes out to whatever--let's say (10,15) I want to make a dot follow the line segment from (10,15) down to (0,0) So the dot startes at (10,15), then moves (...) (19 years ago, 23-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | My geekiness continues...
|
|
In my ongoing quest to get all the sets I *wish* I had when I was a wee one... (Thankfully Jake found those space shuttles a few years back--that's still my personal fav. and i'm still very thankful I got one of those....) A few months back I got (...) (19 years ago, 20-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | back on line
|
|
for a short stint, i was not on line.... (YOu try finding a net connection in the burbs on a sunday at 9 pm) now, I am surfing with PPPoE Chris oh ya, lego. (19 years ago, 20-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: NeXT-A-Sketch - My second program/first Dave-built NXT 'bot(ish...)
|
|
(...) Or do what I did. Change the program so you only have to tap the button to clear the screen so you can easily reset it while shaking upside down. (19 years ago, 15-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | Re: My first(ish) program
|
|
(...) (URL) that I think you need to buy any more LEGO or anything... 8?) ROSCO (19 years ago, 14-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | Re: My first(ish) program
|
|
(...) LOL... Hand eye coordination is a gift. Although, I'm not doing any better... I had the pleasure of playing Mr. Cowdice's rabbit game last friday, and scored a big fat -2. Dave, Im thinking you need to start scoring on the bell curve. Just saw (...) (19 years ago, 14-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | Re: NeXT-A-Sketch - My second program/first Dave-built NXT 'bot(ish...)
|
|
(...) You just have to use an acceleration sensor ;-) (URL) (19 years ago, 14-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | NeXT-A-Sketch - My second program/first Dave-built NXT 'bot(ish...)
|
|
First, pics-- (3 URLs) Next, program-- (URL) And what it is... It's an Etch-A-Sketch--NXT Style!!! :) If you need an explanation, really--where was your childhood?? The button--you hit it twice in 2 seconds and it'll erase your drawing 'cause I (...) (19 years ago, 13-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt, FTX)
|
| |
 | | Exposition pour Jeunese au Soleil
|
|
Bonjour, (English follows) (URL) QuéLUG> participera les 24 et 25 mars prochain à l'exposition de trains miniatures organisée par Jeunesse au Soleil. Nous y présenterons un réseau d'une grandeur de 24 x 14 pieds (7.3 x 4.3 mètres) comportant trois (...) (19 years ago, 11-Mar-07, to lugnet.org.ca.quelug, lugnet.loc.ca.qc, lugnet.loc.ca.qc.mon, lugnet.loc.ca.qc.que, FTX)
|
| |
 | | Re: My first(ish) program
|
|
(...) I wrote the program but never bothered to get a proper score-- Just tried-- -3 :) Dave K (19 years ago, 8-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | Re: My first(ish) program
|
|
(...) I'll post the first hi score... -6 !!! Wo-hoo! oh, wait a minute... rats. Good programming, nice idea. Now, if you have something to fix my reflexes... (19 years ago, 8-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | My first(ish) program
|
|
Read the blog (yes Chris, I know it's slow...)-- (URL) made a little video game. I know that others have made on-screen games, so I just went with it. As soon as I saw the 'aim' pic and the 'rabbit' pic, I knew I just had to do this. So with much (...) (19 years ago, 8-Mar-07, to lugnet.org.ca.rtltoronto, lugnet.robotics.nxt)
|
| |
 | | NovaLUG display in Stellarton, NS March 10 and 11
|
|
NovaLUG (Nova Scotia LEGO Users Group) will be displaying at the (URL) Museum of Industry> in Stellarton, NS this Saturday and Sunday, March 10 and 11. We will have a 5 foot by 25 foot (URL) town/train layout>, and a display and demonstrations of (...) (19 years ago, 8-Mar-07, to lugnet.org.ca.novalug, lugnet.trains, lugnet.robotics.events, lugnet.loc.ca, lugnet.loc.ca.ns, FTX)
|
| |
 | | Those new motors
|
|
anyone here have access to those new motors? anyone.. Chris sigh (19 years ago, 7-Mar-07, to lugnet.org.ca.rtltoronto)
|
| |
 | | Re: FEED ME!!!!
|
|
In lugnet.org.ca.rtltoronto, C. L. GunningCook wrote: <snip> (...) It's always time for a 'little shop of horrors' moment I think I'll go buy a plant... Dave K (19 years ago, 6-Mar-07, to lugnet.org.ca.rtltoronto)
|