awacke1 commited on
Commit
daec03b
·
1 Parent(s): 1f768a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def generate_fractal(num_rolls):
16
  y.append(y[-1] + step * np.sin(np.deg2rad(angle)))
17
  return go.Scatter(x=x, y=y, mode='lines', line=dict(width=1))
18
 
19
- num_rolls = st.slider('How many times do you want to roll the dice?', 1, 10000,1000)
20
  fig = go.Figure(generate_fractal(num_rolls))
21
  fig.update_layout(
22
  title='Dice Fractal',
 
16
  y.append(y[-1] + step * np.sin(np.deg2rad(angle)))
17
  return go.Scatter(x=x, y=y, mode='lines', line=dict(width=1))
18
 
19
+ num_rolls = st.slider('How many times do you want to roll the dice?', 1, 1000000,1000)
20
  fig = go.Figure(generate_fractal(num_rolls))
21
  fig.update_layout(
22
  title='Dice Fractal',