D4 does not display faces correctly
See original GitHub issueThe 4-sided dice does not display its faces properly. The number at the top of the pyramid is often different for each face - it should be the same number specified in the value property.
To reproduce…simply switch out the D6 and replace them with D4 objects in the rolling.html example. Lines 105 & 106 become:
for (var i = 0; i < 4; i++) {
var die = new DiceD4({size: 1.5, backColor: colors[i]});
The throw should have dice displaying one each of red=1, yellow=2, green=3 & blue=4 at the top. Instead the actual throw shows red=1 and yellow=2 as expected, but the blue and green dice have mismatched numbers:
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
D4 "face tracking"? - DPReview
AF mode accurately recognizes human faces and achieves sharp focus immediately and automatically — useful when there's no time to manually
Read more >Camera White Balance Correction, easy fixes
But the camera has no such brain to correct it. The right idea is to use proper white balance to match the light...
Read more >Four fair dice D1, D2, D3 and D4 , each having six faces ...
The probability that D4 shows a number appearing on one of D1, D2 and D3 is. ... Suppose, the out come of the...
Read more >Setting Guide
Changes to one bank have no effect on the others. ... until the desired setting is displayed in the rear control panel. U...
Read more >How to reset your Suunto watch?
1. The soft reset (restart): · the device is not responding to any button presses, taps, or swipes (the touch screen is not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any news about this?
Please try it out, I just merged @eipporko 's PR. If that is enough, I would close @tim-duncan 's PR then.