- 34
- 480 085
BananaCoding
Germany
Приєднався 8 бер 2018
All about Web-Development, Programming, Web-Design and Online-Marketing. Using HTML, CSS, Javascript (JQuery), PHP and more, you will see easy coding tutorials, programming videos and nice design courses for create your own website. Learn coding and programming fast and easy with a lot of fun!
Phil
Phil
Canvas Drag & Drop Objects Tutorial | HTML5 Canvas JavaScript Tutorial [#10]
Canvas Drag & Drop Tutorial for cavas objects, like rects, rectangles and circles. Learn how to implement JavaScript and Canvas Drag and Drop functions and functionality without any library or plugin. Full JavaScript HTML 5 Canvas Tutorial series. Use JavaScript Mouse Down, Mouse Up and Mouse Move events to interact with the objects in canvas, and change the x- and y- coordinates. Mobile touch included as well.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✔️CHECK OUT MY HOMEPAGE ✔️
🔨 LEARN BUILDING YOUR OWN WEBSITES 🔨
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👀 MY SOCIAL MEDIA 👀
✔️ Twitter: CodingBanana ✔️
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚫️ We are using music and sounds in the videos from the UA-cam audio library under the free license.
⚫️ We are using graphics, pictures or images from Pixabay (pixabay.com/en/service/faq) under the Creative Commons CC0 license (creativecommons.org/publicdomain/zero/1.0/deed.en).
⚫️ We are using graphics, pictures or images from Unsplash (unsplash.com/license) under the Creative Commons CC0 license (creativecommons.org/publicdomain/zero/1.0/deed.en).
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚫️ Links marked with (*) are affiliate links. You can support me for free using those, without paying more. There can be a positive commission for me.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✔️CHECK OUT MY HOMEPAGE ✔️
🔨 LEARN BUILDING YOUR OWN WEBSITES 🔨
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👀 MY SOCIAL MEDIA 👀
✔️ Twitter: CodingBanana ✔️
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚫️ We are using music and sounds in the videos from the UA-cam audio library under the free license.
⚫️ We are using graphics, pictures or images from Pixabay (pixabay.com/en/service/faq) under the Creative Commons CC0 license (creativecommons.org/publicdomain/zero/1.0/deed.en).
⚫️ We are using graphics, pictures or images from Unsplash (unsplash.com/license) under the Creative Commons CC0 license (creativecommons.org/publicdomain/zero/1.0/deed.en).
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚫️ Links marked with (*) are affiliate links. You can support me for free using those, without paying more. There can be a positive commission for me.
Переглядів: 57 537
Відео
BUILD your OWN Node.JS Blog w/ JavaScript ▫️ EJS ▫️ MongoDB ▫️ Express ▫️ TailwindCSS 🔨💻 | #1
Переглядів 1,1 тис.2 роки тому
Build your own custom Node.JS Blog with Express Routing and API, the MongoDB Database to save, post, get and delete the data, SASS, SCSS and TailwindCSS for the frontend. Also we use EJS as view engine between backend and frontend. In this video, we use vanilla JavaScript for the front end, not any kind of JavaScript framework like Angular, React or Vue.js. Learn to build yout Node.JS blog with...
Node.js WEB SCRAPING Tutorial | Node.js Web Scraper App Cheerio Express
Переглядів 2,8 тис.3 роки тому
Node.js web scraping app tutorial. Full web scraping tutorial app. Create your web scraping app with node.js, ejs view engine, cheerio and express for routing and sending data from the controller and the backend to the view. learn how to web sraping with node.js. In this example app, an IMDB web sraper wil be genrated and programmed ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ✔️CHECK OUT MY HOMEPAGE ✔️ ✔️ADOBE PROGRAM...
JavaScript SCROLL Progress Bar INDICATOR Tutorial 🟩⏩ | Full JS Tutorial
Переглядів 5203 роки тому
JavaScript menu navigation scoll progress bar indicator. Fill progress bar based on the scroll position on the website. JavaScript full tutorial web app and app tutorial for creating javascript website effects. Javascript scroll event, to fill the scroll bar based on the scroll position, scroll top and offsets left of the menu navigation items. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ✔️CHECK OUT MY HOMEPAGE ✔️ ✔️A...
REACTION TIME JavaScript App FULL Tutorial 💥💯 | Test Your Reaction Time [JS APP]
Переглядів 3,8 тис.3 роки тому
JavaScript Reaction Time App and Web App full tutorial. Create full javscript application to test your reaction time with full explanation. JavaScript timer, timeouts and intervals to get the time, using canvas and interactions to test the reaction time. Learn creating your own app with javascript. You can improve your reaction time skills and test your skill, for example for computer games and...
CANVAS JavaScript Drawing App 🎨 | Draw ● Undo ● Erase ● Colors | Full HTML5 Canvas App Tutorial
Переглядів 65 тис.3 роки тому
Canvas JavaScript Drawing App full tutorial. Canvas pen drawing, scribbling and scrawling. Canvas drawing and writing with color picker, different colors, brush and pen size, erase lines and objects, erase drawn lines and undo drawings and writings. Full canvas javascript draw app tutorial with explanation. Learn full HTML5 js canvas with this app example tutorial. Can also be used as game. ▬▬▬...
CANVAS Creating Data Graphes & Diagrams | HTML5 Canvas JavaScript Tutorial [#9]
Переглядів 14 тис.3 роки тому
Canvas data graphes, data science and diagrams for showing data and more. Show cool data graphes using JavaScript and Canvas. You can use any kind of data, like Excel, JSOn or CSV Data, but of course intern and own data from JavaScript objects. Good alternative for python data. HTML 5 Canvas JavaScript Tutorial. Learn full canvas tutorial in english. Interact with canvas elements in canvas. Lea...
JavaScript jQuery IMAGE Slider Tutorial | Infinite + Autoslide + Smooth
Переглядів 2,3 тис.4 роки тому
jQuery image slider carousel. Create simple javascript infinite jquery image sldier with scroll and carousel effect, smooth and fast. Infinite autoslide jquery javascript slider for images or media content. jquery only, no vanilla javascript needed. Simple image slider carousel for website like WordPress website or any custom website or framework, like angular, react, vue or more. The image sli...
Canvas Object Interaction Events | HTML5 Canvas JavaScript Tutorial [#8]
Переглядів 40 тис.4 роки тому
Canvas click and interacting with objects, circles, squares, rectangels. JavaScript canvas interacting with classes and objects and do functions on canvas elements and canvas objects. Moving and touching canvas elements and objects, like circles, arcs, rects and more. HTML 5 Canvas JavaScript Tutorial. Learn full canvas tutorial in english. Interact with canvas elements in canvas. Learn all abo...
Angular 10 FULL Tutorial | Tic Tac Toe Game
Переглядів 13 тис.4 роки тому
Learn Angular 10 tutorial. Full angular 10 tutorial project with angular material and angular bootstrap. Learn angular by creating this full tic tac toe project game app. Learn angular fast with this example project, including angular material and angular bootstrap. Learn the game mechanic of tic tac toe in javascript and typescript, also the class, object and interface of typescript and javasc...
PHP 7 MySQL Tutorial [#4] - IF ELSE LOOPS & SWITCH CASE
Переглядів 1034 роки тому
PHP If, else loop conditions and switch case in PHP. Learn PHP, OOP PHP and MySQL PHP - Full PHP 7 MySQL Tutorial Series 2020! PHP constants and declare arrays in PHP. Learn all aboput the PHP data types and how to use and declare arrays. Learn PHP serverside programming in 2020 with the basics and advantage stuff in combination with MySQL and object oriented PHP programming, OOP PHP. PHP varia...
CSS ONLY Accordion | CSS TOGGLE tabs accordeon content | CSS Tutorial
Переглядів 3114 роки тому
CSS only accordion or accordeon tutorial. In this video, we will create an easy and simple css accordion without and no javascript. CSS open and close toggle tabs and tabs content. With mouse click, you can open and close the container / the tabs, known as accordion. Once opened, you will see the content inside, otherwise only the title with the tab. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 👀 MY SOCIAL MEDIA 👀 ✔️ I...
Canvas images tutorial | HTML5 Canvas JavaScript Tutorial [#7]
Переглядів 8 тис.4 роки тому
Canvas HTML5 JavaScript game tutorial. Creating images and games with canvas. Also create canvas game animations and cansvas images and icons. Full canvas tutorial series. Learn full javascript canvas, context, paths and more. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ✔️CHECK OUT MY HOMEPAGE ✔️ ✔️ADOBE PROGRAMMS FOR BETTER EXPERIENCE ✔️ 🔨 LEARN BUILDING YOUR OWN WEBSITES 🔨 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 👀 MY SOCIAL MEDIA 👀 ✔️ ...
CSS + JavaScript Star Rating Tutorial [5/5] | JavaScript Rating System HTML Radio Checkbox
Переглядів 2,6 тис.4 роки тому
CSS and JavaScript Star Rating Tutorial. Create simple and easy rating system with HTML input radio buttons or HTML5 checkboxes. CSS and JavaScript Webseite shop rating, product rating or service rating tutorial. CSS JavaScript star rating system, for example 5 out of 5 stars.Javascript star rating system and rating system stars, css star rating bars and star rating system. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ...
Create Canvas OBJECTS with LOOPS | HTML5 Canvas JavaScript Tutorial [#6]
Переглядів 10 тис.4 роки тому
Canvas Javascript HTML full tutorial. Creating objects and elements with canvas in javascript loops dynamically. Moving objects and elements in canvas by using javascript foreach and for loops. Also, we gone learn collision detection for the canvas objects and elements. Learn full canvas html5 and javascript tutorial. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ✔️CHECK OUT MY HOMEPAGE ✔️ ✔️ADOBE PROGRAMMS FOR BETTER E...
HTML5 Canvas JavaScript Tutorial | Collision detection Canvas objects & elements interaction [#5]
Переглядів 16 тис.4 роки тому
HTML5 Canvas JavaScript Tutorial | Collision detection Canvas objects & elements interaction [#5]
PHP 7 MySQL FULL Learn Tutorial 2019 [#3] Arrays, data types & constants
Переглядів 504 роки тому
PHP 7 MySQL FULL Learn Tutorial 2019 [#3] Arrays, data types & constants
PHP 7 MySQL FULL Learn Tutorial 2019 [#2] Variables & functions
Переглядів 744 роки тому
PHP 7 MySQL FULL Learn Tutorial 2019 [#2] Variables & functions
PHP 7 MySQL FULL Learn Tutorial 2019 [#1] Installing PHP - Apache - MySQL
Переглядів 1524 роки тому
PHP 7 MySQL FULL Learn Tutorial 2019 [#1] Installing PHP - Apache - MySQL
JavaScript Drag and Drop List Tutorial | Simple Website File Drag & Drop example
Переглядів 1,3 тис.4 роки тому
JavaScript Drag and Drop List Tutorial | Simple Website File Drag & Drop example
HTML5 Canvas JavaScript Tutorial | Moving objects animation + Collision detection [#4]
Переглядів 32 тис.5 років тому
HTML5 Canvas JavaScript Tutorial | Moving objects animation Collision detection [#4]
JavaScript Progress Bar Tutorial | Loading animation progress bar [JS / CSS]
Переглядів 3,7 тис.5 років тому
JavaScript Progress Bar Tutorial | Loading animation progress bar [JS / CSS]
HTML5 Canvas JavaScript Tutorial | Fonts and Text in Canvas and objects [#3]
Переглядів 16 тис.5 років тому
HTML5 Canvas JavaScript Tutorial | Fonts and Text in Canvas and objects [#3]
CSS only PARALLAX Effect | CSS Fixed Scroll effect NO JavaScript Tutorial
Переглядів 5115 років тому
CSS only PARALLAX Effect | CSS Fixed Scroll effect NO JavaScript Tutorial
HTML5 Canvas JavaScript Tutorial | Creating classes and object circles dynamic [#2]
Переглядів 29 тис.5 років тому
HTML5 Canvas JavaScript Tutorial | Creating classes and object circles dynamic [#2]
HTML5 Canvas JavaScript Tutorial | Creating Objects + Canvas Basics [#1]
Переглядів 77 тис.5 років тому
HTML5 Canvas JavaScript Tutorial | Creating Objects Canvas Basics [#1]
CSS LOGIN FORM Tutorial | Easy animated CSS Only Website Login Form
Переглядів 1165 років тому
CSS LOGIN FORM Tutorial | Easy animated CSS Only Website Login Form
Random DICE Generator | JavaScript + CSS Random Dice Number Tutorial
Переглядів 2,8 тис.5 років тому
Random DICE Generator | JavaScript CSS Random Dice Number Tutorial
FULL CSS Beginner Tutorial Series #1 | Basics, Including CSS in HTML, First Codes
Переглядів 645 років тому
FULL CSS Beginner Tutorial Series #1 | Basics, Including CSS in HTML, First Codes
Create FULL HTML CSS WEBSITE in 30 Minutes | Build repsonsive Website HTML CSS Tutorial
Переглядів 5135 років тому
Create FULL HTML CSS WEBSITE in 30 Minutes | Build repsonsive Website HTML CSS Tutorial
dude you saved me.
You channel under rated! You have to have million subs
people before else is invented : 6:40
Thank you for making this great video! Super helpful 👍
Arabic support is possible, good luck
I don't even know English and I found it super easy to understand hahaha 😃
Brilliant video
You need to work a bit on your classes. To clean things up, put the canvas-related stuff in a class so that you're basically doing: c = new Canvas('canvas', '2d'); cir = new Circle(c, x, y, radius); cir.draw();
I think for a simple tutorial this should be good enough. It might even be more confusing for complete beginners if he uses any classes that they don't have because they haven't seen the first video 😄
This tutorial is awesome, i have implemented it in one of my projects. The only problem i got is, the touch event doesn't work on my Samsung Tablet running chrome. Can you check what is wrong?
bananasCoding is good
"height" is not pronounced as "hate". Grow up. Your code is also disjointed. If you're first creating a variable named canvas_height, it doesn't make sense semantically to then call canvas_width first. Why jump around?
what does document.createElement("img") do? what does it do to the canvas?
hi during this tutorial around this code all_circles.forEach(element =>{element.update();}) where's the element come from? does it from created variable or something? can you tell me the detail around 1:58 you said elements for the elements we're gonna do something because i didn't catch what do you mean by that thanks
shape will not show up.
Thx for the video!
Great tutorial, THX!
thank you!
This was a great tutorial. Thanks! How would you tackle more complex shapes like irregular triangles etc.?
This is great content. Thanks for uploading. I wanted to make an interactive donut chart using DOM elements but it actually proved to be really difficult to do... I'm thinking this might be a better way to do it. Are there any draw backs, other it requiring more code, to using Canvas instead of DOM elements?
If anyone want add another new image. Just add: let image1 = new Image('tree_01.png', 50, 50, 100, 200); createImage(context, image1.imagePath, image1.xpos, image1.ypos, image1.width, image1.height); And it will work fine too.
😢 i try to follow it seems easy but it works then some of it dont
He's trying, but he doesn't even check his spelling in his code as he goes along. This makes it a much less effective tutorial.
❤
suggests using a larger font in guides. because then you can watch and write in the other window.
why doesn't it work on rect? It sits in the top left corner no matter what I do
Thank you!
Thanks! This was easy to understand. I can't wait to start programming with it now!
This worked for me, thank you!
i need the css for a homework please
there is a bug in the source code restore_array.push(context.getImageData(0, 0, canvas.width, canvas.height)); index += 1; these 2 lines should be inside the if (is_drawing) {}, not another if (event.type != "mouseout") {} otherwise, if you draw a line with mouseup, and draw another line with mouseout, then click Undo, these 2 lines will disappear at the same time.
Thanks. Very useful.
for anyone having the color being only black issue like me, add this line to the draw context function: *context.strokeStyle = this.color;* The reason it didn't work it because he forgot to use it, anyways like the comment so other can be helped out too?
Why its chaging the background color and not the slider color?
thanks bro, i was searching for this <3,
làm thì ít rên rỉ thì nhiều, làm kiểu nửa mùa thì nghỉ đừng làm, phí thời gian
Hi, have you shared the index.html code anywhere? the link that you shared does not appear to have the thml code that you are showing in the video.
Fun stuff!
couldn't you just put everything into th slider.oninput function? it just seems odd that you would have two functions that do basically the same thing (ie: you could put the background color changing code into the slider.oninput function as well and it would be more performant)
what is this here?
Thanks, nice tutorial, but there at min 6:55 instead of writing an entire if you could just write else and update the color to black :)
thats what i was thinking
people before else is invented : 6:40
Meu CANVAS.GETIMAGEDATA() não funciona. My canvasctx.getImageData() doesnt work Var Ima = new Imagem() Ima.onload = funciona() { Canvasctx.drawImage(ima, 0, 0) Var Dados = canvasctx.getaImageData(0, 0, height, width).data }
Thanks man, I will try your tutorial.
Is there a more optimal approach instead of drawing all shapes again everytime the mouse moves ?
Don't you think the graph is wrong ? Sure I like idea but how does 200 point is smaller than 80 point ? I think the graph is upside down
yeah, that's it
Thanks 👍
Ofc Im gonna Sub!
Masterclass, thank you for all !
Hello, would this work well if you have multiple objects? And what if objects are images ?
Good job bro, JESUS IS COMING BACK VERY SOON;WATCH AND PREPARE
will the rectangle work the same?
got is not a function? even im usung fix esm still get that error