Note that there are some explanatory texts on larger screens.

plurals
  1. POFractal Koch Curve
    primarykey
    data
    text
    <p>My project that involves antenna design, in which Python generates the .nec file that allows me to model fractal antennas in the software and optimize them for the best performance. The program is intended to work with multiple fractal antennas, including all of the following:</p> <ul> <li>Koch Curve</li> <li>Hilbert Curve</li> <li>Koch Snowflake</li> </ul> <p>Don't worry, this isn't a homework assignment. I am giving a speech on Fractal Antennas and wanted to automate the design process, otherwise it is tedious.</p> <p>Unfortunately, I'm having trouble with calculating the center point of the Koch Curve. Here is an image of what it looks like in software; note that I still geometry bugs that need to be solved.</p> <p><img src="https://www.vooba.net/pics/50/640/13159580650.png" alt="Koch Fractal in 4NEC2"></p> <p><a href="https://github.com/ElectroNerd/Fractal/blob/master/NEC%20Files/KochCurve.nec" rel="nofollow">Here</a> are the coordinates of the resulting Python script using a iteration level of 3 and segment size of 0.305m.</p> <p>The Python scripts that is currently being subjugated to my madness are pointed out below:</p> <p><a href="https://github.com/ElectroNerd/Fractal/blob/master/NEC%20Files/KochCurve.nec" rel="nofollow">.NEC File</a></p> <p><a href="http://codepad.org/9ld6nivu" rel="nofollow">Coordinates</a></p> <p><a href="https://github.com/ElectroNerd/Fractal/blob/master/4NEC2/4NEC2_Generator.py" rel="nofollow">4NEC2_Generator.py Code</a></p> <p><a href="https://github.com/ElectroNerd/Fractal" rel="nofollow">Complete Project</a></p> <p>As you will notice in the image depiction of the Koch Curve, it is off center by a tiny amount. My equation to find the complete length is this:</p> <p><img src="https://www.vooba.net/pics/50/640/13159587370.png" alt="Center Point Equation"></p> <p>Where:</p> <pre><code> l = total side-length (referenced from the bottom) of the Koch Curve s = segment size (my segment size was 0.305m, they should all be equal) n = number of iterations </code></pre> <p>Does anyone know why I'm not getting the center?</p> <p>Thanks,</p> <p>Austin</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload