Skip to content

Commit 3a8d4eb

Browse files
author
daniel-lundin
committed
Fix radius of cylinder in cards demo
1 parent 5a5c76d commit 3a8d4eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cards.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ function wall_positions() {
221221
function cylinder_positions() {
222222
var positions = [];
223223
var start_x = WIDTH / 2;
224-
var start_y = HEIGHT * 0.05;
225-
var radius = 100;
224+
var start_y = HEIGHT * 0.1;
225+
var radius = WIDTH*0.2;
226226
for(var i=0;i<CARD_COUNT;++i) {
227227
var angle = ((i % 10) / 10) * 2 * Math.PI;
228228
var x = Math.cos(angle) * radius + start_x;

0 commit comments

Comments
 (0)