File Exchange

image thumbnail

Heart Model for Valentine's Day

version 1.0.0.0 (4.36 KB) by Xin Zhao
This generate a 3D heart surface in Matlab

127 Downloads

Updated 15 Feb 2008

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Looking for a creative way to impress your special one for memorial days?

Check out this small program.

It generates a heart shape and with the Maltab core functions, you can re-shape it, move it and even generate a bouncing effect.

Cite As

Xin Zhao (2021). Heart Model for Valentine's Day (https://www.mathworks.com/matlabcentral/fileexchange/18754-heart-model-for-valentine-s-day), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (47)

Jeison Garcia

great

IMBLAYLIN

Divyansh Raka

Ekaterina Kiseleva

sara bitarafan

How can I add e phrase on the heart that says I LOVE YOU?

henyan deng

JIANP jianpeng

Vladimir Ickert

btw

[y,x,z] = ndgrid(linspace(-2,2,100),linspace(-2,2,100),linspace(-2,2,100));
f = (x.^2+9/4*y.^2+z.^2-1).^3-x.^2.*z.^3-9/80*y.^2.*z.^3;
cla
isosurface(x,y,z,f,.0);
view(3);
camlight
axis off

does the same

Vladimir Ickert

Stian Sandøy

MOHIT

Tish Sheridan

Tri Agung

DAN

Nice

A

BAE GeunDong

Huang

So niubi as niubi could be.
Very amazing. Amazing Chinese gay. :)

Paisarn

Zhigang Jia

Abhijit

Leon

Brad Humphreys

CT-7567

this work is incredible. simply 5 star

K P

Awesome!!

Damith

coooool...

Ben

5 STAR!

Mahmoud

ver Nice

TT

seyran khademi

So Cool! thanks :)

Ali

MECIE 11

Is there any who tell me that where is file contains matlab code.

TT

smail smail

nice

Rich

Madiake Wasubera

Ok.no worries mate,I got it,thnks so much,thats so nice of you.

zhong

MaritzaArreola

its an excelent gift :) love it

sapientia

nsbd

Alberto

nice!

Sebastien PARIS

Jimy Shah

Nice animation :)

lei

Richard Crozier

Tracy Tracy

It is very creative

A B

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!