codingmath's People
Forkers
lacarte tomekl007 eooes macressler saasmath qazzaqqaz123 automata mhh11 sam-blake miguelfreire j-rm arkaslaser gugo ereyes tecmen geo7 sroucheray mollysanderson ethanenglert gilliangibson songye esimionato bhupesh majdalkawaas2458 bouceball abnerzheng tomgijselinck emmanuelk17 pszq mcanthony jason790 abhi1993matrix laudarch nssilva m4573r waynejr2 dford07 peterojiambo danielinocente williamcs kokej creative-coding-with-processing himanshu1618 pages-alex-alex2006hw strahlistvan iondrimba webest timconejos mcryach israelraizer davidhestrin jvinhit beentaken abhiskaushik soundarkarunagaran nikithshetty porelbarranco davedingarten georapbox raymichaud ronanisa mohammed-dler xavierartot abdenasser jayakrishnankk auto-nation zhf459 luchibobra9 tjseabury 6pm itmeson niittymaa wolflion521 iliagsy petercunha kosl90 rohitkrsingh271 opmarq jzse yangjialing plumpmath pourfun haider-ba armin23 anskiere1974 korvlax beerzyp chaossky rajaramu ademoutlaw cdsk8 thomasvogelpohl heartcube xeronith cliron developer626 googed mariooliveira08 ubaidsayyed54 thinsoldiercodingmath's Issues
main2.js file does not exist
https://github.com/bit101/CodingMath/blob/master/application2/index.html#L8
main2.js
should be main.js
?
Accelerate function in episode 18 breaks moving north or west
Hi, the way in which the particle accelerate function is now implemented as of episode 18 breaks accelerating in some cases. If you try and accelerate the spaceship from episode 10 to the left or up on the screen the speed at which the spaceship moves drops to near zero. I am using:
if(thrusting) {
ship.accelerate(1, 1);
}
I assume this is because in some cases the function should actually be subtracting instead of adding but I am kind of new to all this. I've been following your guides and writing it in C++/SDL2 but have now dropped to JS to double check and sure enough it happens there too. Help! :)
[RFC]Change ES5 to ES6
Introduction
Hello, my name is Hyunsu Ko. I am working as a front-end developer in South Korea. I wanted to delve into computer graphics and, in my search, found CodingMath to be particularly impressive.
JavaScript has undergone significant changes compared to nine years ago. Notably, the introduction of ES6, the enhancement of type safety with TypeScript, and the advent of build tools like Vite have made the development of JavaScript applications more convenient than ever.
I would like to propose updating the project to use modern JavaScript syntax.
Proposal
- Update the repository's code to modern JavaScript syntax.
- Use Vite for the project.
- Since script injection is handled through Vite, there is no need to use window.onload.
- The project can be modified to operate as if it's a single application.
- Convert constructors to classes.
- Switch variable declarations from var to const and let.
- Modularize each file using import and export statements.
- Renewal of the YouTube Course
- If the code is updated, it may be necessary to also renew the course. It would be great if those contributing could also help renew episodes.
Conclusion
This task will require a significant amount of time and effort. However, I am confident that updating the project to modern JavaScript syntax will greatly aid in understanding how mathematics can be utilized in programming through CodingMath.
I hope there will be much discussion regarding this proposal. Thank you for reading, and I wish you a happy day of development.
Make this repository also a website (github.io)
GitHub allows you to create a free website for one repository. The domain then looks like this: username.github.io
It would be really nice if you added some kind of index.html file to the root of this repository, that would be used as navigation through these projects. It doesn't need to be anything fancy, it can just be a simple list with links to the index.html files.
<ol>
<li><a href="episode1/index.html">Episode 1</a></li>
<li><a href="episode2/index.html">Episode 2</a></li>
. . .
</ol>
This would enable people to see your code in action just by clicking on a link.
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.