It is currently Sat Oct 21, 2017 10:47 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Mathmap Issues
PostPosted: Fri Jan 21, 2011 12:10 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 2944
I left a post on Mathmap Flickr and it doesn't seem to be very busy. Anyway, two kaleidoscope filters failed to parse = "Cannot assign to filter argument `rad'".

And there are 4 Twist filters, only Twist 1 seems to do anything, and #2, 3, & 4 don't seem to do anything at all. I figured that a) I wasn't using the filters correctly or b) they aren't working with the current version of mathmap (1.3.5).

I also read somewhere deep in the abyss of GimpTalk, that certain mathmap filters are required to be used in combination with other filters via composer. This brings up another question: how would a new user, like myself, know which filter required being used in combination via composer without having to run each filter through it to find out? If there was some indicator, perhaps they could be placed in a sub-folder indicating such. I do realize that "all" filters should be usable in the mathmap composer, just thought it should be easier to sort the filters out.

_________________
Image


"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 1:08 pm  (#2) 
Offline
GimpChat Member

Joined: May 16, 2010
Posts: 13982
Location: USA
Mine is doing the same thing.


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 1:39 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2132
Location: Retired Moderator Slowly Returning to the Living.
The two Kaleidoscope filters gave me the same errors. Yesterday I used twist 4 and it worked fine. I'll try the others.

EDIT: All 4 twists work fine for me. I click the settings tab, turn on animate and periodic, and then adjust the slider for parameter t, to see the effect. I am using Mathmap 1.3.5

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 7:08 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 2944
Greg: After viewing your twist tutorial I realized I wasn't using "those" filters correctly, but how would a new person know that, never having used the filters or knowing where to find the information to do so? So, in part, thanks goes to you for helping me solve the "twist" factor.

On the Kaleidoscope filters, I guess I am expecting too much in the sense of trying to find answers to a function I can't fix myself, but would if I knew what I was tinkering with. If it's just a simple matter of updating syntax, the next best thing would be a resource page from mathmap to indicate the changes and thus give those of us who want to "fix" filters a fighting change at doing so. I know, I am in the wrong place (gimpchat) to air this grievance, but something tells me someone out there knows more about it. Maybe, they'll drop by and see this.

UPDATE:

After watching one of Mark's YT Videos on mathmap, I decided, on a whim, to copy and paste the kaleidoscope.mm contents into the mathmap expression tab to see if it would point out the parse errors. What resulted instead was a working kaleidoscope filter, which I then added back into the Expressions folder. Weird! Now I am going to attempt the same thing with the animated kaleidoskope.mm code.

Image

And a link to a short answer, still unexplained though: http://groups.google.com/group/mathmap/ ... 60c4?pli=1

_________________
Image


"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 7:58 pm  (#5) 
Offline
GimpChat Member

Joined: May 16, 2010
Posts: 13982
Location: USA
Oh i didn't know you could paste in code...bravo! =)


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 7:59 pm  (#6) 
Offline
GimpChat Member

Joined: May 16, 2010
Posts: 13982
Location: USA
(foo and bar) <----rofl


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 8:18 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 2944
OMG this was just too easy! I guess the adage "Seek and ye shall find" works well here.

For the animated kaliedoscope, do three simple things:

1. Open the kaleidoscope.mm using a compatible editor (Notepad ++ or gEdit)
2. change the filter name to kaleidoskope, to avoid conflicts, and
3. swap this code:

ang=rot+(intang/2-sqrt(ang^2));

with this code:

ang=(rot*t)+(intang/2-sqrt(ang^2));

Then save.

Now, in order for the animation to work "properly" you have to set the parameter "t" (I gave mine a .25 setting for testing) in Settings and adjust your user values to be something other than "default", or else, your kaleidoscope animation won't have any flow to it. Most defaults are set at either 0 or 1, which in mathematical terms means "going nowhere" when multiplied times itself. Make sense?

_________________
Image


"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 8:43 pm  (#8) 
Offline
GimpChat Member

Joined: May 16, 2010
Posts: 13982
Location: USA
You know what i did?
I searched the folder gimp-2.6\mathmap\expressions for all the mm filters and found 3 sometimes 4 of the same filter.
I deleted all but 1 of each and that fixed all the parser errors except Kaleidoscope.mm. =)

I don't know what this is but it turned out kinda cool looking and thought id share it.
made it with composer so i have no idea how to duplicate it...lol

Image


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 9:11 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2132
Location: Retired Moderator Slowly Returning to the Living.
Animating the Kaleidoscope code was super simple. Here is my animated Kaleidoscope.


Attachments:
AniScope.gif
AniScope.gif [ 1.19 MiB | Viewed 2127 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 9:45 pm  (#10) 
Offline
GimpChat Member

Joined: May 16, 2010
Posts: 13982
Location: USA
That looks really cool Greg.
Here is my peel animation.

Image


Top
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts G'MIC .dll issues

6

No new posts Parking Issues

6

No new posts I'm having a few issues with gimp 2.8.

12

No new posts Attachment(s) Uploading issues

8

No new posts Network Issues

3



* Login  



Powered by phpBB3 © phpBB Group