All Projects → pixelkind → p5canvas

pixelkind / p5canvas

Licence: other
An interactive preview for writing p5js code in Visual Studio Code

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to p5canvas

icls-vs-code-dark-plus
Visual Studio Code Dark Plus-like color scheme for PhpStorm and other JetBrains IDEs
Stars: ✭ 24 (-33.33%)
Mutual labels:  visual-studio-code
vscode-exts
Visual Studio Code Extensions
Stars: ✭ 33 (-8.33%)
Mutual labels:  visual-studio-code
DovakinMQ
MQTT broker for java based on Netty
Stars: ✭ 14 (-61.11%)
Mutual labels:  visual-studio-code
susuwatari
A light monochrome theme with a minimal amount of highlighting for Visual Studio Code
Stars: ✭ 16 (-55.56%)
Mutual labels:  visual-studio-code
Pycraft
Pycraft is the OpenGL, open world, video game made entirely with Python. This project is a game to shed some light on OpenGL programming in Python as it is a seldom touched area of Python's vast amount of uses. Feel free to give this project a run, and message us if you have any feedback!
Stars: ✭ 39 (+8.33%)
Mutual labels:  visual-studio-code
elmmet
VS Code extension to compile emmet snippets to composition of elm functions
Stars: ✭ 17 (-52.78%)
Mutual labels:  visual-studio-code
testcafe-snippets
Code snippets for TestCafe
Stars: ✭ 54 (+50%)
Mutual labels:  visual-studio-code
PCF-Builder-VSCode
Build your Power Apps Component Framework custom controls faster. No need to remember the PCF CLI commands. All commands provided in one selection list for you to execute. https://marketplace.visualstudio.com/items?itemName=danish-naglekar.pcf-builder
Stars: ✭ 15 (-58.33%)
Mutual labels:  visual-studio-code
cds-for-code
VSCode extension for working with Microsoft Common Data Service (CDS)
Stars: ✭ 22 (-38.89%)
Mutual labels:  visual-studio-code
modelica-language-vscode
Extension for Visual Studio Code that adds language support for Modelica
Stars: ✭ 18 (-50%)
Mutual labels:  visual-studio-code
white-theme-vscode
Minimalist monochrome theme for Visual Studio Code
Stars: ✭ 66 (+83.33%)
Mutual labels:  visual-studio-code
japanese-word-handler
Better Japanese word handling on Visual Studio Code.
Stars: ✭ 32 (-11.11%)
Mutual labels:  visual-studio-code
vscode-insertdatestring
An extension for Visual Studio Code that provides a configurable command for inserting the current date and time
Stars: ✭ 58 (+61.11%)
Mutual labels:  visual-studio-code
porth-language
VSCode extension for the Porth language
Stars: ✭ 21 (-41.67%)
Mutual labels:  visual-studio-code
vscode-api-cn
VS Code API 中文文档
Stars: ✭ 27 (-25%)
Mutual labels:  visual-studio-code
vscode-theme-relaxed
🕶️ A relaxed Visual Studio Code theme to take a more relaxed view of things.
Stars: ✭ 84 (+133.33%)
Mutual labels:  visual-studio-code
ts-debug-example
use ts-node debug Typescript code in vsc without compiling
Stars: ✭ 19 (-47.22%)
Mutual labels:  visual-studio-code
intellij-visual-studio-code-dark-plus
Visual Studio Code Dark Plus theme for JetBrains IDEs
Stars: ✭ 108 (+200%)
Mutual labels:  visual-studio-code
vscode-formatting-toggle
A VS Code extension that allows you to toggle the formatter (Prettier, Beautify, …) ON and OFF with a simple click.
Stars: ✭ 52 (+44.44%)
Mutual labels:  visual-studio-code
c math viewer
Parses, and hovers math formula of c mathematical library functions
Stars: ✭ 36 (+0%)
Mutual labels:  visual-studio-code

p5canvas

The p5canvas extensions allows you to preview your p5js code in a canvas side by side with your code. The canvas refreshes live, while editing.

Example Screenshot Image by Quynh Han Tran

There is a standard setup script included which setups a full width/height canvas that will be resized automatically, but you can override that with your script.

Features

  • Side Preview while editing the JavaScript file
  • JSHint integration to find errors
  • Loading images with relative path
  • Saving the current canvas as PNG (as a command)
  • Fully ES 6 compatible
  • Support for import Statements in Beta

Setup

This can be installed from within VS Code's "Extensions" menu by searching for p5canvas. You can also run ext install garrit.p5canvas from your terminal, or go to the visual Studio Marketplace page of p5canvas to download the vsix file and manually install it. It is also available as extension in VS Codium.

Usage

If a JavaScript file is open, a p5canvas button appears in the status bar bottom left. Click on it, to open the preview.

Known Issues

There are currently no known issues. If you find any issues, please feel free, to message me on Twitter or Github.

Release Notes

1.7.0

  • Update to the latest version of p5js
  • Adding support for preload function
  • Adding support for setup function
  • Adding support to use createCanvas to create a fixed size or a WEBGL canvas

1.6.1

  • Showing internal JavaScript errors in the output (thanks to @ccoenen)
  • Added mouse position on top ruler
  • Bugfix for cannot read property document of undefined

1.6.0

  • Beta Support for import Statements

1.5.1

  • Bugfix: Canvas not showing on first open

1.5.0

  • Changed communication from websockets to the internal messaging api

For more Information, please look at the Changelog.

License

This Library is licensed under the MIT License. Please refer to the LICENSE.txt for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].