I'd need to compile my own XULRunner and package it with that or such to get a usable downloadable thing.
You know about the firefox -app Path/to/Application.ini trick? Since the big FF apps have the XULRunner files inside, you can point some of them at a XULRunner app's Application.ini and they'll load its chrome instead of their own. Works fine for Firefox, does it work for SeaMonkey too?
<< Ausspannen und Training mit OpenStreetMap | The roads I take... | Weekly Status Report, W31/2009 >>
Progress on XULRunner-based Mandelbrot app
This week, I found some more time to hack around on my fun project to do a Mandelbrot set fractal renderer in XULRunner - some of that fun hackery done on the N810, some on my desktop, finally some on my laptop, and now those sources create a really usable application.
The only thing holding me back from doing a downloadable "(pre)release" package of any kind is that it's still somewhat hard to do that for XUL/JS-only XULRunner apps. I'd need to compile my own XULRunner and package it with that or such to get a usable downloadable thing.

What I added this week to bring it over the top was a zoom function that works by dragging the mouse over any piece of a rendered image and a possibility to bookmark locations and call them up again at a later point. With that, one can easily navigate to different places and get pictures like the one above - my laptop calculated and rendered the original 1280x1024 picture in a matter of seconds, with a 1.9.1 XULRunner from some time this weekend, so the same TraceMonkey present in Firefox 3.5.2 to calculate all those iterations, and I did save the contents of the canvas used to paint it as a PNG with the functionality I have in the application. Any quality degradation comes from scaling and converting to JPEG on my web server.
Oh, and there's one more interesting picture I did get out of this work:

(larger sizes linked, original 1280x1024 desktop-wallpaper-ready version available on personal request)
All the fractal pixels in this image come from TraceMonkey's calculation again, of course, but the GIMP helped slightly to finish off this one.
The only thing holding me back from doing a downloadable "(pre)release" package of any kind is that it's still somewhat hard to do that for XUL/JS-only XULRunner apps. I'd need to compile my own XULRunner and package it with that or such to get a usable downloadable thing.
What I added this week to bring it over the top was a zoom function that works by dragging the mouse over any piece of a rendered image and a possibility to bookmark locations and call them up again at a later point. With that, one can easily navigate to different places and get pictures like the one above - my laptop calculated and rendered the original 1280x1024 picture in a matter of seconds, with a 1.9.1 XULRunner from some time this weekend, so the same TraceMonkey present in Firefox 3.5.2 to calculate all those iterations, and I did save the contents of the canvas used to paint it as a PNG with the functionality I have in the application. Any quality degradation comes from scaling and converting to JPEG on my web server.
Oh, and there's one more interesting picture I did get out of this work:
(larger sizes linked, original 1280x1024 desktop-wallpaper-ready version available on personal request)
All the fractal pixels in this image come from TraceMonkey's calculation again, of course, but the GIMP helped slightly to finish off this one.
Entry written by KaiRo and posted on August 3rd, 2009 00:51 | Tags: artwork, Mandelbrot, Mozilla, N810, SeaMonkey, Wallpaper, XULRunner | 3 comments
TrackBack/Pingback
- Home of KaiRo: SeaMonkey Wallpapers @ MCC (Pingback)
Comments
| Author | Entry |
|---|---|
| skierpage | 2009-08-03 14:10 |
| Webmaster | Yes, I know about this "trick", this was built into Firefox only (not SeaMonkey or any other Mozilla-based app I know of), but in any case, there is no good way of delivering my application in a nice way, other than making users download e.g. a zip file, unpack it and use such a cryptic commandline to run it on a separately installed Firefox or XULRunner copy. People who are able to do that can also fetch the sources from my git repo Last edited by KaiRo at 2009-08-03 14:54 2009-08-03 14:51 |
| Sara Pall from USA | What is 1.9.1 XULRunner????? Is it really a thing that i dont know...lolz Actually your post is a nice one and the information it include is so great that i have saved this post actually i love blogs and i want to be a famous blogger man and i need help from you blogger that what to post and what to not???give some suggestion man actually i am a student and completed my CISSP training that was awesome man and now to onward i am seriously working on a personal blog and i want to invite you as a part of my blog.... soooon Last edited by KaiRo at 2009-08-19 13:13 2009-08-19 11:09 |
