Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
fix: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Nov 19, 2019
1 parent 29034e9 commit 06b2e61
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { WordCloudEncoding, wordCloudEncoderFactory } from './Encoder';

export const ROTATION = {
flat: () => 0,
// this calculates a random rotation between -90 and 90 degrees.
/* eslint-disable-next-line no-magic-numbers */
random: () => Math.floor(Math.random() * 6 - 3) * 30,
/* eslint-disable-next-line no-magic-numbers */
Expand Down

0 comments on commit 06b2e61

Please sign in to comment.