Questions tagged [processing.js]
A JavaScript port of the Processing language.
12 questions
3
votes
2
answers
194
views
Roguelike Building Generator
I decided to make a roguelike for fun. Here's the first part, a building generator (in the link at the bottom of the post, each square represents a building):
...
2
votes
1
answer
231
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.
(...
3
votes
5
answers
2k
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
1
answer
5k
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
1
answer
310
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 ...
6
votes
1
answer
96
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
1
answer
359
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
1
answer
227
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
2
answers
880
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 ...
10
votes
1
answer
373
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
3
answers
2k
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
1
answer
730
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.
...