Code Monkey home page Code Monkey logo

playground's Introduction

PixiJS Playground Build Status

The playground application is a server and client that allow you to create, view, save, and share small PixiJS demos.

Usage:

To run the application locally open two terminals, one to the client folder and one to the server folder.

In each of them run npm install to install their individual dependencies. Then run npm run dev for each to start locally. Finally, visit http://localhost:8080. Details can be found in the respective READMEs.

To Do:

Should Have (v1 or v2)

  1. Load all scripts at once in results, then only execute in order.
  2. Data attachments like images, or json to power a demo.
  3. Embed view that embeds just the preview with a link back
    • Useful for blog/forums posts and such.
  4. UI to star a playground
  5. Add homepage and search results
    • Show highly starred/trending playgrounds on homepage
    • Also use official/features flags for homepage

Nice to Have (v2+)

  1. Infinite loop detection (https://github.com/CodePen/InfiniteLoopBuster)
  2. Add some snippets for monaco, and enable command palette
  3. Different default demos for different versions
  4. More editor settings (tabs, theme, etc)
  5. Add github auth integration for login
    • List your own playgrounds
    • Consistent author field
    • Import/Export from/to Gist functionality
  6. Multi-file support, as well as custom html/css
  7. Move logic/state out of views and use a pattern (reflux/redux, or something)

playground's People

Contributors

bigtimebuddy avatar dependabot[bot] avatar englercj avatar exponenta avatar themoonrat avatar zyie avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

playground's Issues

pixijs.download/dev/pixi-legacy.js/types/pixi.js.d.ts:1 Failed to load resource: the server

hi i don't know if it related to playground or pixi servor !
was worked 1 or 2 days ago, i change nothing, and today i open and i get this error.
So it maybe a very recent commit somewhere ?

image

step to reproduce.
Open a new play ground and add legacy link
https://pixijs.download/dev/pixi-legacy.js
image

Also The crash will broke projet thats need load external link.

thanks

Mobile version

Needs mobile version without code editor.
Because sometime needs testings on mobile, but editor hides viewport.

The cdn used is bad

Hello,I am an Asian user using pixi playground.
We have noticed that the cloudfront used by pixi plaryground performs poorly in China. Opening a 282kb pixi.js file takes about 31 seconds to load, which caused a lot of trouble for our development. Thank you so much for the pixi playground, so great product, thank you for designing him, he is great!
Thank!
image

Store data in LocalStorageData

It would be great if you can add the Slug value or data to the LocalStorage.
image

I would like to make a little script to store and listing LocalStorageData in an excel vba sheets.
Easy way to view ,sort, preview a list without an account logging system.
I would have liked to add the feature by myself, but it's ts. :)

Can you tell me to deploy the playground in liunx?

Hi! I have an idea,Because http://www.pixiplayground.com. does not allow cross-domain, so many of my projects can not use pictures, this is a very headache. I think I can deploy pixi's playground in my liunx server. I don't know if it is allowed. How should I deploy it? I don't want to use npm run dev,but I want to actually deploy it on the server.

Scrolling on Mobile isn’t great

Follow up to @eXponenta recent mobile PR #13

Scrolling the code is a poor experience in iOS (and maybe others) because the default page overflow/scroll behavior. Would suggest not allowing the body to scroll and or using fixes to lock the whole view so that scrolling only happens in the code editor.

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.