[PD] showing text or number in gem

2011-12-17 Thread jwind
hi list, tried to use the text2d-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen? thanks j ,.

Re: [PD] showing text or number in gem

2011-12-17 Thread cyrille henry
hello, when i have to draw lot's of text, i usually generate letters as texture. using pix_multitexture you can render text the way you want. the drawback is that you have to generate the texture (imagemagick is good for this), Also, images quality is not as good if you change the size of the

Re: [PD] showing text or number in gem

2011-12-17 Thread Simon Wise
On 17/12/11 17:11, jwind wrote: hi list, tried to use the text2d-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on

Re: [PD] showing text or number in gem

2011-12-17 Thread Jack
Le 17/12/2011 14:53, Andy Farnell a écrit : I remembered this fun patch On Sat, 17 Dec 2011 13:39:59 +0100 Jackj...@rybn.org wrote: Le 17/12/2011 10:39, cyrille henry a écrit : hello, when i have to draw lot's of text, i usually generate letters as texture. using pix_multitexture you can

Re: [PD] pd-0.43 on Pentium III

2011-12-17 Thread rolf meesters
i think, all externals in PdX are compiled with -march=pentium4 -msse2 -mfpmath=sse (for whatever reasons, Pd itself seems to not be compiled with p4/sse2 support), which will most likely produce code that is non-executable on your machine. that the machine used for building is a P3, doesn't

Re: [PD] number to fractions external?

2011-12-17 Thread Mike Moser-Booth
The one I posted earlier apparently can run into stack overflows. I think this version fixes it. .mmb On Fri, Dec 16, 2011 at 9:30 PM, Mike Moser-Booth mmoserbo...@gmail.com wrote: I just gave this a go, and here's what I have so far based on the Wikipedia link Claude gave. Send the decimal

Re: [PD] pd-0.43 on Pentium III

2011-12-17 Thread IOhannes zmölnig
On 12/17/2011 06:01 PM, rolf meesters wrote: i think, all externals in PdX are compiled with -march=pentium4 -msse2 -mfpmath=sse (for whatever reasons, Pd itself seems to not be compiled with p4/sse2 support), which will most likely produce code that is non-executable on your machine. that

Re: [PD] poltocar centerpoint

2011-12-17 Thread Philipp Wartenberg
problem solved. of course it needs a [+] after the poltocar. thnks! 2011/12/17 Mathieu Bouchard ma...@artengine.ca Le 2011-12-16 à 16:33:00, Mathieu Bouchard a écrit : Le 2011-12-16 à 22:05:00, Philipp Wartenberg a écrit : how can i give a polar-to-cartesian-funktion a centerpoint? as far

Re: [PD] number to fractions external?

2011-12-17 Thread Mathieu Bouchard
Le 2011-12-16 à 00:52:00, Alexandre Torres Porres a écrit : Is there an external that converts decimal numbers to fractions, like 1.5 = 3 / 2 ? I bet it's complicated to do it as a vanilla patch, right? Take the number, subtract its whole part to get something less than 1, then invert it to

Re: [PD] number to fractions external?

2011-12-17 Thread Mathieu Bouchard
Le 2011-12-17 à 03:44:00, i go bananas a écrit : how do you get from a continued fraction in the form like this: [0;1,5,2,2] to a fraction in the form like this: 27/32 this patch gets as far as that [0; 1,5,2,2] form.  but i'm still not sure how to get further keep track of the last two

Re: [PD] showing text or number in gem

2011-12-17 Thread Max
Am 17.12.2011 um 13:39 schrieb Jack: Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ; error: GEM: Someone sent a bogus pointer to copy2Image ? signature.asc Description: Message signed with OpenPGP using

Re: [PD] number to fractions external?

2011-12-17 Thread Alexandre Torres Porres
when I change the maximum denominator value results are weird and Pd freezes. cheers 2011/12/17 Mike Moser-Booth mmoserbo...@gmail.com I just added it to my library on GitHub: https://github.com/dotmmb/mmb But, yeah, feel free to use it however you want. .mmb On Sat, Dec 17, 2011 at

Re: [PD] number to fractions external?

2011-12-17 Thread Mike Moser-Booth
Oops, the right inlet was connected to a [sel] when it should have been connected to [ 1000]. I'll upload the fix here and on GitHub. .mmb On Sat, Dec 17, 2011 at 7:57 PM, Alexandre Torres Porres por...@gmail.com wrote: when I change the maximum denominator value results are weird and Pd

Re: [PD] number to fractions external?

2011-12-17 Thread Alexandre Torres Porres
i kinda figured that 2011/12/17 Mike Moser-Booth mmoserbo...@gmail.com Oops, the right inlet was connected to a [sel] when it should have been connected to [ 1000]. I'll upload the fix here and on GitHub. .mmb On Sat, Dec 17, 2011 at 7:57 PM, Alexandre Torres Porres por...@gmail.com

Re: [PD] pd-0.43 on Pentium III

2011-12-17 Thread Hans-Christoph Steiner
On Dec 17, 2011, at 9:01 AM, rolf meesters wrote: i think, all externals in PdX are compiled with -march=pentium4 -msse2 -mfpmath=sse (for whatever reasons, Pd itself seems to not be compiled with p4/sse2 support), which will most likely produce code that is non-executable on your machine.

Re: [PD] number to fractions external?

2011-12-17 Thread i go bananas
thanks mattieu! i got it working, thanks to your great help! you have no idea how bummed out i was that i couldn't make this work the other day. dec-to-frac-help.pd Description: Binary data dec-to-frac.pd Description: Binary data ___ Pd-list@iem.at

Re: [PD] number to fractions external?

2011-12-17 Thread Alexandre Torres Porres
cool, but now we have two patches that behave and work the same way? thanks Alex 2011/12/18 i go bananas hard@gmail.com thanks mattieu! i got it working, thanks to your great help! you have no idea how bummed out i was that i couldn't make this work the other day.

Re: [PD] number to fractions external?

2011-12-17 Thread Alexandre Torres Porres
I mean one from bananas and another from mike, i guess it was clear 2011/12/18 Alexandre Torres Porres por...@gmail.com cool, but now we have two patches that behave and work the same way? thanks Alex 2011/12/18 i go bananas hard@gmail.com thanks mattieu! i got it working, thanks

Re: [PD] number to fractions external?

2011-12-17 Thread Alexandre Torres Porres
by the way, you guys rock :-) 2011/12/18 Alexandre Torres Porres por...@gmail.com I mean one from bananas and another from mike, i guess it was clear 2011/12/18 Alexandre Torres Porres por...@gmail.com cool, but now we have two patches that behave and work the same way? thanks Alex

Re: [PD] number to fractions external?

2011-12-17 Thread Mathieu Bouchard
Le 2011-12-16 à 15:51:00, i go bananas a écrit : (using the 'division method' like this:  http://easycalculation.com/what-is-hcf.php ) The division method is much more known as Euclid's Algorithm... And I never saw it named HCF before. Always PGCD in French and GCD in English. By the

Re: [PD] number to fractions external?

2011-12-17 Thread Mathieu Bouchard
Le 2011-12-18 à 02:42:00, Alexandre Torres Porres a écrit : by the way, you guys rock :-) So, btw, where can people download the psprofile externals ? __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal,