Share Your Experience: Take the 2024 Developer Survey

# Tag Info

Accepted

### How to: Exponential Fall Off for Volume Density?

You can use Vector maths and Maths nodes to calculate the 'altitude' above the planet and from there the atmospheric density and use this to control the density of the Volumetric Scatter. To achieve ...
• 44.8k
Accepted

### Create procedural spiral pattern

Final result One method is to create a volumetric cylinder and distort it by rotating it around the origin by an amount that varies based on the distance from the origin. First, create a volumetric ...
• 44.8k
Accepted

### How can I generate an object from a mathematical function?

Have used the equations found here http://www.econym.demon.co.uk/isotut/real.htm#heart1 The first can be crunched into XYZ surface. Notice the use of fabs(...) in ...
• 84.5k
Accepted

### Use Latex in Blender

Here is how I would do it Wrap your expression inside a LaTeX document ...
• 1,388

### What does the fraction math node do?

Fract returns the fractional part of a floating-point value, as described by @Merlin, but its treatment of negative fractional parts is not actually the same as Blender's implementaion of Modulo. If ...
• 77.4k
Accepted

### How can I make my procedural brick texture map correctly to both a cube and cylinder?

I think one issue with your original solution was due to lack of 'absolute' on your tests on the Normal - it's allowing for > 0.5 but not for `< -0.5'. Also, '...
• 44.8k

### How can I generate an object from a mathematical function?

Computing a real mathematical set given implicitly by function(s) f1(x,y,z,...)=0, f2(x,y,z,...)=0, ... is really hard. Here's how I do what you want: The ...
Accepted

### HSV to RGB conversion

The RGB values in Blender use a linear color model while the Hex values use gamma corrected non-linear color model. To convert between these two, you would have to manually do the gamma calculations ...
• 2,711

### Closing "Fibonacci's Hole"

Oh gosh, I spent ages with it. On the pictures you posted it looks particularly nice because of lines are actually spirals. If they were straight it won't look nice. On your picture pole doesn't have ...
• 1,256
Accepted

### Graph in blender a function of two variables,

There is an addon shipped by default with Blender called Add Mesh: Extra Objects capable of doing this. It is disabled by default and can be activated from the User Preferences dialog. Start by ...
• 59.9k

### How do I create a 3D parametric surface using Geometry nodes?

Will this way do? It's actually the same as @LuckyOne's, and the 2D answer you refer to. Instead of starting with a curve, start with a 'UV' grid, at the desired resolutions. Map the dimensions of the ...
• 77.4k
Accepted

### Filling pentagon with quads (combinatorics)

Original answer (edit addressing the question clarification below) If you look at how the Catmull-Clark subdivision algorithm does it, you can see it creates a five-pointed star: Before: After: When ...
• 4,483
Accepted

### Create a plane perpendicular to the long diagonal of a cube

You can create a face-type Custom Orientation from any 3 points: Edit Mode: Select the 3 points you want the plane to be aligned to and create a Custom Orientation from them.. ensure it's being used. ...
• 77.4k
Accepted

### How do I plot a 2D parametric equation in Geometry Nodes?

Parametric functions fall absolutely naturally into the lap of GN, by setting X,Y and Z of a curve's points as some function of its Spline Parameter Create a Curve Primitive > Line Resample it to ...
• 77.4k
Accepted

### Get Wave Texture to Follow Empty

You can use another empty with the track constraint and at the sphere's position, then use it in the Texture Coordinate node: Result:
• 6,103

### Which of Blender's bpy.props properties can store a Matrix?

If you choose MATRIX as subtype the property will return a mathutils.Matrix object on access. So you might define a utility ...
• 9,876

### Recreating Mandelbulbs with math nodes

It's impossible to tell what's going wrong in your particular case as there just isn't enough information in your question - you've only partially shown the 'internal' node tree (many of the nodes are ...
• 44.8k
Accepted

### How do I make a giant clock made of many small clocks?

Here is the simple scene that I made using animation nodes: I made 2 arrows, and duplicated it 5*8 times: Each arrow is sent to the node program, which determines the position in the space and the ...
• 35.3k
Accepted

### Is there a way to calculate mean curvature of a triangular mesh?

This is an answer based on this Computer Graphics SE indicated in the comments (the one by Nathan Reed). The math is described in this answer, but in short the curvature is calculated by vertex so: ...
• 60.4k
Accepted

### How to create an accurate procedural spin gradient?

Quite an easy thing to do procedurally, since radial gradient is already there in the Gradient Texture node, just select Radial mode and use Object space for the centre of the texture to be at the ...
Accepted

### How do you draw sin, cos and tan with shaders?

you can use this node setup: You can now add any math node between the two multiplier nodes.
• 61.6k
Accepted

### What happens when a vector is fed into a value slot of the add node?

🟣 Vector values convert to ⚫ scalar values by averaging all three components, therefore the following material should be white: (both branches compare as equal) ⚠ At very big values the $ε = 0$ ...
• 36.9k
Accepted

### how to change a mesh given by mathematical function with time i.e. how to include the time parameter in the mathematical equation?

I'm not aware of a simple way to do this without scripting, so here's a scripting based solution, using a frame change app handler. frame_change_pre app handlers ...
• 16.1k

### how to change a mesh given by mathematical function with time i.e. how to include the time parameter in the mathematical equation?

I would suggest using Animation Nodes for more interactive results. The Grid Mesh node generates evenly spaced vectors (Which can act as your 2D coordinates plane). I separate the vectors into their ...
• 22.6k
Accepted

### Ping Pong Math node - what does it do?

It's a positive symmetrical triangle-wave, amplitude Scale, period 2 * Scale, 0 at 0. Here's the function illustrated with 'Scale' (from the bottom up) set to 1, 0.5, and 0.333. These planes are 8 ...
• 77.4k

### Create a plane perpendicular to the long diagonal of a cube

To rotate the plane so that it is exactly perpendicular to the long diagonal of the cube, one can use either a constraint or a little bit of trigonometry. Constraint With the plane centered on one of ...
• 3,958

### How do I plot a 2D parametric equation in Geometry Nodes?

You may use an Accumulate Field node for u, calculate x and y, combine them to a vector and set the position on the points of a Mesh Line: You should be aware, that the last point is not exactly the ...
• 2,364
Accepted

### How do I create a 3D parametric surface using Geometry nodes?

Because your formula was too complicated for me...i just took another formula (but the principle is the same) so here is an example: I took the example from math surface -> cosinus formula:
• 721