sessionbeer Posted June 18, 2016 Share Posted June 18, 2016 (edited) I'd like to know if anyone has done something like this in Houdini? Applying a mobius transformation to a simple grid for example? The formula looks straight forward....if you can read maths, which I can't! http://www.math.ucla.edu/~mwilliams/complex.html I've been looking around for code examples of a Mobius transformation but haven't found any good examples which I could reproduce in Houdini. It would be interesting to hear if any one has done something like this, or can translate the equation into readable code for a non-mathematician Edited June 18, 2016 by sessionbeer Quote Link to comment Share on other sites More sharing options...
3dome Posted June 20, 2016 Share Posted June 20, 2016 Macha did: but reading the video description kind of hurts my brain @Macha can you shed some light on how u did it and whats going on? Quote Link to comment Share on other sites More sharing options...
petz Posted June 21, 2016 Share Posted June 21, 2016 it´s pretty easy to do by using complex numbers. just take a look at the attached file and play with the settings. hth. petz moebius_transformation.hipnc 8 Quote Link to comment Share on other sites More sharing options...
f1480187 Posted June 21, 2016 Share Posted June 21, 2016 @petz, I can finally do this. 1 Quote Link to comment Share on other sites More sharing options...
mestela Posted June 21, 2016 Share Posted June 21, 2016 Finally we have a thread that has more disturbing images than the differential growth thread! 1 Quote Link to comment Share on other sites More sharing options...
sessionbeer Posted June 22, 2016 Author Share Posted June 22, 2016 Thanks for your reply @petz your code is far more simplistic then some of the examples I have been looking through! Very interesting. Thanks again Quote Link to comment Share on other sites More sharing options...
mestela Posted July 5, 2016 Share Posted July 5, 2016 I couldn't let this one go; python sop is a little slow (though having a built in complex type is super handy), thought I'd try and port it to vex. This is substantially faster than the python one, the code is a little messy. Tried to get a complex struct happening too, but that got boring really quickly, so just abused some vector2 variables instead. Interesting that there's some errors in the vex one that aren't apparent in the python one; not sure if that's due to vex precision errors, or because my complex divide function isn't doing the right thing; I found a few C examples of dealing with complex number, some did lots of tests within their divide functions for when values were near 0, I went lazy and found another example that did no testing at all....) -matt complex_v02.hip 6 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.