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

90 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 (2020). 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 (46)

IMBLAYLIN

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

henyan deng

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

MOHIT

Tri Agung

DAN

Nice

A

Huang

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

Paisarn

Zhigang Jia

Abhijit

Leon

CT-7567

this work is incredible. simply 5 star

K P

Awesome!!

Damith

coooool...

Ben

5 STAR!

Mahmoud

ver Nice

TT

So Cool! thanks :)

Ali

MECIE 11

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

TT

smail smail

nice

Rich

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

zhong

its an excelent gift :) love it

sapientia

nsbd

Alberto

nice!

Jimy Shah

Nice animation :)

lei

Tracy Tracy

It is very creative

A B

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