Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #446285

Re: Strange wormhole like 3d object from a vector field...

From "Chris M. Thomasson" <invalid_chris_thomasson_invalid@invalid.com>
Newsgroups sci.math
Subject Re: Strange wormhole like 3d object from a vector field...
Date 2019-06-23 14:59 -0700
Organization Aioe.org NNTP Server
Message-ID <qeosns$1uh8$1@gioia.aioe.org> (permalink)
References <qendat$19k7$1@gioia.aioe.org> <5dfe57da-1a49-41a6-9a77-c98cfd7c03b9@googlegroups.com>

Show all headers | View raw


On 6/23/2019 3:47 AM, bassam king karzeddin wrote:
> On Sunday, June 23, 2019 at 11:30:29 AM UTC+3, Chris M. Thomasson wrote:
>> Here is my code and an online example:
>>
>> http://funwithfractals.atspace.cc/ct_gfield_test/3d_user/ct_wormhole_exp.html
>>
>> Strange!
> 
>   Looks fantastic though I don't know what is it? wonder!

It is a vector field plotted with a sink in the center of the cube, and 
sources on each vertex of the cube. Source and sink vector field. You 
can see the code in a much more convenient manner here:

https://www.shadertoy.com/view/XljcRR

Take a look at my ct_vfield_normal function, line 102. You pass it any 
point in the plane, and it outputs a normalized vector of the field at 
said input point. We can plot lines by marching up the normal.

https://www.shadertoy.com/view/MdcyRs
(this one allows the user to dynamically click-and-drag an attractor, or 
sink if you will...)

The vector field can go to n-ary dimensions. My "wormhole" example is 
3d. There are several ways to render these. One that is fun, is to 
create each slice of a 3d volume, then use volumetric rendering to 
visualize the whole. Think of DICOM images for a moment. Fwiw, here is 
an example of a program that generates the volume using multiple 2d 
frames. Each frame is a slice of a higher dimensional object:

https://www.shadertoy.com/view/4scBRs

The looks strange when the stack of images is finally rendered as a full 
blown 3d object.


>   Is it a cube in 4-D, You mean?

It is a 3d cube. My vector field is kind of like a Voronoi diagram. It 
needs to have some set points that act as sink or source. These points 
can be dynamically generated, moved, and/or fixed in position.

Back to sci.math | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Strange wormhole like 3d object from a vector field... "Chris M. Thomasson" <invalid_chris_thomasson_invalid@invalid.com> - 2019-06-23 01:30 -0700
  Re: Strange wormhole like 3d object from a vector field... bassam king karzeddin <sophyan2003@gmail.com> - 2019-06-23 03:47 -0700
    Re: Strange wormhole like 3d object from a vector field... "Chris M. Thomasson" <invalid_chris_thomasson_invalid@invalid.com> - 2019-06-23 14:59 -0700

csiph-web