Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
computer parts
Nov 18, 2010

PLEASE CLAP
the only good thing about this game is that it was on when i had dinner with my dad before he had to fly back home

he wondered who wore the really ugly uniforms (it was the Jags)

Adbot
ADBOT LOVES YOU

computer parts
Nov 18, 2010

PLEASE CLAP

Magicpants posted:

ok so I'm doing this boid poo poo


I got a class of a specific type of boid that oughta calculate its acceleration by looking at other boids directly in front of it
here's the thing I'm trying to fix
code:
def compute_cohere(self):
       cohere = vector2d() #this is a coordinate pair that indicates change in x and y
       concern= self.flock.within(self.COHERE_RADIUS, self) 
       #a list of all other boids are within the specified radius
       for other in concern:
            offset = other.position - self.position
            cohere = #this should be a constant or something, just move in no particular direction
            if (offset).direction().dot(cohere.direction()) > 1.0: 
	    #this is meant to check for boids in like a 30 degree angle in front
	    #direction returns coordinate pair
	    #dot takes two coordinate pairs and calculates relative angle
                 offset = other.position - self.position
                 cohere = cohere + offset 
       return cohere.direction()
the if statement ain't working though
you guys are nerds figure this poo poo out

glad I'm not in CS even though this looks interesting

computer parts
Nov 18, 2010

PLEASE CLAP

Phobeste posted:

so are those parts of these jerseys that look like sweatstains actually sweatstains or mysterious bad coloration like the lions

Whichever, it is impressive how much like the Lions the Titans look like tonight

computer parts
Nov 18, 2010

PLEASE CLAP
Bortles had the world's largest poo poo

computer parts
Nov 18, 2010

PLEASE CLAP
Bortles discovers he's dehydrated when his urine matches the color of his uniform

computer parts
Nov 18, 2010

PLEASE CLAP

TSBX posted:

TITANS CENTER HAS A poo poo STAIN ON HIS BUTTHOLE

thank you for staring intently at a man's butthole

computer parts
Nov 18, 2010

PLEASE CLAP
I just realized I don't think I've ever seen a black punter

computer parts
Nov 18, 2010

PLEASE CLAP
The Titans are a shittier version of the Colts

Adbot
ADBOT LOVES YOU

computer parts
Nov 18, 2010

PLEASE CLAP
Time for a 2 minute Titans TD

  • Locked thread