skycons's People
Forkers
enrico111176 vivekrp umaar karlosgliberal masdude ttsvetko spoonkojo matthiasg hieblmedia bouchaala-sabri codeknight ravitejadaggupati ammonv kewtec savantos mdlane neojjang radiodario vasilpetreski serriere lyviet kindrakevich rootbeerguy esamattis lit3hawk abbanerjeersm mehradk ccastilestartup dcinzona jpescada sharpandnimble clauddiu jtwohiou fuycadw jasonflaherty clamstew loop0 gijs gregdizzia tahiriabdou paretti im-sticky davgit joeyramone76 kriyeng palimadra benediktvaldez beckonandmuse saifulyaacob mdsmt gasperk quatze xiaoshen wernerraath jonarnaldo projectweekend ankitbaderiya niloy raleighgee maxdow graho23 joaquimorg khkl89 13twelve guoxiaoyi sludge1 mesch92 squirrelrao pashanitw vyrru5 abdelouahabb ianmoone jeppejensen longniao miguelmich gx72xk troyleach klerith hozmur khanmaytok bradthebluefish sofdesk pibeeckm jamieabbott tiposaurio 13protons modulexcite hecmonter smuranaga emiliobravo skmsoumya sarboc bwyan freetstar jjmax75 pagmovel zdw19840929 anthonycdm chronicstim aodkrisdaskycons's Issues
Package.json
Hi. Please, can you init package.json file on your project?
Add npm support
Please, create package.json and add to npmjs.
Please mention the number of icons it is supporting.
Hello sir, I am trying to use https://api.weather.gov/ api , but there are not enough icons to show. Please let know and i can not get the how many icons are there and their little description.
Adding Bower support
Can you add bower support ?
Great work BTW ๐.
Library license
Hi @ironwallaby,
Under what license you library is hosted?
Thanks
Support for "stormish" icons
There is no icons for lighting circunstances, like Storms.
Skycons animation consuming constantly 100% CPU in Chromium
Hi, just wondered why my project is consuming constantly 100% of CPU (single core) and also some GPU in Chromium (newest build - April 4th 2020).
I could determine the Skycons, hanging in the requestAnimationFrame-loop. I can reproduce it.
Not sure what is going on exactly though. Firefox does not have any problems with it.
Animated SVGs are well enough supported now that Skycons should be SVG.
Way, way back when we originally made Skycons, the only way to make them was by drawing to a Canvas in JavaScript. These days, animated SVGs are well-enough supported that Skycons should really just be SVG.
This would fix several issues:
- Heavy CPU usage on pages that include Skycons.
- "Blurry" rasterization of Skycons when one doesn't size the Canvas appropriately.
- Make it easier to customize/alter the Skycons using tools that are already built for the purpose.
We've started a skycons/svg
branch for working on these. (It's slow going, though, since I very rarely have the extra hours to work on it.)
Already complete are the clear_day
and clear_night
Skycons. The next big task is to implement that fancy cloud, since so many of the Skycons depend on it.
Don't user IDs
I would think utilizing class names for the canvas attribute rather than IDs would be preferable. As it is, the same icon cannot appear twice on a page as that would mean elements sharing the same ID. This practically impedes any ability to utilize this for a true forecast where multiple days may have the same weather.
viewbox should be viewBox in <svg> element of icons
I tried to use the Skycons in my project, but they weren't scaling to fit into the specified bounding box.
I found that the viewbox
atrribute in the <svg>
element is using the wrong case. The 'B' should be a capital letter. It should be viewBox
.
The SVG icon files need to be changed to fix this.
Adding typings for TypeScript
Add typings for TypeScript
https://github.com/typings/typings
Wind icon animation and non 1:1 aspect ratios
Hi,
Firstly thanks for this, it's really nice. I find if I draw a canvas by default it seems to have an aspect ratio of 2:1 and I don't seem to be able to constrain it as a percentage of the browser size. This is generally not an issue, but it spoils the wind animation as you see the leaf appearing and disappearing. I've been able to temporarily fix it with canvas.height = canvas.width
in the draw function. Is there a better way? Should I open a PR to set both dimensions to the smallest of the two so all the icons render correctly?
Having just tested, as similar thing happens with the falling icons (rain/sleet/snow) if you make the aspect ratio 1:2, the elements vanish before they disappear off the bottom of the canvas.
2 same icon not showing
hello when there are two or more same icon, they are not showing, why?
see demo at amindi.info
also image : https://1drv.ms/i/s!At7OAFNNzrqhhO1ubTKjipBrT93mIg
List
Why not make a very simple list of image->name ? It should be less painful to find the correct image for the right situation.
Thanks
Changing the icon colors
Is there any way to change the color of the icons once they're created? With themed sites being very common these days it seems an oversight to not have this ability. Nor do I mean individually coloring the icons either.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.