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

Initial work for replacing P5.js #13

Closed
wants to merge 1 commit into from

Conversation

Givup
Copy link

@Givup Givup commented Jul 1, 2020

This replaces all calls to P5.js-library. I tried my best to leave everything backwards compatible, but something might have slipped past me.

Changes:

  • Drawing now uses Canvas API
  • Mouse and keyboard input use addEventListener
  • "Game loop" is implemented using requestAnimationFrame

I tried to re-use already existing code as much as I could, notable exception being handling mouse input.

@jamesroutley
Copy link
Owner

Thanks for opening this - I've removed P5 in #28

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

Successfully merging this pull request may close these issues.

2 participants