deciduously / dots Goto Github PK
View Code? Open in Web Editor NEWRust clone of Boomshine targeting WebAssembly
Home Page: https://deciduously.github.io/dots/
License: MIT License
Rust clone of Boomshine targeting WebAssembly
Home Page: https://deciduously.github.io/dots/
License: MIT License
FIgure out why that's happening and stop it.
You should probably split up your header and your dot pack - the header is all ints, no need to cast to f32s. just grab a separate pointer.
It's ugly, yo. Get background colors and nicer looking buttons and stuff
Figure out why that's happening, and then make it not happen.
On my desktop I noticed no issues, but this thing slowed to a crawl in Chrome on my 2012 laptop. Firefox had no problem.
Stop one is to remove all calls to Game outside of tick() and pack() and restart(). Things like "last_update" and "progress string" (whcih s just num_dots - captured dots, so just pass through the cpatured count and let JS subtract) and "num_dots" should get packed into the Vec - design a series of f32s that hold all the necessary info and put them in front, and then in drawGame handle those values before starting your for loop at the proper offset
You can use externs to call the JS canvas functions from your Rust code. Learn how.
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.