Hi,
That's a wonderful tweaking . I'm wondering if that kind of tweaking can be used for every kind of mathematical shape
Oh...I almost forget to say : happy valentine day to everyone _________________Cheers,
Abderrahman

Hi,
That's great to see this kind of tweaking used for an isosurface. it's easier with the parametric surfaces since the tweaking can "follow" a well defined direction due to the (u,v) parameters. Abdelhamid Belaid is trying to do something similar but without using any correcting functions. Jotero have also made some funny objects by using the famous topological modeller Topmod. So there is many ways to Rome and each one is trying to pursue his own instinct. That's what make math so funny _________________Cheers,
Abderrahman

This is in fact: 1/(1+a*x*x) where "x" is the original heart3 isosurface and "a" is a correcting function. The bigger the "a" value is, the steeper the blob is. I used (5+50*abs(x)) because the heart surface thickness (we're not there yet) is bigger at the sides (larger x) of the heart.
Because the blob goes (0;1>, we put it equal to 0.5 and now the heart will have thickness that is equal to the middle width of the blob. Well not exactly, it depends on the local derivative but it would be exact on a sphere isosurface.
Now if we vary on the 0.5 value (lets call it "h"), we get different thickness, for value h > 1 we won't get anything at all.

Ok, lets look at the right half, this is where all the magic happen

The grid is made by a triple sinusoidal surface for the value h.

Main offset to make the grid pattern:

Code:

1.15+

The following function reduces the amplitude of the sinusoidal h surface along the z axis to smooth out the ugly part.

Code:

+(0.25-0.25/(1+4000*x^4+4000*z^4))*

This is the sinusoidal surface with waves in three different directions (hexagonal pattern)

And this function reduces the h offset at the z axis. If you remove this, there will be a hole along the z axis. I used n=4 for a very "local" patch with sharp edges. n=4 requires high "a" -> 4000. Just put a high "n" function in a graph generator and you will understand what I mean.

Code:

-0.3/(1+4000*x^4+4000*z^4)

So that's it. The grid is made by holes (h>1) in triangular pattern. If you want to understand it, just change some of the parameters. It's really fun. Go nuts !!!

Hi,
Thanks for the explanation. It's fascinating to see the link between the two tweaking of the heart surface (strands and blobs) and how they relate to the same idea . good job !
PS: to work properly with K3DSurf, the bloby heart formula should be :

Thanks furan for this explanation ,
In fact you put your hand exactly above the hurt, for me making patterns over arbitrary surface is still yet a problem even over simple surfaces like z=x*y or z=x^2, a long time had passed and me trying to solve it and get an explicit expression F(x,y,z)=0 (or parametric expressions).

"For me" there are many questions still posing themselves, for example :

What about the design of holes I want? (the decoration I want to get).
What about the section of tiny rods upon sides (so to speak)? How can I get the section I want (circle, square, flower, curve of a function y=f(x) ....)?.
What about the angle between this section and the tangent plan of our surface in each point? for me I think it would be better if it equals pi/2.

All that and the important thing is getting dimensions, we should have three dimensions to write the formula of form we are imagining , these three are two by two orthogonal, one of them is orthogonal with our surface (Let’s call it N) and the other two are tangents (T1 and T2 ) ( as you know there is only one orthogonal in each point and there are infinity number of tangents ) then we can write F(N,T1,T2)=0 as we like.

If I had this parametric surface x=f(u,v), y=g(u,v) and z=h(u,v), N is defined by :

for example with z=x^2 , here N is :

for z=x*y :

It remains to get just the two appropriate others T1 and T2 to write F(N,T1,T2)=0 (It’s a family of forms).

Getting dimensions :
In the general case that's possible if we could to solve equations systems as you saw above, or to take a bit twisted other ways, if we could get one equation of one form from this family may be we'll can get something, for example you remember we've seen the general equation of helices f( rho-a ,h)=0, in the beginning I wasn't know “h” but when I got the formula of the normal helix (rho-a)^2+h^2-R^2=0 I deduced h then, and used it in many other writings to create other patterned helices.

For exemple this is my last work where I had got three dimensions :
_________________My YouTube channel

Last edited by abdelhamid belaid on Mon Nov 07, 2011 1:18 pm; edited 4 times in total

What about the design of holes I want? (the decoration I want to get).
What about the section form of the tiny rods upon sides (so to speak)? How can I get the section I want (circle, square, flower, curve of a function y=f(x) ....)?

You're right Abdelmajid, it's somehow very difficult to address all these questions the way Furan did... Not only the Distributions of the patterns over the final surface but also there geometry must be defined.
The "Distrubution" problem depends also on the shape, size (and number) of the decorative pattern: I understand that when looking on my mother making cakes with different sizes and shapes from the same flattened pastry _________________Cheers,
Abderrahman

Yes Taha it's very suitable example
These anyway are just my own questions and my own problems, I had solved it only for some basic forms like cylinder, torus, helix/torus ... where dimensions are very clear.

For geometry of initial surface and Distributions of patterns over the final surface I think we can get so if we were properly choosing T1 and T2, It's too remains a problem._________________My YouTube channel

Yes Taha it's very suitable example Very Happy
These anyway are just my own questions and my own problems, I had solved it only for some basic forms like cylinder, torus, helix/torus ... where dimensions are very clear.

Just to say that my mother before flattening the pasrty,she always make it first as a sphere or a cylinder. What I mean is that topologicly speaking, a sphere is equivalent to a Heart but not the torus because of it's "hole" and thus we can easily make a lot of shapes (includind a cylinder and a heart) from a sphere by using some elementary operations. Some of theme are used in K3DSurf in the "Tools" tab ( "twist" and "scale"). So this might be the easiest way to do it: make a sphere (or another basic form) with some cool paterns well distributed on it's surface, then turn it to a heart by using some mathematical deformers (some example are available in K3DSurf).
What you think, isn't doing math like making cakes ? _________________Cheers,
Abderrahman

You're right Taha , but there are others cases we need purely mathematical ways what I say or we're obliged to choose that sometimes or perhaps for gain time too, this latter for more complexity are often not easy only if we had a specific and appropriate equipments (or tools), but althought, also we shouldn't forget: each person has his own desires, for me for example I'm intrested in particular in formula not just creating form more of that it's well to be itself the norm dimension N from the beginning to avoid that problem because I always want to do new tweaking over my new surfaces also egain and again ... (this is possible, I did it in many works), well I'm too not always following up the purely mathematical way but often take others ways .