stuf / circuiteer Goto Github PK
View Code? Open in Web Editor NEWExperimental webapp for helping to plan setups in Astroneer; calculating power usage and production, linking modules together, etc.
Home Page: https://circuiteer.etm12.moe
Experimental webapp for helping to plan setups in Astroneer; calculating power usage and production, linking modules together, etc.
Home Page: https://circuiteer.etm12.moe
Allow to activate and deactivate placed entities on the grid and display their status accordingly.
Plan support for persisting editor state in a suitable backend.
Ideas/thoughts/things:
localStorage
/sessionStorage
-like API?localStorage
, but could be a custom back-endImplement deletion for placed entities on the canvas.
For the sakes of simplicity in handling positions and sizes w.r.t. the grid, use Matrix
as exported by common/linear
instead of manually converting between grid-space and screen-space position.
Remember to create an isomorphism for using relevant data either as scaled to grid-space or screen-space.
Note to self:
// Iso for reading data as a matrix, but data is written as an array
const matrixI = L.iso(xy => new Matrix(xy), m => m.data.flat())
// Parametric iso when for reading values as grid-space but writing them in screen-space
const screenI = gxy => [matrixI, L.iso(m => m.div(gxy).map(Math.round), m => m.mul(gxy))]
Can be just a dump of the internal state for now until a proper way of handling with this comes up
To not entirely get swamped up in random ideas on what to do and what not to do, and ideas on future improvements, a to-do list of things required for a proper v0.1.0 release with (hopefully) linked related issues.
A simple countBy
operation for all placed entities recipes.
Due to the way materials are represented internally at the moment, implementing expansion of composite and refined resources would end up in an unnecessarily complex kludge (follow-up for this in another issue).
Display a power status breakdown graph which takes into account gains/losses from currently selected location.
Should include:
Currently the editor canvas lacks any kind of scroll/pan or zooming feature.
After first release, revisit editor canvas implementation and implement (flexible) controls for choosing editor view.
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.