Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


    | Lorem ipsum dolor sit amet. At mollitia mollitia qui vero omnis aut adipisci suscipit! Qui natus aspernatur cum totam omnis quo dolorem voluptates sit autem consectetur non eveniet illo? Ut velit itaque et dolorum harum qui voluptatem deserunt.


                @import url('');


.shuffle-text {
  // display: none;
  width: 500px;
  margin: 50px auto;
  color: #333;
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.5;

// .rand_text{
//   color: #333;
// }


import shuffleLetters from "";
import {Pane} from "";

* set tweakpane
const PARAMS = {
  step: 1,
  fps: 40

const pane = new Pane();

pane.addInput(PARAMS, 'step', {
  min: 1, max: 100,

pane.addInput(PARAMS, 'fps', {
  min: 1, max: 100,

const btn = pane.addButton({
  title: 'Play'

btn.on('click', () => {

* set Shuffle Text
function setShuffleText () {
  shuffleLetters(document.querySelector('.para'), {
    step: PARAMS.step,
    fps: PARAMS.fps