Javascript Archives - IB Computing https://ibcomputing.com/tag/javascript/ IB Computing - Daily updates of web development Sat, 22 Feb 2020 06:13:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.5 https://i0.wp.com/ibcomputing.com/wp-content/uploads/2018/01/cropped-ibwelcome.png?fit=32%2C32&ssl=1 Javascript Archives - IB Computing https://ibcomputing.com/tag/javascript/ 32 32 141546849 Create A Simple Presentation using Reveal js and Markdown https://ibcomputing.com/build-presentations-with-reveal-js-and-markdown/ https://ibcomputing.com/build-presentations-with-reveal-js-and-markdown/#respond Sat, 22 Feb 2020 06:13:44 +0000 https://ibcomputing.com/?p=1609 Presentations are important to share something to others. we have Office software such as Libre office impress, Microsoft Office PowerPoint, google Slides to do this …

The post Create A Simple Presentation using Reveal js and Markdown appeared first on IB Computing.

]]>
Presentations are important to share something to others. we have Office software such as Libre office impress, Microsoft Office PowerPoint, google Slides to do this task. Today I am going to tell you how you can Build Presentations with Reveal.js and markdown file.

Reveal js is a JavaScript package to create web slides.  official website itself a presentation demo.  it also provides a free online editor to create slides . but it needs an account to start. just go to slide.com for making one.  lets see how we can create a web slide using a markdown file.

Build Presentations with Reveal.js and markdown

Build Presentations with Reveal.js and markdown

Before we start we have to install the following packages into the system.

execute these commands to install the packages in Ubuntu. Other operating systems have there own package manager commands.

git : sudo apt-get install git
pandoc : sudo apt-get install pandoc

step 1 : Create a Markdown File with headings and list items. an example here

django-intro.md

% Django Introduction
% Mujeeb Rahman K
% February 09, 2020

# Django

## Why Django
* Django is a Web framework written in Python
* Don't reinvent the wheel.
* 216 K packages in python package index

step 2 : clone or download Revealjs into the same folder which contains the above markdown file

git clone https://github.com/hakimel/reveal.js.git

Step 3 : convert markdown (.md) file to html file using pandoc utility

pandoc -t revealjs -s -o djangoslide.html django-intro.md -V revealjs-url=./reveal.js

This will convert md file to html and use reveal js from our current folder. if you don’t cloned reveal js you can use direct url like below.

pandoc -t revealjs -s -o djangoslide.html django-intro.md -V revealjs-url=https://revealjs.com

now we have got a djangoslide.html file. just open that file in any browser and see the magic..!! your web slide is ready.  remember that, if you didn’t download or clone reveal js in same folder the html wont render correctly.

The is a very quick and simple way to create a presentation because it only need very simple utilities like git, pandoc and a simple markdown file. Markdown can be created using a very simple text editor. We have very nice presentation with all the effects. It is html so simply works everywhere.

The post Create A Simple Presentation using Reveal js and Markdown appeared first on IB Computing.

]]>
https://ibcomputing.com/build-presentations-with-reveal-js-and-markdown/feed/ 0 1609
Letter Animations using Javascript Library Anime.js https://ibcomputing.com/letter-animations-using-javascript-library/ https://ibcomputing.com/letter-animations-using-javascript-library/#respond Tue, 23 Jan 2018 17:04:20 +0000 https://ibcomputing.com/?p=729 Anime.js is a javascript framework to animate various elements in the DOM. It works with any CSS Properties, individual CSS transforms, SVG or any DOM attributes, …

The post Letter Animations using Javascript Library Anime.js appeared first on IB Computing.

]]>
Anime.js is a javascript framework to animate various elements in the DOM. It works with any CSS Properties, individual CSS transforms, SVG or any DOM attributes, and JavaScript Objects. Different kind of Letter Animations using Javascript Library is possible with Anime.js. Animation sequences are also supported with this javascript library. Julian Garnier developed this amazing javascript library and released it in MIT license.

Letter Animations using Javascript Library Anime.js

Letter Animations using Javascript Library

This javascript library can be used to animate words and letters. This will be very useful to create websites for games, parties, events etc. Tympanus created a set of very nice animations using Anime.js. The animation slideshow used in the demo created by Tympanus includes very nice effects to play with.

The main idea of the implementation includes creating an SVG for each word. Then place circle, square or triangle shapes relative to SVG. With a couple of effects, the letter animation will be formed with stunning effects using simple shapes. To showcase the effects, there is a small slideshow with different kind of letters and animations. Letter Animations using Javascript Library is also available for download.

Letter Animations using Javascript Library Animation1 Letter Animations using Javascript Library Animation 2 Letter Animations using Javascript Library Animation 3 Letter Animations using Javascript Library Animation 4 Letter Animations using Javascript Library Animation 6 Letter Animations using Javascript Library Animation 7 Letter Animations using Javascript Library Animation 8 Letter Animations using Javascript Library Animation 10 Letter Animations using Javascript Library Animation 11

Main features of Anime.js

Full Documentation is available with examples.

Anime.js Demos and Animation Examples

Anime.js Browser Support

Anime.js is supported by Google Chrome 24+, Safari 6+, IE 10+, Firefox 32+ and Opera 15+. So in the modern world, it is safe to use for a professional project and it works on almost all devices.

Anime.js is released under MIT license and the current version is 2.2. The development is going on in GitHub repository and 380 commits are now live. Anime.js is inspired by Animate Plus and Velocity. Animate Plus is another animation library and Velocity is a very nice feature rich animation framework that intended to replace the jQuery animate function.

The post Letter Animations using Javascript Library Anime.js appeared first on IB Computing.

]]>
https://ibcomputing.com/letter-animations-using-javascript-library/feed/ 0 729