Blaise Durkin

  • Home
  • Projects
  • Contact

Projects

UpdatePosition(others){ let net_fx = 0; let net_fy = 0; let m1 = this.mass for (var i = 0; i < others.length; i++){ if (others[i] != this) { let dis_x = this.x - others[i].x; let dis_y = this.y - others[i].y; let d = Math.sqrt(dis_x**2 + dis_y**2); let m2 = others[i].mass; let alpha = Math.atan2(dis_y, dis_x); let gamma = 10; let f = (1 - m1 / (m1 + m2)) * (gamma*m1*m2)/(d**2); let fx = f*Math.cos(alpha); let fy = f*Math.sin(alpha);is.velocity[0] UpdatePosition(others){ let net_fx = 0; let net_fy = 0; let m1 = this.mass for (var i = 0; i < others.length; i++){ if (others[i] != this) { let dis_x = this.x - others[i].x; let dis_y = this.y - others[i].y; let distance = Math.sqrt(dis_x**2 + dis_y**2); let m2 = others[i].mass; let alpha = Math.atan2(dis_y, dis_x); let gamma = 10; let f = (1 - m1 / (m1 + m2)) * (gamma * m1 * m2) / (distance**2); let fx = f*Math.cos(alpha); let fy = f*Math.sin(alpha); net_fx += fx; net_fy += fy; } } let resistance = 0.5; let rx = resistance*this.velocity[0]; let ry = resistance*this.velocity[1]; net_fx -= rx; net_fy -= ry; this.acceleration = [net_fx/m1, net_fy/m1]; let time_step = .0003; this.velocity = [this.velocity[0] + this.acceleration[0]*time_step, this.velocity[1] + this.acceleration[1]*time_step]; this.x -= this.velocity[0]; this.y -= this.velocity[1]; } }
  • Art | Design
  • Data Science | A.I.
  • Space Game 2

    Game | Simulation

    Added enemy boss and ally fighter.


    Enter

    Harvest minerals and defend your base from the enemy attackers.

    More...

    Space Game

    Game | Simulation

    Harvest minerals and defend against enemy attackers.


    Enter

    Search Outer-space to harvest minerals. Watch out for enemy attackers, destroy them before they destroy you.

    More...

    Data Science Portfolio

    Data Science | Econometrics

    A small collection of data analysis projects.


    Enter

    Data sets analyzed throughout the years. Program Evaluation, Quantitative Marketing, Geospatial Analysis.

    More...

    Selenium Bot

    Automation

    Automatically Applies to jobs on LinkedIn.

    Closes pop-ups, answers Questions, uploads the appropriate resume. Applies to jobs and stores the data.

    More...

    Recommender System

    Machine Learning

    Predicts user career preferences from user data.


    Enter

    Input your preferences to see what the machine recommends you. Update the model after to increase its accuracy.

    More...

    Gravity Simulation

    Physics | Simulation

    Watch the orbit of planets.


    Enter

    Change the initial velocity and the number of moons. See Newtons Law of Universal Gravitation.

    More...

    Fractal Art

    Fractals

    Enjoy the magic of Mathematics.


    Enter

    Fibonacci Spirals, Fractal Trees, Fractal Bodies, Fibonacci Lattace.

    More...