mac online apple blackjack http://www.euro-online.org

project work5:music of movement.

Screen Shot 2015-01-06 at 21.07.17

this is the capture of movement in processing along with export data. the next step is use arduino or pure data to export the music.

 

 

import processing.video.*;

int numPixels;
int[] previousFrame;
Capture video;

void setup() {
size(640, 480);

// This the default video input, see the GettingStartedCapture
// example if it creates an error
video = new Capture(this, width, height);

// Start capturing the images from the camera
video.start();

numPixels = video.width * video.height;
// Create an array to store the previously captured frame
previousFrame = new int[numPixels];
loadPixels();
}

void draw() {
if (video.available()) {
// When using video to manipulate the screen, use video.available() and
// video.read() inside the draw() method so that it’s safe to draw to the screen
video.read(); // Read the new frame from the camera
video.loadPixels(); // Make its pixels[] array available

int movementSum = 0; // Amount of movement in the frame
for (int i = 0; i < numPixels; i++) { // For each pixel in the video frame…
color currColor = video.pixels[i];
color prevColor = previousFrame[i];
// Extract the red, green, and blue components from current pixel
int currR = (currColor >> 16) & 0xFF; // Like red(), but faster
int currG = (currColor >> 8) & 0xFF;
int currB = currColor & 0xFF;
// Extract red, green, and blue components from previous pixel
int prevR = (prevColor >> 16) & 0xFF;
int prevG = (prevColor >> 8) & 0xFF;
int prevB = prevColor & 0xFF;
// Compute the difference of the red, green, and blue values
int diffR = abs(currR – prevR);
int diffG = abs(currG – prevG);
int diffB = abs(currB – prevB);
// Add these differences to the running tally
movementSum += diffR + diffG + diffB;
// Render the difference image to the screen
pixels[i] = color(diffR, diffG, diffB);
// The following line is much faster, but more confusing to read
//pixels[i] = 0xff000000 | (diffR << 16) | (diffG << 8) | diffB;
// Save the current color into the ‘previous’ buffer
previousFrame[i] = currColor;
}
// To prevent flicker from frames that are all black (no movement),
// only update the screen if the image has changed.
if (movementSum > 0) {
updatePixels();
println(movementSum); // Print the total amount of movement to the console
}
}
}

iclone5 study

cilone5555

today i continue study iclone5. about the rigging, and the light, texture. and so on.

“This episode covers a couple of quick iClone topics we all deal with … picking objects up and facial puppetry. We then go into a more advanced Studio Max tutorial on Wiring & Linking by hooking up piston driven wheels such as a locomotive.”

“>iClone has been built from the ground up as an essential tool for quick animation production. There is no other application in the industry that can deliver the speed, customization, flexibility and versatility of iClone. Real-Time Animation, sometimes called Machinima, is filmmaking within a real-time 3D virtual environment, often used in 3D video-game technologies. Because real-time animation can be shot live or scripted in real-time, this allows it to be much faster to produce than traditional CGI animations. This webinar will guide you through the major production procedure in iClone to create an animated video.”

The Toonmaker pack is an excellent asset available for iClone that lets you compose your very own custom characters with all sorts of quirky and unique accessories. Create a grotesque mutant or an adorable little cuddly baby, the choice is up to you! Every character created using the Toonmaker pack is fully compatible with iClone’s real-time body and facial animation tools, so you can go from scratch to having a couple of walking and talking characters interacting with each other in no time. This webinar will give you an introduction to the Avatar Toolkit, and how you can use it along with the Toonmaker content pack to create and animate your own cute (or creepy) custom characters.

 

maya studying

准提菩萨2

those modeling:

 

and also the digital tutor website

https://www.youtube.com/watch?v=sHN1_GBwqcw

01. Quick Start to Modeling in Maya: Volume 1

  • 12 lessons
  • 1h 33m
  • October 14, 2013
  • Author: Justin Marshall
 Maya 2014
In Volume 1 of the Quick Start to Modeling in Maya, we’ll cover the basics of getting started creating your own models.We’ll cover methods of working with primitive geometry and how to modify their initial creation options. We’ll also learn about many of the different modeling tools we can use to add edges and extrusions to polygon geometry,  …

more

02. Quick Start to Modeling in Maya: Volume 2

  • 12 lessons
  • 1h 15m
  • October 21, 2013
  • Author: Justin Marshall
 Maya 2014
In volume 2 of the Quick Start to Modeling in Maya, we’ll build on the concepts covered in volume 1.We’ll start by blocking in the main shape of the weapon case we’ll use for this project. You’ll learn to think through seamless models and place edges appropriately in preparation for adding to the model. We’ll shape the case using polygon mode …

more

03. Quick Start to Modeling in Maya: Volume 3

  • 16 lessons
  • 1h 48m
  • October 28, 2013
  • Author: Justin Marshall
 Maya 2014
In Volume 3 of Quick Start to Modeling in Maya, we’ll build on the modeling concepts covered in volumes 1 and 2.We’ll start by blocking in the main shapes of our stun gun asset, making sure to place edges strategically for later use. We’ll use extrusions and edge loops to create hard surface detail and NURBS curves to aid in building specific  …

more

04. Quick Start to Modeling in Maya: Volume 4

  • 15 lessons
  • 1h 32m
  • November 4, 2013
  • Author: Justin Marshall
 Maya 2014
In this volume of the Quick Start to Modeling in Maya, we’ll build on the concepts covered in previous volumes.We’ll start by blocking in the shells for our robotic drone asset and shaping it to our liking. We’ll then use polygon modeling tools to create separate, fitted panels and mechanical detail. We’ll build up our model methodically, ad …

more

05. Quick Start to Modeling in Maya: Volume 5

  • 23 lessons
  • 3h 3m
  • November 11, 2013
  • Author: Justin Marshall
 Maya 2014
In the final volume of the Quick Start to Modeling in Maya, we’ll build on the concepts covered in all of the previous volumes.We’ve built small hard-surface props and set pieces, but in this volume we’ll build an entire character. We’ll use what we’ve learned to this point to block in the different parts of the character and make sure they a …

more

arduino use

MYXJ_20141118182319_fast

 

today i borrow arduino equipment from culture lab. and i have studied four lessons from the handbook. there are some pictures.

and there are some codes. i look through today.

/*
This example reads three analog sensors (potentiometers are easiest)
and sends their values serially. The Processing and Max/MSP programs at the bottom
take those three values and use them to change the background color of the screen.

The circuit:
* potentiometers attached to analog inputs 0, 1, and 2

http://www.arduino.cc/en/Tutorial/VirtualColorMixer

created 2 Dec 2006
by David A. Mellis
modified 30 Aug 2011
by Tom Igoe and Scott Fitzgerald

This example code is in the public domain.
*/

const int redPin = A0; // sensor to control red color
const int greenPin = A1; // sensor to control green color
const int bluePin = A2; // sensor to control blue color

void setup()
{
Serial.begin(9600);
}

void loop()
{
Serial.print(analogRead(redPin));
Serial.print(“,”);
Serial.print(analogRead(greenPin));
Serial.print(“,”);
Serial.println(analogRead(bluePin));
}

/* Processing code for this example

// This example code is in the public domain.

import processing.serial.*;

float redValue = 0; // red value
float greenValue = 0; // green value
float blueValue = 0; // blue value

Serial myPort;

void setup() {
size(200, 200);

// List all the available serial ports
println(Serial.list());
// I know that the first port in the serial list on my mac
// is always my Arduino, so I open Serial.list()[0].
// Open whatever port is the one you’re using.
myPort = new Serial(this, Serial.list()[0], 9600);
// don’t generate a serialEvent() unless you get a newline character:
myPort.bufferUntil(‘n’);
}

void draw() {
// set the background color with the color values:
background(redValue, greenValue, blueValue);
}

void serialEvent(Serial myPort) {
// get the ASCII string:
String inString = myPort.readStringUntil(‘n’);

if (inString != null) {
// trim off any whitespace:
inString = trim(inString);
// split the string on the commas and convert the
// resulting substrings into an integer array:
float[] colors = float(split(inString, “,”));
// if the array has at least three elements, you know
// you got the whole thing. Put the numbers in the
// color variables:
if (colors.length >=3) {
// map them to the range 0-255:
redValue = map(colors[0], 0, 1023, 0, 255);
greenValue = map(colors[1], 0, 1023, 0, 255);
blueValue = map(colors[2], 0, 1023, 0, 255);
}
}
}
*/

/* Max/MSP patch for this

———-begin_max5_patcher———-
1512.3oc4Z00aaaCE8YmeED9ktB35xOjrj1aAsXX4g8xZQeYoXfVh1gqRjdT
TsIsn+2K+PJUovVVJ1VMdCAvxThV7bO7b48dIyWtXxzkxaYkSA+J3u.Sl7kK
lLwcK6MlT2dxzB5so4zRW2lJXeRt7elNy+HM6Vs61uDDzbOYkNmo02sg4euS
4BSede8S2P0o2vEq+aEKU66PPP7b3LPHDauPvyCmAvv4v6+M7L2XXF2WfCaF
lURgVPKbCxzKUbZdySDUEbgABN.ia08R9mccGYGn66qGutNir27qWbg8iY+7
HDRx.Hjf+OPHCQgPdpQHoxhBlwB+QF4cbkthlCRk4REnfeKScs3ZwaugWBbj
.PS+.qDPAkZkgPlY5oPS4By2A5aTLFv9pounjsgpnZVF3x27pqtBrRpJnZaa
C3WxTkfUJYA.BzR.BhIy.ehquw7dSoJCsrlATLckR.nhLPNWvVwL+Vp1LHL.
SjMG.tRaG7OxT5R2c8Hx9B8.wLCxVaGI6qnpj45Ug84kL+6YIM8CqUxJyycF
7bqsBRULGvwfWyRMyovElat7NvqoejaLm4f+fkmyKuVTHy3q3ldhB.WtQY6Z
x0BSOeSpTqA+FW+Yy3SyybH3sFy8p0RVCmaMpTyX6HdDZ2JsPbfSogbBMueH
JLd6RMBdfRMzPjZvimuWIK2XgFA.Z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NeOHvBOtfEalWsvyu0KMf015.AaROvZ7vv5AhnndfHLbTgjcCK1KlHv
gOk5B26OqrXjcJ005.QqCHn8fVTxnxfj93SfQiJlv8YV0VT9fVUwOOhSV3uD
eeqCUClbBPa.j3vWDoMZssNTzRNEnE6gYPXazZaMF921syaLWyAeBXvCESA8
ASi6Zyw8.RQi65J8ZsNx3ho93OhGWENtWpowepae4YhCFeLErOLENtXJrOSc
iadi39rf4hwc8xdhHz3gn3dBI7iDRlFe8huAfIZhq
———–end_max5_patcher———–
*/

