Updates from Rafa Cantero Toggle Comment Threads | Keyboard Shortcuts

  • Rafa Cantero 2:47 am on May 22, 2017 Permalink | Reply
    Tags:   

    Synthesis 

    I really enjoyed the laplace and fourier transform since I feel those topics had the most practical applications. I enjoyed having to research about these for the previous blog post.

    If I had to summarize the class in one sentence, it would be: Actually applying theory.
    Even though its not applicable for all topics, I was really happy that there were a lot of practical applications that were discussed. I came into the class expecting a lot of topics that would never help me at all in real life but I’m thankful this wasn’t the case.

    I’d just like to say thank you sir for the great experience this sem and thanks as well to the rest of the class. I really enjoyed CS 130! 😀

     
  • Rafa Cantero 7:14 am on May 5, 2017 Permalink | Reply
    Tags:   

    Fourier Transform in measuring actual automotive mileage 

    A lot of people who buy second hand cars are usually able to gauge how much the car has been used by the amount of miles it has been driven. Most cars have a manual gauge that shows its mileage.

    However some salespeople would manually “rewind” this gauge so that it shows less miles than what the car was driven. Software has been invented that listens to a cars engine and uses Fourier Transformations to break down the engines sounds.

    From these sounds, the software will be able to accurately gauge how old the car really is and if the salesperson cheated or not.

    https://cadcammodelling.wordpress.com/2011/04/14/fourier-transform-and-its-applications/

     
  • Rafa Cantero 7:16 am on February 17, 2017 Permalink | Reply
    Tags:   

    Symmetry in our Alphabet! 

    Not the most breakthrough of ideas but a very interesting one that most of us probably haven’t noticed.

    When looking at the uppercase alphabet how many letters do you think are symmetrical? 16 out of 26 letters can be symmetrical when halved either horizontally or vertically!

    A, M, T, U, V, W and Y are vertically symmetrical.
    B, C ,D, E and K are horizontally symmetrical.
    H, I and X are symmetrical both ways.
    O is infinitely symmetrical.

    When split horizontally the words CHECKBOOK and DECIDED are symmetrical.

    When split vertically the words
    M                                T
    A                                 O
    A             and             O
    M                                 T

    And the word SWIMS is rotationally symmetrical which means that you can rotate it by any number of degrees and it would still spell SWIMS.

     
  • Rafa Cantero 12:17 pm on January 29, 2017 Permalink | Reply
    Tags:   

    Vectors in First Person Shooter Games 

    So there was a time when I delved a bit into game development. One thing I learned was how the game would know you hit someone with a bullet you fired, or if you were hit by an enemies bullet.

    It seemed impractical for the game to literally create every bullet fired and track its velocity, speed, how gravity would affect it, etc. Especially in bigger games where you would have 30+ people all firing a lot of bullets in a short amount of time.

    What actually happens is when the player fires his gun, the game draws an imaginary vector starting from the tip of the gun and extending outwards. The first object to touch this vector is what the bullet hits, whether it be a wall, or a player.

    Please refer to my well rendered diagram as an example. Here you fire a bullet. The game then draws the vector and sees that the first thing it hits is the enemy player followed by the wall. The game then registers the enemy player as being “hit”.vectors

     
    • Carlo Lopez 4:08 pm on January 29, 2017 Permalink | Reply

      Please note this applies only for what we call “hitscan” weapons in video games. There’s a lot of shooters (especially in older shooters like Quake etc) that really would create every bullet fired and track its velocity, etc.

      Liked by 2 people

  • Rafa Cantero 1:47 am on January 19, 2017 Permalink | Reply
    Tags:   

    Beep Boop! I'm Rafa 

    Week 1: Introduce yourself

    Hi! I’m Rafael Miguel Veneracion Cantero. Most people just call me Rafa.

    CS 130… I’ve heard a lot about it from upperclassmen and I honestly wasn’t very excited to take it this sem. I know it’s quite math heavy and if it’s anything like 135, it would be pretty difficult.

    I think my math skills are average at best. I did well with math 17 but struggled with the 50 series. I prefer coding and logical problem solving more than having to memorize equations. I also feel less motivation to study hard for subjects that don’t feel practical to me. And I never really felt  the more advanced calculus topics to be very practical.

    Right now my dominant feeling would be laziness(?). The Christmas break felt short and I’m still not ready to get back into the college life hahahuhu. All I want to do right now is just sleep/eat/play and having Monday to Saturday classes doesn’t help. x-x

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
%d bloggers like this: