Giter VIP home page Giter VIP logo

p5cljs-editor's Introduction

Hi there ๐Ÿ‘‹

Iโ€™m Somฤ“. Somethings I've made:

p5cljs-editor's People

Contributors

cioraz avatar somecho avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

p5cljs-editor's Issues

Feature: console

Add a console where users can see if there's an error, or if they are logging anything. Use console-feed to implement this feature.

add support for p5 sound

Someone asked about whether p5 sound is supported. Since the p5 editor supports it, this project should too. Maybe using the same strategy as importing the sound library on run.

Add stop button

Add a stop button to stop and remove running sketches from view (similar to how the P5 editor does it).

The button should have a different color from the run button, indicating a stop action. Preferable from the neutral or slate tailwind colorscheme.

move css styles into Article.jsx

Currently, the styling for the code blocks in the articles are in global css. These should be moved in to custom components that are passed into the Article component. Other stylings like list stylings should also be moved in.

user p5 functions persist on restart / stop

Steps to reproduce:
1- run sketch (defn setup[] (println "hello"))
2- run sketch (println "HELLO"))

Problem:
Prints both 'HELLO' and 'hello'

Expected:
Should only print 'HELLO'

Add a quick tutorial page

Add a quick tutorial page that can be accessed from the navbar. Simple steps:

  1. Add a new route /tutorial
  2. Write tutorial.md in the pages directory

A code formatting plugin will need to be used for ReactRemark.

Feature: import CDNs

Add a CDN "drawer" where user can provide CDN links to libraries they want to use (e.g. Tone, Chroma, etc) and make it available.

Add P5 structure and event functions

Currently, only draw() and setup() are supported. Add the following:

  • preload()
  • keyPressed()
  • keyReleased()
  • keyTyped()
  • deviceMoved()
  • deviceTurned()
  • deviceShaken()
  • mouseMoved()
  • mouseDragged()
  • mousePressed()
  • mouseReleased()
  • mouseClicked()
  • doubleClicked()
  • mouseWheel()
  • touchStarted()
  • touchMoved()
  • touchEnded()

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.