All Questions
Tagged with html5 performance
23 questions
0
votes
1
answer
113
views
Create and store the level data for a remake of Super Mario Bros game
I am trying to remake Super Mario Bros. in JavaScript and I am trying to figure out if there is a more efficient/shorter way to create and store the level data. I have created 1-1 and here's what the ...
2
votes
0
answers
66
views
JS icons animation
I've written a simple JS that takes care to animate an icon.
At first I wrote it quickly and without paying attention to any kind of optimization:
...
2
votes
2
answers
95
views
Loading the stylesheets and scripts on my website
I have made a simple website and I have tried to reduce load times as much as possible. All the content that is loaded is necessary.
Is there anything thing I can do to my code, such as structurally, ...
-2
votes
1
answer
691
views
Updating text with JavaScript and Firebase [closed]
My problem is this causes more lag as time goes on. I use this commonly to chat with my friends, and I need it the site to update in real-time whenever a message gets edited/deleted/added. Any ...
0
votes
1
answer
407
views
Read Local File
I'm trying to read any file locally and write out the binary as string, it loads and reads small files very fast.
How can I modifier it to read large files greater than 1gb without crashing the ...
3
votes
0
answers
329
views
CSS animation of ravens flying in a circle
I just made a little experiment on codepen with this animation.
But I get some performance issues: sometimes it's not as smooth as it should be.
Does someone know some practice I could use to ...
5
votes
2
answers
302
views
Game of life - JavaScript
I would like to kindly ask others to review my code. I'd like suggestions, criticisms, and discussions on what is good and what could be done better.
...
2
votes
1
answer
129
views
Placing many pins on a Google Map
It's taking almost 2 minutes to load all the pins on this Google Maps API. Every time the page is loaded it sends a request for each location one by one. Can it do this all at the same time or preload ...
2
votes
2
answers
2k
views
Show and Hide group of classes based on data attributes
Somebody please verify this code. Is this efficient? please tell me modular way to accomplish this task.
Updated
I want to add show class to ...
2
votes
1
answer
419
views
JavaScript game tick
How can I achieve a more performant tick code keeping my minimum frame rate high?
...
4
votes
2
answers
1k
views
HTML5 Canvas game starts to lag 10 seconds after loading page
I got bored and started making a game using HTML5, CSS3, and JavaScript/jQuery. I've been working on it for about 2 weeks and it was running pretty well.
Today I opened it and was moving the player'...
2
votes
0
answers
95
views
HTML5 canvas drawing from video source
I have the following code, which draws a overlay image onto video for each frame:
...
4
votes
4
answers
954
views
Maths Q&A game in JavaScript
This used to be university work now I put it our here for review purposes.
Could this be constructed better?
Is there any easier path, performance-wise?
Could this be optimised?
Which features ...
2
votes
1
answer
1k
views
Can the performance of this canvas drawImage() test be improved?
I have a quite simple loop that draws an 8px by 8px image many times in a canvas in a tiling fashion. Currently it's drawing 7500 images each loop.
See the jsfiddle.
...
6
votes
2
answers
1k
views
Simple grid system made out of CSS columns
I have been researching and experimenting with HTML5 and CSS3. I was aiming to create a very simple but efficient tiled gallery / grids. So some sort of grid system that I can layout anything inside.
...