fractals Questions
2
Solved
I'm trying to take apart and de-obfuscate this mandlebrot-generating python code:
_ = (
255,
lambda
V ,B,c
:c and Y(V*V+B,B, c
-1)if(abs(V)<6)else
( 2+c-4*abs(V)**-0.4)/i
) ;v, x=1500,10...
Gallantry asked 15/11, 2013 at 20:4
3
Solved
So I'm programming a recursive program that is supposed to draw Koch's snowflake using OpenGL, and I've got the program basically working except one tiny issue. The deeper the recursion, the weirde...
5
I have written code which draws the Sierpinski fractal. It is really slow since it uses recursion. Do any of you know how I could write the same code without recursion in order for it to be quicker...
Welcome asked 30/1, 2012 at 18:40
3
First of all, I am aware that this question really sounds as if I didn't search, but I did, a lot.
I wrote a small Mandelbrot drawing code for C#, it's basically a windows form with a PictureBox o...
Royce asked 1/7, 2013 at 14:7
1
Solved
I have the following Mandelbrot set code in C. I am doing the calculation and creating a .ppm file for the final fractal image. The point is that my fractal image is upside down, meaning it is rota...
Puga asked 20/4, 2013 at 19:10
2
Solved
I am beginning to make a mandelbrot set fractal viewer. I am having a lot of issues when it comes to zooming in on the fractal. If you try to zoom, the viewer will just close in on the center. I ha...
Turkic asked 31/12, 2012 at 4:50
3
Solved
I need to draw a fractal swirl using the algorithm Iterated Function System.
There are coefficients for this fractal:
0.745455 -0.459091 0.406061 0.887121 1.460279 0.691072 0.912675
-0.42...
3
I have followiong program in PostScript which I am having difficutly in understanding.
/kochR
{
2 copy ge {dup 0 rlineto}
{
3 div
2 copy kochR
60 rotate
2 copy kochR
-120 rotate
2 copy ko...
Pearl asked 12/9, 2012 at 5:46
0
here, in the following code, I get the colors assigned to the vertices, but there is no significance for the length of the box 'l'
I want the colors to be assigned w.r.t. the length of the boxes a...
Resistive asked 21/7, 2012 at 14:46
3
Solved
My goal with this algorithm I'm working on is to output a color progression out of some provided colors. By color progression I mean creating the "fade" effect between two colors (color A, color B)...
Devaughn asked 5/5, 2011 at 16:30
1
Solved
I'm trying to generate a spiral galaxy in the form of xy (2D) coordinates -- but math is not my strong suit.
I've gleaned the following from an excellent source on spirals:
The radius r(t) and ...
Couldst asked 3/6, 2012 at 23:8
1
Solved
I have translated the code from javascript to c# which can be found by going to this excellent demo at http://fractal.qfox.nl/dragon.js
My translation is intended to produce just a single d...
Antipodes asked 9/10, 2011 at 10:44
4
Solved
Learning a little about T-SQL, and thought an interesting exercise would be to generate a Mandelbrot set with it.
Turns out someone already has (and recently, it appears). I'll let someone else po...
1
Solved
This question is very similar to that posed here.
My problem is that I have a map, something like this:
This map is made using 2D Perlin noise, and then running through the created heightmap as...
Legofmutton asked 11/6, 2011 at 15:53
6
Solved
I have this homework which required to print asterick to make draw a triangle.
When drawTriangle(0);
*
When drawTriangle(1);
*
**
When drawTriangle(2);
*
**
* *
****
when drawTriang...
1
Solved
For a while now I've been interested in fractals, the math behind them and the visuals they can produce.
I just can't really figure out how to map the mathematical formula to a piece of code that ...
Grefer asked 16/9, 2010 at 9:56
1
Solved
I'm currently experimenting with rendering a Mandelbrot set and I've quickly come to realize that it would be useful to not have to recalculate the maximum iteration count for each rendering...on t...
Hypocaust asked 5/9, 2010 at 1:18
15
Usual rules for the code golf. Here is an implementation in python as an example
from PIL import Image
im = Image.new("RGB", (300,300))
for i in xrange(300):
print "i = ",i
for j in xrang...
Zoochemistry asked 14/4, 2010 at 16:45
6
Solved
I'm interested in creating a game that uses fractal maps for more realistic geography. However, the only fractal map programs I have found are Windows-only, for example Fractal Mapper. Needle...
Orphaorphan asked 1/10, 2008 at 11:40
5
Solved
I am looking for information on how to draw flame fractals from googling around I could not find much, either pages explain how to use third party tools or way too complicated for me to grasp...
Sultana asked 12/7, 2009 at 12:20
3
Solved
I'm trying to write a program which will pseudorandomly autogenerate (based on a seed value so I can re-run the same test more than once) a growing directory structure consisting of files. (this is...
8
Solved
I have an application where a Hilbert R-Tree (wikipedia) (citeseer) would seem to be an appropriate data structure. Specifically, it requires reasonably fast spatial queries over a data set that wi...
Aeromechanics asked 19/9, 2008 at 22:48
© 2022 - 2024 — McMap. All rights reserved.