Launched in November 2017. View Project
Displays a full solar system with planets doing circular movement due to gravity pull of the sun
How it works?
I used an interval that repeats an algorithm for about 30 miliseconds. The algorithm spawns the point-planets with the position (random(0, canvas.width / 2) , canvas.height / 2) and a starting point towards the bottom of the canvas.
Than I used the formulas of my book that calculate the gravitational force with which the planets are pulled towards the sun performing circular orbits. The formula i used for gravitational force is F = planetMass * sunMass * gama / distance^2.
To make the orbits circular I set this force equal to circular force F = Mass * Speed / distance; Through that I could define the starting speed of each planet.
If you want to see some weird planet orbits try changing the parameters of the browser window on your desktop or by rotating the phone screen if you're on mobile. This weird move…
GraphMaker.tk is a light weight web framework that can be used to draw mathematical functions on screen real time, allowing the user to understand and experiment with the behaviour of different functions in 2D space.
It is fast, reliable and easy to use. If you have found it hard to use, scroll down this page and you find the section on how to use this web application.
Ok, so we all know Mark Zuckerberg's Story from the movie "The Social Network". Before he launched Facebook he and his roommates built a site called FaceMash, which basically was about voting between college students on one another's hotness level. This soon turned viral and that's when he started thinking about building Facebook.
Being fascinated by his story I wanted to build something similar to Facemash as well, wanting to seeing what reactions it would cause on my friends. It wasn't that simple though as I wasn't planning to take 200+ individual pictures of internet people. Two reasons for that: 1) I am way to lazy to do such things and 2) I wanted to automate a process performing this action.
This idea came to my mind about two years ago, but at that time I didn't know how to write PHP or use APIs or do anything automated. This couple months, from October till now I've learned to use APIs of the four largest social networks: Twitter, Instagram…