timhutton / livingphysics Goto Github PK
View Code? Open in Web Editor NEWArtificial chemistry game
License: GNU General Public License v3.0
Artificial chemistry game
License: GNU General Public License v3.0
e.g. in the reaction editor the bond will appear briefly and then disappear.
Seen on Chrome on Android.
This allows for an over-easy solution: break the chain, separate the colors, remake the chain.
Add a check that the chain doesn't get broken.
(This is a bit ironic, since the code was written for Processing's Android which only had touch.)
For now, you have to use it on desktop with a mouse, and use the mouse as if it is your finger - dragging down to scroll text.
To fix, use touchStart etc.: http://www.bradchen.com/blog/2011/04/processing-js-touch-events
Not easy to reproduce but I've seen cases where a set of reactions has been saved (and is visible in the localStorage in the browser) but only one is loaded for that challenge. This is annoying for the user because it means their work is lost.
Maybe just temporary - runs until the challenge is passed or the user hits a button or drags.
On Firefox on Windows on a laptop, the framerate drops to 30 after a few seconds, and even lower if the laptop is not plugged in. This is to save battery. Other browsers dont have this feature. Android doesn't seem to do this.
Whatever the cause, Living Physics should cope - by running the simulation at a constant speed whatever the framerate. Currently the atoms slow down when the framerate drops.
Currently the default view on mobile web is like this:
which makes touch interaction difficult. Better would be to occupy the whole window:
(thanks to @danbri)
y2-y1 -> y3+y4
y3+y3 -> y1-y1
y4+y4 -> y1-y1
This is not the intended sort of solution.
Thanks to Måns Grebäck for pointing this out. (In 2012.)
Add a check that the loop hasn't been broken. Maybe put stuff inside. One atom to go in each daughter cell?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.