CodingTrain / CodingTrain/Suggestion-Box
[Quantum Continuum]: Amazing numbers distribution when dividing to 7 (seven) (using P5JS)
- Dominant language
- No language data
- Stars
- 570
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
# Experimenting using P5JS

> ## Amazing number distribution when dividing to 7 (seven)!
>> ## Why Week days are 7 (seven)?
>>> ### Seems like 7 (seven) has some magic!

```javascript
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
for (let i = 1; i <= 30; i++){
console.log(i, i%7, i/7);
}
noLoop();
}
function windowResized(){
resizeCanvas(windowWidth, windowHeight);
}
```
> Note: **The part after point is repeating @ each same modulo 7 index.**
```
1 1 0.14285714285714285
2 2 0.2857142857142857
3 3 0.42857142857142855
4 4 0.5714285714285714
5 5 0.7142857142857143
6 6 0.8571428571428571
7 0 1
8 1 1.1428571428571428
9 2 1.2857142857142858
10 3 1.4285714285714286
11 4 1.5714285714285714
12 5 1.7142857142857142
13 6 1.8571428571428572
14 0 2
15 1 2.142857142857143
16 2 2.2857142857142856
17 3 2.4285714285714284
18 4 2.5714285714285716
19 5 2.7142857142857144
20 6 2.857142857142857
21 0 3
22 1 3.142857142857143
23 2 3.2857142857142856
24 3 3.4285714285714284
25 4 3.5714285714285716
26 5 3.7142857142857144
27 6 3.857142857142857
28 0 4
29 1 4.142857142857143
30 2 4.285714285714286
```
_Note: Clicking on image will open a video on YouToBee_
[](https://www.youtube.com/watch?v=vCsBBUU7n_E)
## Caramba! Bibliography:
> - https://www.timeanddate.com/astronomy/moon/location.html
>> - https://www.timeanddate.com/astronomy/planets/distance
>> - https://www.timeanddate.com/worldclock/personal.html
>> - https://www.timeanddate.com/calendar/days/7-days-week.html
>> - https://www.timeanddate.com/astronomy/night/
>> - https://www.timeanddate.com/date/leapyear.html
>> - https://www.timeanddate.com/calendar/ce-bce-what-do-they-mean.html
> - https://en.wikipedia.org/wiki/Week
> - https://www.hermetic.ch/cal_stud/hlwc/why_seven.htm

_Note: Clicking on image will open a video on YouToBee_
[](https://www.youtube.com/watch?v=tBXRsm2Cj8k)
_Note: Clicking on image will open a video on YouToBee_
[](https://www.youtube.com/watch?v=ZW1w7KzWmNU)

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.