Giter Site home page Giter Site logo

amankardam / p5-javascript-sketches Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 914 KB

I just started coding in p5.js and here is my work in javascript.

Home Page: https://amankardam.github.io/P5-Javascript-Sketches/

HTML 0.01% JavaScript 99.99% CSS 0.01%

p5-javascript-sketches's Introduction

Aman Kardam p5.js Sketches

List of All of my Sketches

  • In this animation we created a function which recursively call to draw a square with redued length by some factor each time with having same center for all square and stop when length is less than 1. Simntenously we rotate the drawed square with some speed which we can control through slider.
  • Here we designed a single player ping pong in which ball is reflected bay all 3 wall expect one wall which is protected by pong . We have 2 ball in game 1 black , 2 random color . We would make sure that black ball shouldnn't touch 4th wall , if touched game over. 2nd ball is basically to cause confusion it can touch all for walls. We can change the size of pong with the help of slider . Pong response in y axis caputure movement by mouse or touch.
  • In this we use factorial function , draw a tree with 1 branch which call 2 other branch with reduced length and those 2 branch call 2 branch 2,2 each branch and so on. When length is less than 1 it stop drawing. we have two slider which set angle of rotation for both branch respectively.

Contact us

You can contact me on [email protected]

p5-javascript-sketches's People

Contributors

amankardam avatar

Watchers

 avatar

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.