Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas not filled on Chromium #197

Open
Sneffel opened this issue Oct 7, 2022 · 0 comments
Open

Canvas not filled on Chromium #197

Sneffel opened this issue Oct 7, 2022 · 0 comments

Comments

@Sneffel
Copy link

Sneffel commented Oct 7, 2022

WordCloud(document.getElementById('canvas'), { list: [["Mythical creature","1"],["Fawn","1"],["Water","5"],["Wood","3"],["Tree","1"],["Plant","1"],["Hair","1"],["Gesture","1"],["Eyelash","2"],["Audio equipment","1"],["Thumb","1"],["Bangs","1"],["Long hair","1"],["Eyewear","1"],["Font","5"],["Fashion accessory","1"],["Working animal","1"],["Trunk","1"],["Art","1"],["Grass","1"],["Forehead","1"],["Nose","2"],["Chin","2"],["Ear","1"],["Throat","1"],["Wrinkle","1"],["Pleased","1"],["Cheek","1"],["Lip","1"],["Eyebrow","1"],["Mouth","1"],["Lipstick","1"],["Jaw","1"],["Neck","1"],["Rectangle","3"],["Tints and shades","1"],["Pattern","3"],["Circle","1"],["Electric blue","3"],["Darkness","1"],["Brand","3"],["Logo","2"],["Monochrome photography","1"],["Brown","1"],["Grey","4"],["Material property","1"],["Flooring","1"],["Parallel","2"],["Metal","1"],["Azure","2"],["Screenshot","1"],["Multimedia","1"],["Advertising","1"],["Transport","1"],["Media","1"],["Liquid","4"],["Fluid","4"],["Atmospheric phenomenon","3"],["Drizzle","3"],["Moisture","3"],["Dew","3"],["Drop","3"],["Glass","3"],["Blue","1"],["Symmetry","1"],["Symbol","1"],["Water resources","1"],["Sky","1"],["Natural landscape","1"],["Coastal and oceanic landforms","1"],["Cloud","1"],["Horizon","1"]],  
	gridSize: 20,
  weightFactor: 10,
  fontweight:'900',
    rotateRatio: 0.5,
  rotationSteps: 2,
  fontFamily: 'Roboto, sans-serif',
  color: function() {
    return (['#170e11', '#a6303a', '#ffffff20'])[Math.floor(Math.random() * 3)]
  },
  backgroundColor: '#0000'}, );

In Chromium the frame ins't filled yet it is on Firefox. Very different spacing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant