Jump to content

Buck Does Just About the Same | Part 3


UnknownUser

Recommended Posts

2 hours ago, buckswrath said:

The graphics library i'm using uses a unit circle that is different than the unit circle that all trigonometric functions use, in order to orient objects on the screen. A normal unit circle is setup with 0° in the positive X direction, 90° in the positive Y direction, 180° in the negative X direction, and 270° in the negative Y direction. Their circle is rotated 90° counter-clockwise, and flipped over the Y axis. This combined with the fact that most computers consider the positive Y to go down the screen makes 0° point in the negative Y direction, 90° in the positive X direction, 180° in the positive Y direction, and 270° in the negative X direction. The fix turned out to be taking the angle from the graphics library multiplying it by -1 and adding 360° to get the angle on the standard unit circle. Since the program window has a flipped y-axis, I had to take the converted angle and plug it into the negative sine function and negative cosine function to get the X and Y, respectively. Then, I could take the X and Y and use it to modify the direction of my object. I haven't got a clue why the maintainers of the graphics library couldn't set up a unit circle correctly. Oh well.

 

1340050882014_3068657.png

  • Like 1

"Someone ever tries to kill you, you try to kill 'em right back." - Captain Malcolm Reynolds

 

Current Challenge

 

Also, I Agree With Tank™

Link to post

So what you're saying, with regard to the circle, is that you had to pull a Willy Wonka - "Switch that, reverse it!" - and that to get it to play nicely with the code that you already had in place. Which, assuming I understand you, is way more than I know how to do.

 

Assuming I don't understand, well, the point is all the more pertinent. :P

 

So it sounds like the big project is a game?

Link to post

22nd:

 

Food:

  • Breakfast: 4 tbsp. of peanut butter and a cup of coffee
  • Lunch: 1 veggie bag with 2 eggs, 2 pork sausage, and 1 cup of rice
  • Snack: about half a container of the peanut butter balls and a cup of coffee
  • Dinner: 2 cups of rice and about a cup of chicken, white beans, onion, and tomatoes

Workout:

 

None, skipped it.

 

Sleep:

 

11:30; 9 (8 hr 59 min)

 

Code:

 

- none.

 

---

 

22 hours ago, sarakingdom said:

 

That's how they get you.

 

The sleep gremlins?

 

20 hours ago, Oramac said:

 

1340050882014_3068657.png

 

Ack, I wish that image weren't blocked on my internet.

 

12 hours ago, Kishi said:

So what you're saying, with regard to the circle, is that you had to pull a Willy Wonka - "Switch that, reverse it!" - and that to get it to play nicely with the code that you already had in place. Which, assuming I understand you, is way more than I know how to do.

 

Assuming I don't understand, well, the point is all the more pertinent. :P

 

So it sounds like the big project is a game?

 

I really just wanted to complain about the fact that I had to calculate that at all. :D

 

Yeah the CS class project is a game, i'm trying to do an astroids clone. I figured that would be best since i've already got the art for it.

  • Like 1
Link to post
5 minutes ago, buckswrath said:
22 hours ago, sarakingdom said:

That's how they get you.

 

The sleep gremlins?

 

The math problems that NEVER WANT YOU TO SLEEP.

  • Like 2

I felt like I could run forever, like I could smell the wind and feel the grass under my feet, and just run forever.

Current Challenge: #24 - Mrs. Cosmopolite Challenge

Past: #1, #2, #3, #4, #5, #6,  #7#8, #9#10, #11a & #11b, #12, #13, #14, #15, #16, #17, #18, #19, #20, #21, #22, #23

Link to post
6 minutes ago, buckswrath said:

Ack, I wish that image weren't blocked on my internet.

 

How I feel about math word problems:

 

If I have 4 pencils and you have 7 apples, how many pancakes will fit on the roof?  Purple, because aliens don't wear hats.  

  • Like 1

"Someone ever tries to kill you, you try to kill 'em right back." - Captain Malcolm Reynolds

 

Current Challenge

 

Also, I Agree With Tank™

Link to post

23rd:

 

Food:

  • Breakfast: 4 tbsp. of peanut butter and a cup of coffee
  • Snack: a cup of coffee
  • Lunch: 1 veggie bag with 3 eggs, 2 pork sausage, and 1 cup of rice
  • Snack: a peanut butter sandwich and 3 clementines
  • Dinner: a baked sweet potato, 3 eggs, and 2 pork sausage
  • Snack: 1 tbsp. of peanut butter

 

Workout:

 

Nope

 

Sleep:

 

2:43; 9:34 (6 hr 14 min)

 

I got incredibly frustrated and angry last night. So, I stayed up to calm the truck down. It felt good. I'm calm and thinking clearly now, so that's all good. I really want to get back to my normal sleep schedule. At least, i'll endeavor to do so.

 

Code:

 

- none.

 

---

 

23 hours ago, Oramac said:

 

How I feel about math word problems:

 

If I have 4 pencils and you have 7 apples, how many pancakes will fit on the roof?  Purple, because aliens don't wear hats.  

 

I heh'd. :D

  • Like 2
Link to post
12 minutes ago, buckswrath said:

I got incredibly frustrated and angry last night. So, I stayed up to calm the truck down. It felt good. I'm calm and thinking clearly now, so that's all good. I really want to get back to my normal sleep schedule. At least, i'll endeavor to do so.

 

4 minutes ago, Kishi said:

Aw, man, sorry to hear you had a rough night. :( But I am glad to hear that you managed to get yourself to calm back down.

 

This.  Glad to hear you got it sorted out.  

  • Like 1

"Someone ever tries to kill you, you try to kill 'em right back." - Captain Malcolm Reynolds

 

Current Challenge

 

Also, I Agree With Tank™

Link to post

24th:

 

Food:

  • Breakfast: 5 tbsp. of peanut butter and a cup of coffee
  • Snack: a cup of coffee
  • Lunch: a baked sweet potato with 3 eggs and 2 pork sausage
  • Dinner: 1 veggie bag with 3 eggs and a bit more than a cup of rice

Workout:

 

6 TGU @ 25 lbs per side, 2x20 TGU @ 25 lbs

 

Sleep:

 

12:12; 9:01 (8 hr 18 min)

 

Code:

 

- nothing.

  • Like 1
Link to post

25th:

 

Food:

  • Breakfast: 4 tbsp. of peanut butter and a cup of coffee
  • Lunch: 1 veggie bag with 3 eggs and 2 pork sausage
  • Snack: a cup of coffee, a peanut butter sandwich, and 3 clementines
  • Dinner: a double patty hamburger on an onion bun with sauteed onion and mushroom with tomato and some baked beans
  • Dessert: two small cake pops

Workout:

 

Nope

 

Sleep:

 

11:44; 6:17 (5 hr, 46 min)

 

Code:

 

- none

Link to post

Hmm, yeah sleep has been lacking this challenge. This week i've been sleeping in since it's spring break. Tomorrow i'm back to my normal schedule.

 

In review, i've got a lot done so far. I've completed a side project, I got my new portfolio up and running, I made a Youtube tutorial (something i've wanted to do for a long time), and completed my 20,000 kick challenge.

 

I think the best course of action is to keep chugging. :D

  • Like 1
Link to post

Since I don't see the new challenge up yet...

 

26th:

 

Food:

  • Snack: 4 tbsp. of peanut butter and a cup of coffee
  • Breakfast: 1 veggie bag with 3 eggs and 2 pork sausage
  • Lunch: 2 small peanut butter sandwiches and 2 clementines
  • Dinner: 1 veggie bag with 3 eggs, 2 pork sausage, roasted tomato and basil with a pinch of spinach
  • Snack; 2 tbsp of peanut butter

Workout:

 

6 TGU @ 25 lbs per side, 205 side kicks each side, and 10 one-armed presses per side (for fun)

 

Sleep:

 

11:53; 12:04 (11 hr 20 min)

 

Code:

 

- worked on the main project (finally!)

Link to post

27th:

 

Food:

  • Breakfast: none
  • Snack: 5 tbsp. of peanut butter and a cup of coffee
  • Lunch: a small baked russet potato, 1 veggie bag with 2 eggs, 2 pork sausage, and half a tomato (with basil)
  • Snack: 2 handfuls of peanut butter pretzels balls
  • Dinner: a baked sweet potato with 3 eggs and 2 pork sausage
  • Desert: 2 small cake pops

Workout: N/A

 

Sleep:

 

11:22; 6 (5 hr 1 min)

 

Code:

 

- a little bit of main project work

 

---

 

16 hours ago, Kishi said:

Well, obviously keep chugging, but wouldn't it be interesting if you tried to skew toward more sleep?

 

Yes it would! Last night was really weird. I couldn't seem to stay asleep. I haven't got a clue as to why.

  • Like 1
Link to post
4 hours ago, buckswrath said:

27th:

 

Food:

  • Breakfast: none
  • Snack: 5 tbsp. of peanut butter and a cup of coffee
  • Lunch: a small baked russet potato, 1 veggie bag with 2 eggs, 2 pork sausage, and half a tomato (with basil)
  • Snack: 2 handfuls of peanut butter pretzels balls
  • Dinner: a baked sweet potato with 3 eggs and 2 pork sausage
  • Desert: 2 small cake pops

Workout: N/A

 

Sleep:

 

11:22; 6 (5 hr 1 min)

 

Code:

 

- a little bit of main project work

 

---

 

 

Yes it would! Last night was really weird. I couldn't seem to stay asleep. I haven't got a clue as to why.

 

I mean, it could be stress or over-stimulation. Those are the general causes I tend to look for.

Link to post

28th:

 

Food:

  • Snack: 4 tbsp. of peanut butter and a cup of coffee
  • Breakfast: 1 veggie bag with 3 eggs and 2 pork sausage
  • Lunch: a peanut butter sandwich, and 3 hard-broiled eggs and a baked sweet potato
  • Snack: 4 tbsp. of peanut butter and a cup of coffee
  • Dinner: 1 veggie bag with 3 eggs and 2 pork sausage

 

Workout: N/A

 

Sleep:

 

11:44; 6:08 (5 hr 42 min)

 

Code:

 

- none.

 

---

 

19 hours ago, Kishi said:

 

I mean, it could be stress or over-stimulation. Those are the general causes I tend to look for.

 

Mmm, that could be. Last night's sleep felt much better.

 

 

Metal anyone?

 

 

  • Like 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

New here? Please check out our Privacy Policy and Community Guidelines