A JavaScript port of the Processing language.

learn more… | top users | synonyms (1)

1
vote
0answers
47 views

P5 Isothermic Map Generator From Data Points

In my earth science class at school we had a lab where we went around the campus measuring the temperature at different place and marking it on a map. Afterword we were told to color the map using ...
2
votes
1answer
107 views

Random walker using Processing.JS on Khan Academy, with new walkers generated on mouse click

I've created a project on Khan Academy as part of the Natural Simulations course on random walks. This project is in JavaScript, using the Processing.JS library, slightly modified by Khan Academy. (...
4
votes
5answers
713 views

Roll the dice - to give a random output with a die

I was playing a game with my family and we lost the dice that went with the game, so I created this small program and I am now trying to create a website with it. ...
6
votes
1answer
628 views

Creating circles at the mouse cursor

This code takes the position of your mouse cursor, and it creates circles where the cursor is. ...
5
votes
1answer
128 views

De Casteljau's Algorithm Tool for Khan Academy Contest

So I wrote this code for a contest going on over at Khan Academy known as "Pixar in a Program". The goal of the contest is to create an entry that uses one of the skills shown in the new "Pixar in a ...
5
votes
1answer
45 views

Simulating dynamic systems and postprocessing

Inspired by this question, I modified the script to run a simple simulation of Taylor-Green vortex using LBM and post-processes it using P5*js (an official Javascript port of the Processing API). ...
7
votes
1answer
141 views

Processing.js physics simulation

I've been fooling around in JavaScript again, and I've come up with this simple physics simulation. I think it has a pretty simple setup, here's "psuedocode" of sorts to explain it. Constructor ...
10
votes
1answer
172 views

Block building game - Part 2

I've taken my previous block building game and added some performance improvements, and commented some things that needed to be commented for better explanation. ...
10
votes
2answers
489 views

Block building game

I've spent the last weekend working on this basic block building game, which I'm quite proud of. I do think it can be improved in many places though, e.g, performance issues due to my badly designed ...
9
votes
1answer
227 views

Processing.js particle system

After about half an hour of fooling around with Processing.js/JavaScript, I got this fairly decent particle system set up: ...
6
votes
3answers
782 views

Bouncing ball simulation

I was fooling around with some maths and realized that I could use a parabola to represent a bouncing ball. So, naturally, I decided to make it in code. ...
4
votes
1answer
390 views

Random walk terrain generator

I was messing around with Javascript in Khanacademy the other day and this "monstrosity" was born. It's a terrain generator that uses a simplified version of the random walk method. ...