Archive
Flowers in my lens.. 2
Using the #galaxy #Note9 I take a photo of this flowers in my garden. You may follow me on Twitter Here.

Flowers in my lens ..1
Lily Flower Drawing
Away from Coding and Python projects, drawing is my best way to relax, along with coffee and almost 15min of sketching with pencil then ink-ed it, here is the Lily.
Follow Me on Twitter

Sketch to Relax
This is a last night Sketch, just to break or stop thinking in codes and functions that are not working well. I think I need to stop codeing for 2-3 Days.

Python project: Drawing with Python – Flower
Python: Draw Flower
Drawing with Python
In this post i tried to draw another flower using arcs of circles, i get a simple one and i guess with more sizes we can do more complex shape.
You can play with the code and change the numbers, size and rotation degree and let’s see what we will have.
t = turtle.Turtle()
t.hideturtle()
t.pendown()
for x in range (30):
t.circle(60,70)
if x %3==0:
t.circle (10,90)

Python Project: Drawing with Python – Flower 2
Python: Draw Flower
Drawing with Python
In a previous post, we use the t.forward(size) & t.left(x) to draw something looks-like flower petal. That post (See it Here) is drawing (8) petals facing left side to complete a flower shape… So can we improve it? Can we make it looks better?..
OK, I work on it and divide the code into two functions, one will draw a petal facing left side and another to draw a petal facing right side, each petals will be close to each other and touching or almost touching each’s head. Bellow I am posting the codes, and an image for the result.
You can play with the code and change the numbers, size and rotation degree and let’s see what we will have.
#To draw a flower using turtel and circle function
import turtle
# Here is some setting for the turtel
t = turtle.Turtle()
t.color(‘black’)
t.hideturtle()
t.speed(9)
t.left(0)
t.penup
size=10
#Draw petal facing left side
def petal_l():
t.pendown()
for x in range (40):
t.forward(size)
t.left(x)
t.penup()
#Draw petal facing right side
def petal_r():
t.pendown()
for x in range (40):
t.forward(size)
t.right(x)
t.penup()
left_d=-15
# To draw 5 petals
for pet in range (5):
petal_l ()
t.goto(0,0)
t.left(50)
petal_r ()
t.goto(0,0)
t.left(22)
t.penup
The Code:![]() |
The Result![]() |
Python Project: Drawing with Python – Flower 1
Python: Draw Flower
Drawing with Python
One of my favorite areas is drawing, and when its come to programming languages, one of the first thing i look after is the commands that let me draw lines and shapes.
In python, we have to import a library to help us in this task, here in this short code block I am using codes to draw a flower shape. We can improve the idea later but i want the first version to be as simple as i can. So lets see the code.
# We have to import this library
import turtle
# Here are some setting
t = turtle.Turtle()
t.shape(“point”)
t.color(‘black’)
t.speed(9)
t.left(0)
t.penup
size=10
#This function to draw one petal
def petal():
t.pendown()
for x in range (40):
t.forward(size)
t.left(x)
t.penup()
left_d=-15
for pet in range (8):
petal()
t.goto(0,0)
t.left(-15)
———————————————–
Traditional Arabic Perfume
Flowers and the Traditional Arabic Perfume on a glass table, i used the room lights, Nikon D7100 camera and Nikon 18-300mm lens, the camera position on the table.
[Click to enlarge]
Blue Flowers…
When it comes to flowers I can not curb my desire to portray it, here is a beautiful catch of small blue flowers that are very familiar in London country-side. At 300mm Focal Length the Nikon lens 18-300mm really helps to take close photos without going close to the subject.
Small Orange flower..
A small orange flower in my garden, i cloud not wait till i get close to it and start taking some photos, I use the Nikon 18-300m lens without a stand.

[Click to enlarge]
Model = NIKON D90
Exposure Time = 1/50″
F Number = F5.6
Exposure Program = Manual
Focal Length = 300mm
Ali,









