0% found this document useful (0 votes)
40 views

Mini Project 104

maginitization theory

Uploaded by

Shammi Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Mini Project 104

maginitization theory

Uploaded by

Shammi Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

A

Study
On
“VISUALISING THE SOLAR SYSTEM”
The report submitted
for the partial fulfilment of the requirements for the completion of
Mini Project for
B.Sc. Data Science-Semester III

Submitted By,
Somithkumar
201223539104

Under the Guidance of


Mr. P S RAVI KUMAR
Lecturer

Department of Computer Science


SIVA SIVANI DEGREE
COLLEGE
(Affiliated to Osmania University)
Kompally (v), Secunderabad-500014
S. P. Sam pathy’s Siva Sivani Group ®
S. P. Sampathy’s Siva Sivani Educational Society (2906/97)

SIVA SIVANI DEGREE COLLEGE


Affiliated to Osmania University, Recognized by UGC under section 2(f) of the UGC Act,
1956.
Accredited by NAAC with Grade B ++
Mrs. S. AARATHY SAILESH SAMPATHY
President & Chief Executive Vice President & Dy. Chief Executive

Prof. M. KAMALAKAR P.MAMATHA DEEPIKA SAMPATHY


Executive Vice President Principal Associate Vice President

Date:

CERTIFICATE

This is to certify that MR. SOMITH KUMAR bearing Hall Ticket

Number 201223539104 is Studying BSc (Data Science) II Year III

Semester in SIVA SIVANI DEGREE COLLEGE has undertaken a

project on “VISUALISING THE SOLAR SYSTEM ” as a part of Academic

program in the year of 2024-25 under my Guidance.

Internal Guide Signature Principal’s


Signature P S RAVI KUMAR
LECTURER

EXTERNAL SIGNATURE

NH – 44, Kompally, Secunderabad – 500 100. Telangana, INDIA Mobile: - +91-


9247048112. Website: www.ssdc.ac.in
DECLARATION

I somith kumar, a student of BSc (Data Science) III Semester of SIVA


SIVANI DEGREE COLLEGE, hereby declare that, the Mini project titled
“VISUALISING THE SOLAR SYSTEM ” is an original work done by
me under the guidance and supervision of Mr. P S RAVI KUMAR, Lecturer,
Department of Computer Science, SIVA SIVANI DEGREE COLLEGE,
SECUNDERABAD.

Further, I state that this project work is the result of my own efforts and have not
plagiarized or submitted the same work for the award of any other certificate.
In case this undertaking is found incorrect, I accept that my project work will be
rejected.

Somith kumar
201223539104
ACKNOWLEDGEMENT

The success of this mini project is credited to people who have helped me and I
find that it is my duty to convey acknowledgement and sincere thanks to them.
I take much pleasure to express my deep sense of gratitude and thankfulness to
my Mini Project guide Mr. P S RAVI KUMAR, Lecturer of SIVA SIVANI
DEGREE COLLEGE for the valuable guidance and constant co-operation
throughout my Mini project work, which helped me to gain more knowledge and
develop my practical thinking.

I am thankful to the Principal Mrs. P. MAMATHA, for her co-operation


throughout the completion of my mini project and for providing the necessary
lab equipment.

I also express my deepest gratitude to my parents.

Somith kumar
201223539104
TABLE OF CONTENTS
ABSTRACT

This mini project aims to create an interactive 3D visualization on of the solar


system show casing the planets and their relative positions, sizes, and orbits.

The visualization will include features like:

1. Accurate scaling and positioning of planets

2. Realistic orbits and trajectories

3. Informational pop-ups and labels- User-controlled camera movements


and zooming

1
INTRODUCTION

What is a Solar System?

➤ Our solar system consists of the Sun and 8 planets including Earth.

➤ Following are the planets in the Solar System in the given order:
1. Mercury

2. Venus

3. Earth

4. Mars

5. Jupiter

6. Saturn

7. Uranus

8. Neptune

➤ Python Project Details in this Python Project, we are going to visualize a Solar System. We
will see how the planets revolve around the sun. Also, we will be using different colors to show
different planets and assign them with speed and paths to make our project look real. We are
going to use the Math Module and Turtle Module to create objects in the solar system and depict
their movement.
This project will demonstrate the application of programming concepts, such as data
visualization on, object-oriented programming, and event-driven programming, to create
an educational and entertaining tool for understanding the solar system.

The final product will be a interactive and informative visualization on that can be used in
educational settings or for personal exploration.

2
OBJECTIVE

* To know about solar system

* To know about the different components of the solar system

* Here this project programmed in such a way every student can view that detail

* Several modules are used to program the project like turtle module and me module

* Turtle can draw intricate shapes using programs that repeat simple moves. In Python,
turtle graphics provides a representation of a physical "turtle"

* The math module in Python provides functions for handling math related tasks.

3
SYSTEM DEVELOPMENT LIFE CYCLE

SDLC is a process followed for a so ware project, within a so ware organization. It consists of a
detailed plan describing how to develop, maintain, replace and alter or enhance specific so ware.
The life cycle defines a methodology for improving the quality of so ware and the overall
development process.

PHASES:

Stage 1: Defining Requirements.


Stage 2: Planning and Requirement Analysis.

Stage 3: Designing the Product Architecture.

Stage 4: Building or Developing the Product.

Stage 5: Testing the Product.


Stage 6: Deployment in the Market and Maintenance.

4
INSTALLATION PROCESS

1. Installation of python version 3.11.0


2. Visit www.python.org
3. Search for the latest version of python.
4. Click on install for all users after selecting windows executable installer depending of OS
of the system. Ex-windows 64 bit executable installer for 64 bit operating system.
5. Add python to path
6. Click install for all users.

INSTALLING TURTLE MODULE


To install Turtle, time and math module. Run this command in your terminal..This is the
preferred method to install Turtle, as it will always install the most recent stable release. If you
don't have pip installed, this Python installation guide can guide you through the process.

5
HARDWARE AND SOFTWARE
REQUIREMENTS

Processors: AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz

Operating System: Windows 11 Home Single Language

RAM : 8.00 GB

System type: 64-bit operating system, x64-based processor

You have to install Python 3.12 and related packages You will need the required modules to be
installed and imported properly. You need to have all the specified images and other attachment
as required

6
MODULES IMPORTED

TURTLE MODULE
Turtle is a pre-installed Python library that enables users to create pictures and shapes by
providing them with a virtual canvas. The onscreen pen that you use for drawing is called the
turtle and this is what gives the library its name.

TIME MODULE
The module in Python provides functions for handling me-related tasks. The me- related tasks
includes, sleeping for a specified number of seconds and so on.

MATH MODULE
Math Module is an in-built Python library made to simplify mathematical tasks in Python. It
consists of various mathematical constants and functions that can be used as importing the
math module.

7
FLOW CHART

8
CODING

#importing the required modules

import turtle
import me
from math import *
screen = turtle.Screen() #creating the
screen screen.tracer(50)
sun = turtle.Turtle() #turtle object for
sun sun.shape('circle') #shape of sun
sun.color('yellow') #colour of sun
class Planet(turtle.Turtle):
def_init (self, name, radius, color): #initialize function
super().init_(shape='circle')
self.name = name
self.radius = radius
self.c = color
self.color(self.c)
self.up()
self.pd ()
self.angle = 0
def move(self):
x= self.radius*cos(self.angle) # Angle in

radians x= self.radius*sin(self.angle) self.goto(sun.xcor()

+x,sun.ycor()+y)
# making plantes

9
mercury = Planet("Mercury", 40, 'grey')
venus = Planet("Venus", 80, 'orange')
earth=Planet("Earth",100,'blue')
mars = Planet("Mars", 150, 'red')

jupiter Planet("Jupiter", 180, 'brown')

saturn Planet("Saturn",230, 'pink')

uranus Planet("Uranus", 250, 'light blue')


neptune Planet("Neptune", 280, 'black')
#adding planets to a list
myList = [ mercury, venus, earth, mars, jupiter, saturn, uranus, Neptune]

while True:#while statement

screen.update()#upda ng the screen

for i in myList:
i.move()#moving the elements of the list

# Increase the angle by 0.0x radians

mercury.angle += 0.05
venus.angle += 0.03

earth.angle += 0.01
mars.angle += 0.007
jupiter.angle += 0.02
saturn.angle += 0.018
uranus.angle += 0.016

neptune.angle += 0.005

10
OUTPUT

 When we run this program we can see this page

11
TESTING

To perform the testing of a Visualizer Solar System code


* In Python, I'll assume you have a project that simulates a solar system's celestial mechanics,
renders
the planets, and allows user interaction. Here's how you can approach testing the visualizer using
Python, covering unit testing, integra on testing, performance testing, and manual/automated
validation of visual output.

12
CONCLUSION

A solar system visualization serves as an effective educational tool, allowing users to explore
and understand the structure, motion, and scale of the solar system.
By simulating the positions and orbits of planets, moons, and other celestial bodies in real- me,
it helps provide a clearer comprehension of astronomical concepts that might otherwise be
abstract.
Additionally, the interactive nature of such a tool enhances engagement, making it easier for
students, researchers, and enthusiasts to grasp the dynamics of the universe.
Whether used for educational purposes or entertainment, a solar system visualizer bridges
the gap between theoretical knowledge and visual understanding, making space exploration
more accessible and immersive.

13
BIBILOGRAPHY

WEBSITE:

https://www.learnpython.org/
https://www.w3schools.com/python/

14

You might also like