JSGandalf

Tuesday, January 14, 2020

Hi Guys

Few Youtubers whom you should watch:
1)Mike Boyd
2)CS Dojo
3)Daniel Shiffman
4)Devon Crawford
5)Navin Reddy

Monday, January 6, 2020

HI FOLKS

I am extremely sorry for not being able to post any new trick or video. But stay tuned for my new tutorial series THE JS GUY

Tuesday, December 31, 2019

THINGS TO LEARN IN 2020

Things to learn
1)Throw card such that they cut through air
2)Stack dice using a cup
3)Draw dotted lines very fast using chalk
Things to do
1)Making an Android app for my blog
2)Making Twitter Bot

How to Apple OS on Windows PC

You can use Apple OS or any other OS on a windows or any other pc by downloading virtual box and that OS
MERRY CHRISTMAS
Merry Christmas Fellas
Devon Crawford thanks if you are reading my blog!!!!!

Saturday, December 7, 2019

ConvergingRows

Today I will share with you'll the javascript code for making converging rows.
Code
var wid=100;
var hei=100;
var x=1;
var y=1;
var decrement=0.7;
var ahead=17;
function setup(){
  createCanvas(windowWidth,windowHeight);
  background(0);
  x=0;
  y=1;
}
function draw(){
  if (y<windowHeight){ 
     fill(random(0,255),random(0,255),random(0,255));
     stroke(random(0,255),random(0,255),random(0,255));
     rect(x,y,27,wid,hei);
     x+=wid;
     if (x>windowWidth){
      y+=ahead;
      x=1;
      wid-=decrement;
      hei-=decrement;
        }
    }
    

  }