码迷,mamicode.com
首页 >  
搜索关键字:processing translate    ( 2938个结果
processing rotate
voidsetup(){size(200,200);rectMode(CENTER);noFill();translate(100,100);for(inti=1;i<16;i++){rotate((PI/16)*i);rect(0,0,100,100);}}
分类:其他好文   时间:2014-09-09 09:10:58    阅读次数:211
processing box
voidsetup(){size(200,200,P3D);noFill();smooth();}voiddraw(){background(0);translate(width/2,height/2,-(width/2));rotateY(map(mouseX,0,width,-PI,PI));stroke(100);box(150);rotateX(map(mouseY,0,height,-PI,PI));stroke(150);box(75);}
分类:其他好文   时间:2014-09-09 09:10:49    阅读次数:348
processing鼠标移动
intrectX,rectY;intrectSize=90;colorrectColor;colorbaseColor;booleanrectOver=false;voidsetup(){size(640,360);rectColor=color(0);baseColor=color(102);rectX=width/2-rectSize/2;rectY=height/2-rectSize/2;}voiddraw(){update(mouseX,mouseY);noStroke();if(rectOver){..
分类:移动开发   时间:2014-09-08 11:00:17    阅读次数:697
Strom 消息处理机制 中英对照翻译 (Storm如何保证消息被完全处理)
官方链接:http://storm.incubator.apache.org/documentation/Guaranteeing-message-processing.htmlWhat does it mean for a message to be “fully processed”?A tup...
分类:其他好文   时间:2014-09-08 00:59:26    阅读次数:482
processing mousePressed
floati=0;booleanf=false;floatxx,yy,zz;voidsetup(){size(200,200,P3D);noFill();smooth();frameRate(25);}voiddraw(){background(0);xx=width/2;yy=height/2;zz=-(width/2);translate(xx,yy,zz);rotateX(map(i++,0,height,-PI,PI));rotateY(map(i++,0,height,-PI,PI));stroke..
分类:其他好文   时间:2014-09-07 18:38:46    阅读次数:266
Instruction-Set Support for Invocation of VMM-Configured Services without VMM Intervention
A processing core comprising instruction execution logic circuitry and register space. The register space to be loaded from aVMCS, commensurate with a...
分类:其他好文   时间:2014-09-07 10:57:05    阅读次数:256
xml动画
anim中的四个xml文件:1.alpha.xml: 2.scale.xml 3.translate.xml: 4.rotate.xml: layout中的xml文件activity_main.xml: src中的.java文件M...
分类:其他好文   时间:2014-09-03 22:33:07    阅读次数:350
简单的动画效果
alpha.xml: rotate.xml: scale.xml: translate.xml: layout: Activity:public class MainActivity extends Activity implements OnClickListener{privat...
分类:其他好文   时间:2014-09-03 22:27:57    阅读次数:278
Memory barrier——WiKi
A memory barrier, also known as a membar, memory fence or fence instruction, is a type of barrier instruction which causes a central processing unit (CPU) orcompiler to enforce an ordering constra...
分类:其他好文   时间:2014-09-02 14:13:54    阅读次数:304
PS 滤镜算法原理——拼贴
%%%% Tile  %%%%% 实现拼贴效果 %%%%% 将原图像进行分块,然后让图像块在 %%%%% 新图像范围内进行随机移动,确定移动后的边界 %%%%% 将移动后的图像块填入新图像内 clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm...
分类:其他好文   时间:2014-09-01 17:50:13    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!