Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Canvas from html5 was introduced some time ago. Currently it's used (almost) only for demonstrations how cool it is - it's mainly related to painting, games and charts. Many of them can be found at Canvas demos.
How creatively / unusually can canvas be used?
Some examples:
jsAscii - ASCII art from images with
Javascript and Canvas (yea, I
know, it's painting but not the
classic one)
Javascript compression using PNG and
Canvas
There's a really cool tool called Detexify which uses machine learning on the back end which allows you to draw the LaTeX symbol you're interested in knowing the LaTeX code of and it will suggest one for you based on what it's learned from other users.
My two favorite are:
Processing.js - an implementation of the processing language in javascript/canvas.
Bespin - a collaborative coding IDE that feels more like a beautiful native app.
I always thought of creating a simple image editor with the canvas tag. It would be easy to use it for cropping, resizing, changing color values, removing red eyes etc.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I was wondering if there are any differences between CSS images and SVGs on your website.
By CSS images I mean images created with divs in HTML and styled in CSS (like this: https://codepen.io/andrewrock/pen/jOEZxrY).
Yes, CSS images are more time consuming, but apart from that they're both animatable, you can use CSS variables on them, make them dynamic with JS, ...
So what are the differences of those 2? (Performance, Rendering, ...)
There are countless reasons why you should use a svg instead of a group of html elements:
Creation
There are hundreds of svg editors that allow in a simple way to realize a drawing or an icon. This is not the case for html. So drawing a building icon in full css would be really painful.
Sharing
The fact that it uses a standardized file such as svg, allows you to export your work to other tools and easily be exploited by someone else. Use tricky css rules to manipulate some span or div can be difficult for a newcomer to your project to understand.
User experience
On a website that use svg, you will able to open it on a new tab or to download it. Thats very comfortable for an user for exemple. If you use html an user will not be able to manipulate and thats can be really annoying
Performance
Because the svg is called most of the time a file you can compressed it on your server to gain more space and performance with some tools like Appendix J
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I was able to create a web site 10 years ago with Microsoft Frontpage without learning anything, today with a copy of Adobe Dreamweaver CS6, I can't even figure out a way to change the font size of a simple text. CSS is the thing, so I went through the CSS tutorials in w3 and I get it now. It's a good idea, but It is also a good idea to kill creativity, ie all sites like similar, see screenshot below. It sucks floppy disks.
My questions will be:
Does web 2.0 really kill creativity?
Is there a "modern" web design application that I don't need to go into these CSS thing?
Is there a way to create a circular navigation menu like this using css? I want to have this menu in the middle of the page, and with a button on the corner to activate it.
No it doesn't
You don't have to use CSS. You can use inline styles,
but it won't be right. Using the CSS is a good coding practice and
you just need to learn it better.
Yes. If you google it, you'll find several links. Here is just some examples:
https://css-tricks.com/building-a-circular-navigation-with-css-clip-paths/
http://www.cssscript.com/pure-css-circle-menu-with-css3-transitions-transforms/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to add game like effects to a web app to make it more interactive and fun for the user. Specifically, when someone fills out an answer, I want to have a little character that does a dance, or gold coins pop out - something similar to what you would see in a game.
What is the best way to do this? I'm a little confused on if this is possible through HTML5, or if I still need to work with Flash, or what. I'm not sure of the terminology to use to search for the answer, and so far I've found CSS3 animations and HTML5 vector animations but these aren't exactly what I'm looking for.
I would appreciate any insight, even on just what terms to search for!
Thanks,
Heather
You have many options:
CSS: check this animations effects, and use them wherever you want: https://daneden.github.io/animate.css/
Do not only use them: analyze each animation and learn how do they work. As you see CSS can be quite powerful on animation and does not need much memory to run (important for mobile devices)
jQuery: Once you have get familiar with CSS animations and possibilities, check all the .animation method posibilities from jQuery docs
Its a good way to start.
About very specific and complex things like advanced text animations, I suggest you to search for specific plugins created right for those pruposes. For example, Textillate for text animations, WaitMe for load animations or PACE for loading effects and loading processes.
To finish with, sources like Tympanus are great not ony on downloadable CSS and jQuery code for, for example, button effets, but also as a inspirational source.
Have fun, and always try to inspire yourself, and learn required knowledgements to develop your own effects before copying code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create a tile based 'whack a mole' game in HTML 5. Also at every instance a new mole appears at a given tile an audio prompt needs to given indicating where the mole is(this is so that visually impaired individuals can also play it ). Additionally on hover over each tile its location needs to be said aloud (eg.(3,4)). Now the problem is I am not sure how do I start programming this in HTML5. Please can someone help me.
you may want to try panda.js it is a html5 game engine for mobile and desktop
and it has video tutorial
the showcase itself had whack a mole like game
http://www.pandajs.net/showcase/
(full disclosure: I've used pandajs myself)
Start with the basics in javascript. You'll need this to do anything in HTML5 canvas:
http://www.w3schools.com/js/default.asp
Then proceed learning about HTML5 canvas:
http://www.html5canvastutorials.com/tutorials/html5-canvas-tutorials-introduction/
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there any software available like blend, for working with HTML5. Especially, to do animation related stuffs.
Something like http://raphaeljs.com/ might be useful
Hype allows you to make animations in HTML5. Pretty bare-bones at the time of writing but they seem to be planning to implement most of the functionality that Flash and Expression Blend offer.
http://www.tumultco.com/hype/
(I realize this is an old question but at the time of writing there still doesn't seem to be a good HTML5 flash/blend alternative.)
have a look at this free illustrator plugin which converts any drawing into canvas, also can do animation and interactivity too:
http://visitmix.com/labs/ai2canvas/