Logo by Fiery - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. December 02, 2025, 05:13:05 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Fractals in WikiMarkup  (Read 2458 times)
Description: How to use some common extensions for fractal calculation
0 Members and 1 Guest are viewing this topic.
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« on: January 31, 2010, 07:56:14 AM »

I was thinking that, due to the high power of some public MediaWiki servers... it might be an easy way to "borrow" computation time for some difficult fractal generation. Only stills could be generated, I suppose, but theoretically videos could be calculated in plain ASCII format, which then can be converted to .avi files (or whatever format).

The question is how this could be most easily done, and what extensions would be done - this would most definitely NOT be possible with basic things. To draw pictures, there's probably some extension that could be used - WikiPlot could not be used, however, as it is too infelxible. An alternative would be using DPL to generate HTML tables with no borders, cells 1 pixel large, and colored depending on the function. This sounds hard, but since most of this code is "set", it wouldn't be hard. To enable interactive plotting, Inputbox or Simpleforms would both work well. The alternative would be editing the WikiMarkup each time and previewing (or saving) for the new imag. For the main processing, some really ugly self-replicating DPL hacks could be used, or you could use some more advanced extension like Control Structure Functions or Loops should be sufficient.

In summary, full functionality for any fractal, with very powerful programming, could be done with DPL - something readily available for installation on (for instance) Wikia, a popular wikifarm - while additional extensions could simplify it. Anyone have thoughts/suggestions/criticisms?
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #1 on: January 31, 2010, 09:27:12 AM »

Okay, I've looked in a couple of other things: Firstly, the piece of software I was looking for was called "Winter". It's a pretty powerful extension, but I doubt Wikia (or any other wikifarms, for that matter) would instal it.  sad Second, I've found one plausible easier method of plotting; it's called Plotter, and it's currently in beta. It requires the use of JavaScript in the MediaWiki namespace, which would make it pretty hard for the casual user. Plus, it's hard to interact with WikiMarkup both directions that way - many other more generic JavaScript-related extensions suffer from the same problem.  sad I've searched through practically all the extensions in the Extension Matrix (a large list of basically all respectable extensions).

I've found a possible wiki to try this on: the Fractal Art Wiki, at http://fractal.wikia.com/wiki/Fractal_Art_Wiki. It's totally dead. I asked an admin to send in a request for DPL; if he doesn't soon, I will.

Here's some possible code I was thinking about for producing the final image:

Template:Plot_Fractal
Code:
{{#dpl:
format={¦ \n,²{#dpl:format=²{1x¦}²-,²{1x¦}² style="height: 1px; width: 1px; padding: 0px; bgcolor: ²{1x|²}²{ {{{ColorForm}}} |²{1x|²}²{ {{{NumForm}}} ²{1x¦}² {{{Iter}}} ²{1x¦}² {{{NumParam}}} ,}²{1x|²}² ²{1x¦}² {{{ColorParam}}} }²{1x|²}²",|include={Values}.dpl, ,}² \n,¦}
include={Values}.dpl
}}
This code won't work, partly because I haven't quite figured out how to return just a range of values (although this can be done). Also, I'm pretty sure I din't escape the character correctly. Basically what I'm trying to achieve here is to make two nested dpl calls; the outer one creates a list of lines, the inner, a list of pixels. The outer one adds some value of {Values}.dpl after a comma, the inner one a different set of values before the comma. Then "ColorForm", a chosen name of template which contains the color formula, does operations on NumForm, which does operations using the Iter parameter, the NumParam parameter (which is a comma separated list of values to give parameters) and the pixel value. This code has nothing for page selection right now, and so won't produce any pixels. This is something I still need to figure out.  undecided All help will much appreciated!
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #2 on: February 02, 2010, 03:14:22 AM »

 :-( I'd hoped for more interest in this. In any case, I've made good progress. Considering that WikiMarkup doesn't even support variables, I think I've done well so far. I've made a "Loop" template that can support up to 1000 iterations, an a maximum of three nested loops. (These numbers can easily be expanded.) I've made a template which takes a complex number (not even something supported by the expr: extension) and computes a power. If anyone here knows WikiMarkup, or even if you don't,  tongue stuck out I'd like you to come help... or at least take a peek...  wink
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
makc
Strange Attractor
***
Posts: 272



« Reply #3 on: February 02, 2010, 11:04:53 AM »

I think it makes more sense to mess with this or even this.
Logged
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #4 on: February 03, 2010, 02:22:40 AM »

Yeah, but both those things cost money. As an 8th grader, that's not exactly something I have in abundance. That's why I want it to work on someone else's sever, neh? Plus, it would be really useful to develop it for wikis.
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
two b&w 3d fractals 3D Fractal Generation lycium 0 7707 Last post August 25, 2007, 12:16:05 AM
by lycium
New to fractals, Meet & Greet Greebs 1 8775 Last post December 07, 2007, 06:04:39 AM
by LionHeart
Fractals gone... Discuss Fractal Forums gamma 7 8086 Last post February 26, 2008, 08:48:00 PM
by heneganj
3D fractals Images Showcase (Rate My Fractal) Duncan C 11 8638 Last post March 26, 2008, 07:44:51 PM
by twinbee
Best of the best 3D fractals over the web Images Showcase (Rate My Fractal) twinbee 14 6217 Last post April 07, 2008, 09:11:54 AM
by titia

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.466 seconds with 24 queries. (Pretty URLs adds 0.043s, 2q)