diff --git a/earth/README.md b/earth/README.md new file mode 100644 index 0000000..f5d35cc --- /dev/null +++ b/earth/README.md @@ -0,0 +1,32 @@ +# Earth Animation + +![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102) + +This simple programe written with processing (like JAVA but easier).
+It's a progme that animate the earth with a car. +Click here to read more about processing3. + +## Features :dart: +* [x] Free & Open Source +* [x] Very Easy to use +* [x] No Internet connection required + +## Screenshots +Earth Animation +:---------------------: +![screenshoot](screenshots/earth.png) + +## Requirements +* processing3 + +## How To Use It +1. Download Processing3 from this link: https://processing.org/download/ +2. Install this repository. +3. Extract the folder. +4. Open the ```earth.pde``` file. +5. Run it :) + +## Contributing 💡 +If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed.
+If you find any issue just put it in the repository issue section, thank!

+.سبحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، أَشْهَدُ أَنْ لا إِلهَ إِلأَ انْتَ أَسْتَغْفِرُكَ وَأَتْوبُ إِلَيْ diff --git a/earth/data/car.png b/earth/data/car.png new file mode 100644 index 0000000..863adc9 Binary files /dev/null and b/earth/data/car.png differ diff --git a/earth/data/earth.png b/earth/data/earth.png new file mode 100644 index 0000000..f520dd5 Binary files /dev/null and b/earth/data/earth.png differ diff --git a/earth/earth.pde b/earth/earth.pde new file mode 100644 index 0000000..70df354 --- /dev/null +++ b/earth/earth.pde @@ -0,0 +1,36 @@ +import ddf.minim.*; + +Minim minim; +AudioPlayer a,b,c,carsound; + +PImage ert,car; +float rt; + +void setup(){ + +size(1000,900); +background(0); + + ert=loadImage("earth.png"); + car=loadImage("car.png"); + + +} +void draw(){ + + imageMode(CENTER); + + noStroke(); + fill(0,5); + rect(0,0, width, height); + + fill(250); + ellipse(random(width), random(height), 5,5); + pushMatrix(); + translate(width/2,1200); + rotate(rt); + rt+=.01; + image(ert,0,0); + popMatrix(); + image(car,width/2,462); + } diff --git a/earth/screenshots/earth.png b/earth/screenshots/earth.png new file mode 100644 index 0000000..84f19a5 Binary files /dev/null and b/earth/screenshots/earth.png differ