Hello again
Here is an abstraction to make static drawing simpler. Not really sure of the actual usefulness yet.
It was interesting to discover I could delete a struct and dynamically recreate it.
There is an example called mickey that uses a [metro 100] to trigger the object redraw which was as fast as it would draw properly on my computer. (slow it down if fails on yours)
Chees Balwyn
-
Drawing objects simplified
-
@Balwyn said:
@jancsika I am impressed and interested, but I'm unable to have Purr Data and Pd-extended both set up on windows 10. I had to reinstall Pd-extended the last time I tried Purr Data
Well that's not good at all!
Question: what exactly happened to Pd-extended when you installed Purr Data? What broke?
Also, what version of Purr Data was it?
-
@jancsika said:
@Balwyn said:
@jancsika I am impressed and interested, but I'm unable to have Purr Data and Pd-extended both set up on windows 10. I had to reinstall Pd-extended the last time I tried Purr Data
Well that's not good at all!
Question: what exactly happened to Pd-extended when you installed Purr Data? What broke?
Also, what version of Purr Data was it?
FYI-- I just tried with Beta 3 and it seems to work ok with Pd-extended 0.43.4. It does overwrite pdsend.exe, pdreceive.exe, cyclist.exe, and a handful of versioned libs which is a pain. I can probably get around the first three by just not shipping them. Nevertheless it doesn't seem to break anything
-
@jancsika My apologies, I just reinstalled the latest Beta 3 and It does indeed work along side Pd-extended and Pd 0.47.0. It was a while back when I last tried, maybe alpha ?. I noticed a checkbox for file associations which I made sure was unchecked. It did however unset my ASIO and MIDI settings but no drama there (Windows does that every update anyway!). I am unable to permanently change the audio and midi settings errors.txt in Purr Data, But I will indeed give Purr Data a go.
Cheers Balwyn -
@Balwyn said:
@jancsika My apologies, I just reinstalled the latest Beta 3 and It does indeed work along side Pd-extended and Pd 0.47.0. It was a while back when I last tried, maybe alpha ?. I noticed a checkbox for file associations which I made sure was unchecked. It did however unset my ASIO and MIDI settings but no drama there (Windows does that every update anyway!). I am unable to permanently change the audio and midi settings errors.txt in Purr Data, But I will indeed give Purr Data a go.
Cheers BalwynLooking into those errors that are produced when you try to save settings. It should be a fairly easy fix, but we need to test it a bit to make sure.
-
@jancsika Hi, I've been testing out the [draw] commands and the results are great, but I am unable to create a gop abstraction. None of your tutorials or demos appear to cover 'gop'. The problems I'm having are no response in the placed abstraction and very obscure numbers in the data scaling dalog required to keep the graphics in place. I've attached an example, with the hope you can offer some help
cheers
Balwyn -
@Balwyn I'm going to change it so that [draw] doesn't respond to GOP scaling values. Then you'll be able to position the drawing on the GOP rectangle and it will show up properly. (But I'll leave the old commands like [filledpolygon] alone for backwards compatibility.)
This is rather involved, so I won't be able to finish it for the initial release.
-
@jancsika Thanks for the quick response. I'll wait patiently and in the meanwhile keep checking out the rest of Purr Data, and thanks also for resurrecting [fluid~]
Cheers
Balwyn -
@Balwyn Also-- in the meantime you can set the range to be equal to the GOP width/height. So a GOP that is 50x100 would have a left/right range of 0 to 49, and a top/bottom range of 0 to 99. Then imagine that the GOP rectangle is just the subpatch window itself and position the scalar accordingly.
This method is complicated by the fact that Pd will display the data structures inside the subpatch window scaled according to the dimensions of the subpatch's window.
-
Hi. Very interested in pd's drawing capabilities and grateful for the share of 'object-draw-updated' . Other than screen capture, do you know of any way to save the drawings to a video file (similar to open xx.wav / writesf~)??
-
I think if animation is important you should look at Purr Data, the are a couple of examples in C:\Program Files (x86)\Purr Data\doc\4.data.structures\pd-l2ork\ds-demos
omgponies.pd and megaman.pd. Purr Data also has an extensive drawing capability and svg support.
as far as saving as video I can't help you there.
Other graphics libraries that might help are Gem and Ofelia -
thanks for the pointers!
-
@hayasidist After seeing your post in another thread I thought about what you are trying to achieve.
This patch is a simplistic way to add pre-defined objects to a page in the order they can be replayed.
A mechanism to save and load a sequence and a simple loop.
I'm probably on the wrong track, but thought it may help get started
scalar-save.zip -
@Balwyn yeah - wow - thanks!! …. it is along the lines I was thinking about - even though my thoughts are still very vague about both having a graphic score as a fixed finished item but at the same time somehow showing which "notes" are being played on that score! I'm still very noobish in pd so it took me a while to get it to work - and I'm probably only using it half-optimally .. but at least it's doing "something"!
Once again a big thank you - all of this is a great help to show me what can be done and, importantly, how to achieve it!