Code Monkey home page Code Monkey logo

code-blast-codemirror's Introduction

Code-blast plugin for Codemirror

This is a quick Codemirror port of lovely experiement by Joel Besada.

Simply put code-blast.js in your project and set the blastCode option to true when initializing codemirror. This library comes with inbuilt 2 types of effect.

Live Demo

Demo

var cm = CodeMirror(document.body, {
	blastCode: { effect: 1}, // `effect` can be 1 or 2
}

Coming up

  • Configurable options

code-blast-codemirror's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-blast-codemirror's Issues

Configurable shakeIntensity

Hi,
I'm applying your project to mine, and I need to change shakeIntensity and size of particle of effect 2. (I wanted to lower these)
However, there aren't configurable options about these yet.
So I made some options for my use and if you are interested in, let me know. I'll open pull request.

You can find my works at this compare and I also updated demo, you can check how it works.

Any suggestions are welcome.

Thanks to your great work. :)
Jayde.

Roadmap, desired features?

I'm working on a fork of this project currently to match my needs, and am curious about which features, if any, you'd be interested in pull requests for (or what other priorities this project might have):

Currently implemented or in progress:

  • Configuration for which dom node has shake effect applied.
  • commonjs/amd support
  • typing streak / effect rampup
  • multiple codemirror instance support [LIVE ALREADY]

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.