Skip to content

A VS Code extension to generate new p5.js project files.

License

Notifications You must be signed in to change notification settings

rbottura/p5-init

 
 

Repository files navigation

p5-init

You can download this repo or fork it to add your ideas. Dont hesite to ask for more additions if you think of some, I should find some time to answer in 48h max. vscode marketplace link here

Usage

use >p5 init vscode command hitting ctrl + shift + P and select an empty folder to create your p5 basic work folder. Works just as p5.vscode from Sam Lavigne, although it comes with some "addons" explained below.

Features

IBM fonts

Schematic :

.
├── assets
│   ├── fonts
│   │   ├── IBMPlexMono-Bold.ttf
│   │   ├── IBMPlexMono-BoldItalic.ttf
│   │   ├── IBMPlexMono-Italic.ttf
│   │   ├── IBMPlexMono-Medium.ttf
│   │   ├── IBMPlexMono-Regular.ttf
│   │   └── IBMPlexMono-Thin.ttf
│   └── formats.json
├── img
│   └── fire.gif
├── js
│   ├── class.js
│   ├── functions.js
│   └── ui_fonctions.js
├── libraries
│   ├── p5.capture.umd.min.js
│   ├── p5.min.js
│   └── p5.sound.min.js
├── index.html
├── sketch.js
└── style.css

Tips and Tricks

If you want to record your sketch as an Animation, I suggest you record it using p5.capture already in the librairies folder. Record as "png sequence" with the PNG format option (default). Then unzip the folder downloaded folder, you'll have access to your frames with a usefull nomerological naming system. At the point you have some options to convert a png-sequence into a video format of your choice, but if you goal is to have light mp4, the "movie maker" tool from the processing software is a fine and secure way to do it. Download processing software here. With you even have the option to add audio over it.

For more parameters, such as codecs, bit rates, etc. I go with Handbrake.

About

A VS Code extension to generate new p5.js project files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.7%
  • TypeScript 29.0%
  • CSS 16.5%
  • HTML 8.8%