Making Art with Mathematical Equations, Inequalities and Functions (Mappings, Transformations)
Showing posts with label People. Show all posts
Showing posts with label People. Show all posts
Tuesday, October 11, 2016
Wednesday, October 5, 2016
Funny Boxing Champion (1)
Equations (方程式):
(1) body (身体):
x² + y² - 72[exp(1/(sin(y+x) - 1)) ± exp(1/(sin(y-x) - 1))]² = 5/2
(2) eye sockets (眼眶):
(abs(x) - π/4)² + (y - 3π/2)² = (π/8)²
(3) eyes (眼睛):
arcsin²(k(abs(x) - π/4)) = arcsin²(k(y - 3π/2))
(4) mouth (嘴巴):
arcsin²(kx) = arcsin²(k(y - 19π/16))
(5) navel (肚臍):
arcsin²(kx) = arcsin²(k(y + π/3))
(8 ≦ k ≦ 10)
( Mathematical software used: gnuplot )
Sunday, June 5, 2016
Face Slimming
The main equations are:
r³ - 3r + 1.95 = 4 abs(sinθ)^(c + sinθ)
(c = 1, 2, 3, ..., 11)
( Softwares used: gnuplot, PhotoScape )
Thursday, June 2, 2016
Butt Head Girls
The main equation is a branch of the polar equation
r³ - 3r + 4 = a(1 + sinθ)^abs(cosθ), (where 4 < a < 4.1).
( Mathematical software used: gnuplot )
Sunday, May 29, 2016
Head of a Little Girl - using the real part of a complex function
Consider the polar equation
r³ - 3r + a = sin³θ (where a is a fixed number, 1.7 ≦ a ≦ 1.8).
First, we plot the polar equation by plotting the equivalent rectangular equation(s).
The graph (See Image 1) consists of two disjoint closed curves, and the inner curve
looks like a little girl's hair!
Second, since the equation is a cubic equation in the variable r, we can solve it
for r in terms of θ, and plot the three solution functions r = r1(θ), r = r2(θ) and
r = r3(θ) (See Image 2). Note that the union of their graphs is the same as the
graph of the polar equation.
Finally, replace r3(θ) with its real part Re(r3(θ)) and plot again (See Image 3).
We see that the union of the graphs of r = r1(θ) and r = Re(r3(θ)) looks like
a little girl's head!
Image 1 -- Graph of
the polar equation r³ - 3r + a = sin³θ
Image 2 -- Graphs of
r = r1(θ), r = r2(θ), r = r3(θ) (r∈R, 0≦θ≦2π)
Image 3 -- Graphs of
r = r1(θ), r = r2(θ), r = Re(r3(θ)) (r∈R, 0≦θ≦2π)
gnuplot script for image 1:
reseta = 1.8
fun1(x,y) = (x**2 + y**2 - 3)*(x**2 + y**2)**2 \
+ a*(x**2 + y**2)*sqrt(x**2 + y**2) - y**3
fun2(x,y) = (x**2 + y**2 - 3)*(x**2 + y**2)**2 \
- a*(x**2 + y**2)*sqrt(x**2 + y**2) - y**3
set xrange [-2.25:2.25]
set yrange [-2.25:2.25]
set size ratio -1
set samples 256
set isosamples 256
set contour base
set cntrparam levels discrete 0.0
unset key
unset surface
set table 'fun1.dat'
splot fun1(x,y)
unset table
set table 'fun2.dat'
splot fun2(x,y)
unset table
plot 'fun1.dat' w l lw 2 lc rgb "red", \
'fun2.dat' w l lw 2 lc rgb "green"
gnuplot script for image 2:
reseta = 1.8
h(t) = (sin(t)**3 - a + sqrt((sin(t)**3 - a)**2 - 4))**(1.0/3)
s = 2**(1.0/3)
p = (-0.5)*(1 + sqrt(3)*{0,1})
q = (-0.5)*(1 - sqrt(3)*{0,1})
r1(t) = s/h(t) + h(t)/s
r2(t) = p*s/h(t) + q*h(t)/s
r3(t) = q*s/h(t) + p*h(t)/s
set xrange [-2.25:2.25]
set yrange [-2.25:2.25]
set size ratio -1
set samples 4000
set polar
unset key
unset raxis
unset rtics
plot r1(t) w l lw 2 lc rgb "#0099ff", \
r2(t) w l lw 2 lc rgb "green", \
r3(t) w l lw 2 lc rgb "#ff00ff"
gnuplot script for image 3:
The script is the same as that of (2), except the last line:real(r3(t)) w l lw 2 lc rgb "#ff00ff"
Graph example: Head of a Little Girl
( Mathematical softwares used: Graph, gnuplot )
Sunday, May 15, 2016
Cat Girl
Equations:
Contour lines:
(16*x^4 + y^4 - 16*x^2*y - 0.1) * (x^2 + (y - 0.5)^2 - 1) = 0.25
(16*x^4 + y^4 - 16*x^2*y - 0.1) * (x^2 + (y - 0.5)^2 - 1) = -2.5
Eyes:
(abs(x) - 0.5)^2 + (y - 0.75)^2 = 0.25^2
Pupils:
(abs(x) - 0.5)^2 + (y - 0.7)^2 = 0.06^2
Nose:
x^2 + 0.75*(y - 0.1)^2 = 0.1^2
Mouth:
x^2 + 8*(y + 0.25)^2 = 0.1^2
Whiskers:
y = sign(x)*(x - 0.55*asin(x)) - 0.025
y = sign(x)*(0.9*x - 0.8*asin(0.9*x)) - 0.025
y = sign(x)*(1.2*x - 1.1*asin(1.2*x)) - 0.025
( Mathematical software used: Graph, GeoGebra )
Monday, September 2, 2013
Sunday, September 1, 2013
Gun Head (槍頭, 雙槍怪頭)
This graph is plotted using an inequality
of the form fun(x,y) > c, c=0.25.
of the form fun(x,y) > c, c=0.25.
This is a parameter animation for a family of inequalities
of the form fun(x,y) > c, c = 0.25 ~ 1.15.
( Mathematical software used: Graph )
Sunday, August 11, 2013
Saturday, August 10, 2013
Wednesday, August 7, 2013
Queen's Head (女王頭)
1024x1024 pixels (Click on the image for a larger view.)
800x800 pixels
1024x768 pixels (graph of equation)
1024x768 pixels (graph of inequality)
( Mathematical software used: gnuplot )
Friday, August 2, 2013
Thursday, August 1, 2013
Wednesday, July 31, 2013
Tuesday, July 23, 2013
Monday, July 22, 2013
Corrupt Judge (豬頭判官)
豬頭判官 (貪污腐敗的法官)
判官頭掛兩豬頭,
原告被告各一頭,
誰把豬頭餵到飽,
殺人放火皆免囚。
The original graph (of equation)
( Mathematical software used: gnuplot )
Thursday, July 11, 2013
Subscribe to:
Posts (Atom)