Dear Mr. John,
The objective of this assignment was to learn the GEM programme and their flexibility. I chose a GEM patch called “01.primQuad” , opened it, learnt what functions were doing to the cube that you see. How would it rotate and what i could change. All the changes that i have made are inside the file as comments. Mr. Richard, my team member, helped me with this assignment, as he is helping me to learn pd better. Please let me know if there is anything else i am required to do.
Right now, the attached file shows in the “gallery”, i hope i attached it at the right place.
my GEM hack
Built from surface3d-help.pd I only added a [metro 1000] and set the position of the object in the window with [translateXYZ ].
Originally surface3d-help.pd was intended to illustrate how to build a surface and manipulate it.
I wanted it to play “Spring Song” by Mendelssohn then destroy the window after 2 minutes and 23 seconds but it doesn’t do that yet.
Here is the link to the music: http://www.youtube.com/watch?v=8mz5Rtx-Eu0
as far as “amazing insights you had i.e. anything you figured out that would have made life better if I had just told you in the first place”
I would’ve liked to know how to play .WAV files on start with a [loadbang]
Attached is a the example I was planning to use and modify for this assignment but unfortunately as can be seen from the screen shots, something has gone wrong with my Mac and pd. I’ve spent a little time trying to remedy the situation but have not found the solution yet. My end goal was to allow a user to open a picture of their choice and then dump the pixels of the image. With this those pixels could be manipulated with sliders and other objects and then the image could be recreated with manipulations using pix_texture or pix_set or maybe repack. I can’t even view the help files on these object though due to my computer woes.
08.PixDump-That I want to modify
06.ripple baseballThe original patch let you select an image and would “ripple” (wiggle the image kinda like rubber) the image when the numbers where slid. I tried to modify this with a cube of an image of a pile of baseballs. After playing with it for a while the ripple command was removed completely because it really didn’t do much after you modified the image to 3D. The final patch I came up with put the image in a sphere and cube with a couple of sliders. the slider for the sphere and cube where limited so that the image would stay in view. by moving the sliders you can make several abstract shapes in the middle of the screen. You can also rotate the image around the XYZ axis. to try it just select the rendering open panel and auto. then select an image to play with. Once the image is up just move the sliders around.
I chose to attempt to modify the simple motion sensor example, by adding a sine wave, inspired by several videos using motion to play music. In my example I was only able to get a popping sound. I also attempted to attach a slider bar and a number item to adjust the resulting sound, but was unsuccessful. While my attempt could function as a dubious alarm at best, with further experience or experiments, the motion sensor could function to produce interesting sounds from movement.
Replace all of the text in the body of this post by explaining:
- what the original example patch did
- – It is likes a fountain drop, with color, speed, size
- what your patch does and changed
- – I added the sphere object
- – Slider to change the size of the sphere, when the size is small it is the original project but then size increase sphere object appear.
- – Also added the light to the sphere object, where you can turn the color on the object ON or OFF
- how we can try the patch
- run the project and check the rendering box, new screen will starts and you can begin messing around with it.
- any amazing insights you had i.e. anything you figured out that would have made life better if I had just told you in the first place
- – After few hours of trying to work on this project, it have found some of interesting project examples and somehow I am loving it. I hope in class we will have more time to learn more about the codes, because it took a lot of time for me to figure out things that I really do not know much.
Hello Gem PD Location
The Original patch was designed to allow a user to lunch a premade video clip in the PD data folders that are color inverted later on using pix_texture. In the modified version it allows a user on lunch to select the desired video clip and then everything from there is automated. One the file is selected a trigger will send the text location to pixfilm and then bangs the gemwin to open. The video is then filtered using some strange numbers. I also placed a slider on the output to change the scale factor of the image to fit my screen. One of the coolest things, at least to programers, is the variables like the $1. I’m not 100% sure how they are used yet but it seams very similar to how batch files send parameters.
De hello arry one, hope this post is not edited by an english teacher…
So i used an example patch from the gem library and modified it in, what i think is, a cool form of playing with shapes and textures! It was pretty simple to understand what the patch was doing because pd used pretty simple syntax for the objects and the user manual is pretty handy stuff!
This was pretty awesome
() () <—– Its an alien can i want to make an alien in PD, can i do that Mr. Harrison? i want it to make cool sounds
The original patch that I used was the 04.moveSphere.pd. The patch did was create a purple and green sphere and have it move in a certain direction while turned on. My patch which I call it the Moving Colorful Sphere does the same concept as the original pd file, but I made a few changes to the color, direction, speed, shape, and also add another sphere to it. As shown on the snapshot of my pd file, I changed the original background from black to white by adding a color command when starting up the patch. I also changed with screen size from 300 x 300 to 900 x 900 just for the fun of it. As for the spheres, originally, there were 2 different spheres (one purple and the other green). I did was add another sphere to have a total of 3 spheres and I changed each sphere’s color to the original red, yellow, and blue colors. Then I did was add a “Bang” command to trigger the on and off command for each sphere to start moving. I also changed the speed of the spheres from +2 to +5 which makes the sphere’s speed alot faster. As for the movement, I changed the rotation and position of each sphere to show the different direction each one will take. I even made one go backwards just by adding a (-) sign to its rotation. As for the lighting, I did not do anything to it, because I was more focused on changing the speed and direction of the spheres, but I did mess with the lighting and it was pretty fun messing with them and I recommend that you do the same.
If you want to try out the patch, I recommend you to download my uploaded patch and/or just follow my snapshot of the command tree and create one for yourself and see what happens.
I did learn a few things by doing this. I know there is alot more that I am interested on learning becuase to be honest with you, if I did have more time, I wanted to create and try to have my spheres move in a atom fashion.
The only question that I have was how do I create a bang command which allows me to assign a certain key from the key board to control that bang?
Moving Colorful Spheres