0% found this document useful (0 votes)
33 views7 pages

Comp Project2

This document describes how Python loops can be used to generate mandala art forms of Ladakh in a digital format. It explains that mandala art is an important spiritual art form in Ladakh traditionally created using colored sand. The code shown uses loops to generate repeating geometric patterns and shapes that can represent mandala art. The output of the code is a digital mandala pattern.

Uploaded by

sroy191006
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)
33 views7 pages

Comp Project2

This document describes how Python loops can be used to generate mandala art forms of Ladakh in a digital format. It explains that mandala art is an important spiritual art form in Ladakh traditionally created using colored sand. The code shown uses loops to generate repeating geometric patterns and shapes that can represent mandala art. The output of the code is a digital mandala pattern.

Uploaded by

sroy191006
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/ 7

Snehangshu Roy

Class XI J (A)
Roll: 41
ART INTEGRATED L
USE OF LOOPS IN GENERATING MANDALA
ARTFORMS OF LADAKH

PAGE 1
Mandala art is an important art form in Ladakh. The word
"mandala" comes from Sanskrit, and it means "circle" or "center".
Mandala art is a spiritual and symbolic art form that is used in many
cultures and religions around the world, including in Buddhism,
Hinduism, and Native American cultures.

In Ladakh, mandalas are typically made by Buddhist monks as part


of their spiritual practice. These mandalas are usually made using
colored sand, and they can be incredibly intricate and beautiful. The
sand is carefully placed to create a geometric pattern that represents
the universe and various deities.

The process of making a mandala is very important in Buddhist


practice, as it is seen as a meditation practice in and of itself. The
monks work in silence for hours, carefully placing each grain of sand
in its proper place. When the mandala is complete, it is often
destroyed as a symbol of impermanence, and the sand is then typically
released into a body of water to spread its blessings.

Mandala art in Ladakh is not limited to just sand mandalas. It is also


used in other art forms such as painting, embroidery, and wood
carving. These mandalas can be found on walls, prayer flags, and
even on everyday objects like tea kettles and cups.

Overall, mandala art is an important and meaningful art form in


Ladakh, and it reflects the deep spiritual and cultural traditions of the
region.

PAGE 2
Python loops can be used to generate mandala art forms of Ladakh in
a digital format. Mandala art can be generated using computer
programming, and Python is a popular programming language for
this purpose.
To create a mandala art form using Python, loops can be used to
generate repeating patterns and shapes.

PAGE 3
Code for The Mandala Art Output

PAGE 4
n=int(input("Enter number of lines: ")) Enter number of lines: 3
snehangshu='SNEHANGSHU' \*/
x=n//2*3 |*|SNE|*|
y=3 /*\
for i in range(1,n//2+1):
for h in range(x):
print(end=' ') Enter number of lines: 9
x-=3 \*/
for j in range(2*i-1): \*//#\\*/
if j%2==0: \*//#\\*//#\\*/
print('\*/',end='') \*//#\\*//#\\*//#\\*/
else: |*||*||*||*|SNE|*||*||*||*|
print('/#\\',end='') /*\\#//*\\#//*\\#//*\
print() /*\\#//*\\#//*\
for i in range(n): /*\\#//*\
if i==n//2: /*\
print(snehangshu[:3],end='')
continue
print('|*|',end='')
Enter number of lines: 11
print()
\*/
for i in range(n//2,0,-1):
\*//#\\*/
for h in range(y):
\*//#\\*//#\\*/
print(end=' ')
\*//#\\*//#\\*//#\\*/
y+=3
\*//#\\*//#\\*//#\\*//#\\*/
for j in range(2*i-1):
|*||*||*||*||*|SNE|*||*||*||*||*|
if j%2==0:
/*\\#//*\\#//*\\#//*\\#//*\
print('/*\\',end='')
/*\\#//*\\#//*\\#//*\
else:
/*\\#//*\\#//*\
print('\#/',end='')
/*\\#//*\
print()
/*\

PAGE 5
Main Output

Enter number of lines: 31

\*/
\*//#\\*/
\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*//#\\*/
|*||*||*||*||*||*||*||*||*||*||*||*||*||*||*|SNE|*||*||*||*||*||*||*||*||*||*||*||*||*||*||*|
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\\#//*\
/*\\#//*\\#//*\
/*\\#//*\
/*\

PAGE 6

You might also like