Git Product home page Git Product logo

πŸ™ƒHeyo Coders!!

Ketki Pandey's Projects

apna-time-aayega icon apna-time-aayega

hey, clone this repository if u want to see the output as audio is disabled on GitHub, run it from ur server : )

chat-bot icon chat-bot

Let's talk with Buddy and take a maths quiz ^_^

create-coloured-raindrop-pattern-using-class-object icon create-coloured-raindrop-pattern-using-class-object

In this project you have to create a colorful falling raindrop pattern throughout the screen. Each drop could be a character, alphabet, number or symbol. Create a class for the raindrop and make a constructor function. Then, define randomly x and y coordinates and define raindrops. Also make a function to give the realistic gravity approach as raindrops are falling by adding positive value to the speed. You can also give a 3D effect to the falling raindrops so that the rain pattern will appear small for some raindrops and large for other drops. This will give the user the illusion that the raindrop is farther or nearer. In the js file define an empty array of raindrops. In the setUp function, fill the empty array with the variable used to create a raindrop. You can do this by using a for loop. In the function draw(), use the function created for the raindrop falling action and display function. Iterate through the for loop. Also make sure you use the ideas and concepts of inheritance to create the drops by creating a base class

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.