edensity-sim's People
edensity-sim's Issues
Initialize stadium at equilibrium or current imPosition
team eDensity formulas
Line 423 in ae4f359
The formula stated here is not correct for any season, actually. In seasons 12-13, it should be:
//season 12/13: players + runs + 10*wins + 5*netShame + 99*#champs + 5*grand + 5*fort + 500*filth
and in Season 14 and onward, it should be:
//season 14: players + runs + 10*wins + 5*netShame + 33*#champs + 100*grand + 100*fort + 500*filth + 50*parkmods
(there's a minor error in our paper in the latter equation; we have 100*parkmods
where it should be 50)
Color scheme
Birds remove eDensity, so they should appear in this too
From maincord:
hey, I don't know who made the website that visually represents eDensity (presumably someone named/associated with "hexane"), but here's a tidbit of knowledge from the fridays
our calculated eDensity is 1949.490
our actual eDensity is 1809.490the difference between these two values is 140, which is exactly the amount of birds the Fridays have in our stadium, so if anyone wants to factor this into the hexane eDensity sim, go ahead/please do!
expansion team championships
Line 246 in ae4f359
Looks like you probably already know this, but expansion teams don't have credit for the championships they arrived with, which they should.
It looks like you're getting championships by iterating through the playoffs, which works for every other team, but not this. The teams have a number of championships in their object in the Blaseball API, though, which you can just grab immediately. For instance:
https://www.blaseball.com/database/team?id=8d87c468-699a-47a8-b40d-cfb73a5660ad
"championships": 4,
And this should work for the expansion teams as well. Probably don't need to iterate through playoffs at all, tbh.
get player eDensity directly from the API?
Line 466 in e18c0f2
Player eDensity is stored in the player objects, so you don't need to calculate it yourself. Example:
https://www.blaseball.com/database/players?ids=90c2cec7-0ed5-426a-9de8-754f34d59b39
"eDensity": 28.98165784243294,
Properly account for Negative players
The Negative modification makes a player affected by it have negative eDensity instead of positive eDensity. This leads to calculation inaccuracies on Teams with Negative players, such as the Mechanics, Garages, Millennials, and every other team that won an Alternate Trust this season.
Zoom and/or mode to just view the density part without the sinking part
I find myself using this a lot to just view the Steak's relative density, but it's hard to get a screenshot that shows everything because it all sinks out of sight :)
It'd be good to be able to pause the sinking of the diamond (but still let the circles settle)
Being able to zoom out would also be helpful to get everything in view.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.