some codes didn’t make sense to me, i need to read them again.

and also

/ these constants won’t change:
const int analogPin = A0; // the pin that the potentiometer is attached to
const int ledCount = 10; // the number of LEDs in the bar graph

int ledPins[] = {
2, 3, 4, 5, 6, 7,8,9,10,11 }; // an array of pin numbers to which LEDs are attached
void setup() {
// loop over the pin array and set them all to output:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
pinMode(ledPins[thisLed], OUTPUT);
}
}

void loop() {
// read the potentiometer:
int sensorReading = analogRead(analogPin);
// map the result to a range from 0 to the number of LEDs:
int ledLevel = map(sensorReading, 0, 1023, 0, ledCount);

// loop over the LED array:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
// if the array element’s index is less than ledLevel,
// turn the pin for this element on:
if (thisLed < ledLevel) {
digitalWrite(ledPins[thisLed], HIGH);
}
// turn off all pins higher than the ledLevel:
else {
digitalWrite(ledPins[thisLed], LOW);
}
}
}

 

maya studying

药师佛333

i found a good website to study maya, 3D max call “digital tutor” which is to offer a wide range of professional tutorial for those who want to start a career as game developer or movie edtting or has an interest in this. so it is suitable for me. and i just buy a membership 20 dollar per month.

and these days, i just study the learn path. introduce to maya 2014.

 

1

 

Introduction and project overview

01:36

 

2

Navigating the viewport

09:51

 

3

The Maya user interface

15:20

 

4

Creating Maya projects

04:49

 

5

Saving scene files from Maya

08:11

 

6

Viewport shading and selection modes

06:01

 

7

Transforming objects in Maya

09:11

 

8

Modifying object components

06:44

 

9

 

Using the Attribute Editor

05:57

 

10

 

Grouping and parenting in Maya

07:46

 

11

 

Using the Maya Hotbox

06:03

 

12

 

Working with MEL scripts

09:20

 

13

 

Creating custom Maya shelves

06:08

 

14

 

Modeling Section Overview

01:19

 

15

 

Adding reference images

06:14

 

16

 

Box modeling the main body and wing

09:26

 

17

 

Shaping the wing with deformers

10:15

 

18

 

Combining and smoothing the geometry

12:35

 

19

 

Adding the windscreen

10:20

 

20

 

Extruding in the under side

05:49

 

21

 

Creating the gun ports

07:59

 

22

 

Building the inner gun port structure

10:55

 

23

 

Modeling the cannon

06:05

 

24

 

Modeling the guns

14:01

iclone study

阿弥陀佛

software iclone is a very effective and convenient tool for producing 3D animation, it has a lot of 3D templates such as terrain, male and female, animals that we could directly use, also we could easily make animations in this software. “iClone is not only the ideal tool for studios, live TV productions, and previzualizations but it also allows anyone to be their own director by animating without any hassles of creating content from scratch.

so i download the trial edition which allow to use for 30 days, and also watch some tutorials in youtube.

https://www.youtube.com/watch?v=4X4j5hXTlgI&list=PLNV5zSFadPdlVwer9zldv8IxtAUhm-MQh&index=3

3DXchange is for users to modify the 3D modelling and also use the modelling sources, it could import content for iclone6.

Both of them is really easy for 3D animator who do not need to spend so much time on traditional 3D modelling software such as maya, but for those who want to be real 3D animation artiest and develop their own cartoons, to learn how to modelling 3D and create their own figures is necessary. 

what i intend to do is a 3D scene, so i need to learn iclone, 3DXchange and maya.

processing2

4

today i learn the “coordinate system and shapes” tutorial, it is not hard for me, but i know programming will require lots of mathematics which is my weakness. i do not have any programming background. 

also, i think it will be better if i look at picture editing codes related to my rotten face very closely, i could not waste too much time in irrelevant knowledge, the ‘images and pixels’ seems helpful to rotten face.

i am going to take a look at this tutorial tomorrow.