Le site www.fousdanim.org n’est plus mis à jour depuis le 10 juillet 2015. Les outils de recherche sont toujours actifs mais nous vous invitons à aller ailleurs pour trouver des lieux plus vivants dédiés au cinéma d’animation.

TUT :: Grain dans Flash

Discussions, questions, astuces relatives a l'animation Flash et assimile (ToonBoom, etc)

TUT :: Grain dans Flash

Messagepar Yagan » Dim Avr 11, 2004 5:02 pm

petit Tut pour effet vieux film ...
http://www.kirupa.com/developer/mx2004/filmgrain.htm
Read U Soon
YAGAN

"How do you prove that you exist ... ? Maybe we don't exist ... "
Avatar de l’utilisateur
Yagan
Aide soignant
 
Messages: 1010
Inscription: Ven Fév 21, 2003 8:59 pm
Localisation: Lille-F
Film d'animation culte: L'Etrange Noel de Monsieur Jack

Messagepar proutKiPuDuSlip » Dim Sep 26, 2004 11:23 pm

BONSOIR

je viens de creer un version plus sympas car aléatoire ( et toc! )
donc voilà je vous en fais cadeau ( prout )

Code: Tout sélectionner
_stageH = 200;
_stageW = 300;
_effectContener = this.createEmptyMovieClip("effectContener", 9876543);
MovieClip.prototype.makeOldMovieFilter = function() {
   this.clear();
   this.lineStyle(0.25, 0xFFFFFF, 90);
   var _randomCount = Math.round(Math.random()*10);
   for (var i = 0; i<_randomCount; i++) {
      this.moveOnX = Math.round(Math.random()*_stageW);
      this.moveOnY = Math.round(Math.random()*_stageH);
      this.moveTo(this.moveOnX, this.moveOnY);
      this.curveTo(this.moveOnX+Math.round(Math.random()*5-5), this.moveOnY+Math.round(Math.random()*5-5), this.moveOnX+Math.round(Math.random()*5-5), this.moveOnY+Math.round(Math.random()*5-5));
   }
   _randomCount = Math.round(Math.random()*5);
   for (var i = 0; i<_randomCount; i++) {
      this.moveOnX = Math.round(Math.random()*_stageW);
      this.moveOnY = Math.round(Math.random()*_stageH);
      this.moveTo(this.moveOnX, this.moveOnY);
      this.lineTo(this.moveOnX+Math.round(Math.random()*5-5), Math.round(Math.random()*_stageH));
   }
};
_itvEffect=setInterval(_effectContener,"makeOldMovieFilter",100);

alors pour tester le bidule:
faites une nouvelle animation,
avec un fond sombre,
collez ce code dans la premiere frame de l'anim
et voilà pouf !

AU REVOIR
Dernière édition par proutKiPuDuSlip le Dim Sep 26, 2004 11:52 pm, édité 1 fois.
proutKiPuDuSlip
 

Messagepar hero » Dim Sep 26, 2004 11:25 pm

Raphin t'es qu'un frimmeuur !

J'en ris aux éclats !

HERO
++++
http://www.designhero.be
blog.designhero.tv
Avatar de l’utilisateur
hero
respectable zinzin
 
Messages: 711
Inscription: Jeu Déc 18, 2003 9:10 pm
Localisation: Bruxelles-Paris-Shanghai-Budapest
Film d'animation culte: Candy-boy

Messagepar Yagan » Lun Sep 27, 2004 10:11 pm

et bienvenue chez les Fous pro... PKDDS !
Read U Soon
YAGAN

"How do you prove that you exist ... ? Maybe we don't exist ... "
Avatar de l’utilisateur
Yagan
Aide soignant
 
Messages: 1010
Inscription: Ven Fév 21, 2003 8:59 pm
Localisation: Lille-F
Film d'animation culte: L'Etrange Noel de Monsieur Jack

Messagepar bUrP° » Lun Sep 27, 2004 10:29 pm

PKDDS

Faut pas se censurer comme ça!enfin!! :D :D :wink:
Image
Avatar de l’utilisateur
bUrP°
malade de la tête d'exception
 
Messages: 1531
Inscription: Mar Jan 27, 2004 6:16 pm
Localisation: Paris de retour à la capitale wazem me manque


Retourner vers Section Flash et Vectoriel

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité