Code Monkey home page Code Monkey logo

p5.js-website-legacy's Introduction

Since the release of Processing 3.5.4 in January 2020, development has moved to a new repository.

Using a 4.0 release (even an alpha or beta version) is recommended if you find an issue. To avoid confusion, this repo will remain open at least until a 4.0 release is the default download at https://processing.org/download. We chose to move to a new repository so that we could clean out old files accumulated over the last 20 years.

Processing

This is the official source code for the Processing Development Environment (PDE), the “core” and the libraries that are included with the download.

I've found a bug! Let us know here (after first checking if someone has already posted a similar problem). If it's a reference, web site, or examples issue, take that up with folks here. There are also separate locations for Android Mode, or the Video and Sound libraries. The processing.js project is not affiliated with us, but you can find their issue tracker here.

Locked Issues Where possible, I've started locking issues once resolved. This helps reduce the amount of noise from folks adding to an issue that's been closed for years. Because this project has existed for a long time and we have thousands of closed issues, lots of them may sound similar to an issue you're having. But if there's a new problem, it'll be missed if it's lost in a comment added to an already closed issue. I don't like to lock issues because it cuts off conversation, but it's better than legitimate problems being missed. Once an issue has been resolved for 30 days, it will automatically lock.

That processing-bugs fella is suspicious. The issues list has been imported from Google Code, so there are many spurious references amongst them since the numbering changed. Basically, any time you see references to changes made by processing-bugs, it may be somewhat suspect. Over time this will clean itself up as bugs are fixed and new issues are added from within GitHub. Help speed this process along by helping us!

Please help. The instructions for building the source are here. Please help us fix problems, and if you're submitting code, following the style guidelines helps save me a lot of time.

And finally... Someday we'll also fix all these bugs, throw together hundreds of unit tests, and get rich off all this stuff that we're giving away for free. But not today.

So in the meantime, I ask for your patience, participation, and patches.

Ben Fry, 20 January 2019

p5.js-website-legacy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

p5.js-website-legacy's Issues

navigation between languages

Some pages have a more nested file path than others (i.e. examples) which makes it difficult to have the non-default language as simply another folder because the links on the sidebar would have to be different on the english site vs the spanish (or other languages) site.

Currently, I think the best solution is to create a completely new domain with either a specific extension or a subdomain to represent the site in another language, so the sidebar partial stays the same for all languages.

I must figure out how exactly this should be implemented if this is how we decide to structure the site. Also, I am open to other suggestions/feedback on the issue if anyone has any!

issue with Grammarly extension

In reference, whenever we click on the edit button of some example. Run and reset buttons are vanishing and this is happening only when there is a grammarly extension on the browser.

Do anyone know why this is happening?

See the gif.

ezgif com-video-to-gif

examples page

  • look at example page build scripts, can it be integrated with current grunt process?
  • once this is done, translation

issue with the examples

Examples (first two columns) not working on Chrome / Safari on OSX.
Error: Uncaught TypeError: a.indexOf is not a function
at r.fn.init.r.fn.load (jquery-3.2.0.min.js:4)
at Object.init (examples.js:36)
at examples.js:174

Example not working

Hi there,

Was looking at the Smoke Particles example on the p5 website and it doesn't seem to be working. I ran the p5 sketch locally and works just fine. Might be something to do with how the site is rendering examples. I noticed the bug when I ran on chrome and firefox. The only errors on the console were a reference to "testing i18n" init.js:172

https://p5js.org/examples/simulate-smokeparticles.html

hope this helps!
-Jason

reference gone

The reference doesn't work anymore. When you refresh often sometimes it shows but in most cases the reference pages stay empty. (Both safari and chrome on mac. I don't know if window works).

things to do before going live

(we will hide i18n buttons until ready to go live with translation)

  • add back in tagline
  • disable i18n buttons and auto-detection for p5js.org domain
  • add people page
  • add reference
  • fix spanish reference
  • hook up versions for downloads
  • copyright info page

DIfficult to copy Examples with iOS Safari

From @ricardocanada on November 24, 2016 20:2

When I try to copy example code from https://p5js.org/examples/ in iOS Safari to use in my iPad environment, it is almost impossible to do so unless the example has an Edit button. That seems to put the code in Raw form, and then all of my selection and copy options work. Otherwise it is almost impossible to select text, and when occasionally I do get the menu with a Select All option, the menu with the Copy option does not appear. Very frustrating this morning, and I didn't get the code I wanted. I hope that the webmaster of the site will consider 1. Giving every example an Edit button or 2. GIving examples without an Edit button a Raw button the way GitHub does.

Thanks for listening.

Copied from original issue: processing/p5.js#1677

reference

this is a trickier one, it seems like it should be a second stage focus after the initial site launch

items in need of spanish translation

to keep track of additional translation edits we need to make

  • http://p5js.org/download/ (text inside p5.js complete box)
  • http://p5js.org/learn/ - added optimization
  • http://p5js.org/libraries/ - added p5.func
  • https://p5js.org/contributors-conference
  • https://p5js.org/get-started (download7, download8)
  • taglines
  • tutorial page
  • footer4
  • http://p5js.org/download/support.html
  • check that the footer "p5.js was created by Lauren McCarthy and is developed by a community of collaborators, with support from the Processing Foundation and NYU ITP. Identity and graphic design by Jerel Johnson. © Info." is translated in every kind of subdomain on the site.
  • mailing list section on http://p5js.org/community/
  • p5.js can't be downloaded from p5js.org/es/download, version doesn't appear too
  • http://p5js.org/reference/ (offline reference link at top)
  • p5js.org/es/reference page menu and header is still in English
  • translate "If you see any errors or have suggestions, please let us know" to "Si encuentras algún error o tienes alguna sugerencia, por favor avísanos" in all of the Reference entries
  • translate "Find any typos or bugs? X is documented and defined in Y. Please feel free to edit the file and issue a pull request!" to "¿Encontraste algún error? X está documentado y definido en Y. Por favor ten la libertad de editar el archivo y hacer un pull request" in all of the Reference entries
  • translate "Parameters" to "Parámetros" in all of the Reference entries
  • at p5js.org/es/reference, translate "Search the API" to "Busca en la API"
  • at every entry of the p5jsorg/es/reference, translate "Search the API" to "Busca en la API"
  • make hover-on texts in reference appear in Spanish
  • add subtitles to http://hello.p5js.org/, it is linked from "hello" on the spanish version of the website.
  • fix bug where [p5 Element] turns into [object Object] at https://p5js.org/es/reference/#/libraries/p5.dom
  • translate example src/data/examples/es/00_Structure/en/08_Create_Graphics.js
  • double-check that comments on reference examples are translated to Spanish
  • add a sketch by a spanish speaking artist to celebrate the launch of the website.
  • for translating the site https://p5js.org/es/reference/#/libraries/p5.dom to Spanish, do I need to modify the file p5.js/docs/reference/api.js ?

Translations?

Feel free to close this one if it's not relevant yet or already in progress etc.

I'm just wondering if the translation for the site for other languages other than Spanish are ongoing? If not what are the plans if any?

how to change the wikipedia links on the spanish version

I want to, for example, change the link for "code editor" in the "getting started" in spanish, to point to the spanish link on wikipedia, instead of english.

I suppose it has to do with the index.hbs file, but still can't figure it out.

Create support for multiple languages

We can use google translate APIs or bing language APIs for translating the page automatically than to do manually for every language.

Any suggestions?

home page sketch

need to choose what sketch will be put on the home page when the site goes live.

crowd source translation

to translate the entire site, we need to have all of the text (currently stored as strings in a yml file) translated into another language and stored.

pages to port:

  • download
  • reference (and all of its subpages)
  • form to submit work
  • hello.p5js.org ?

search site

need to implement search site function in the upper-right hand corner of the header

download of a modular generated library

In the majority of cases I used canvas libs for simple drawings, but I had to download the complete library. In my view it's a huge disadvantage, because the libraries are almost fat.

It would be a huge advantage, if we could offer a download of a modular generated library. I imagine something like the Modernizr download page, where you can select parts of the library (primitives, lights, camrea, ...).

In addition we could add a seperate namespace.

What do you think?

Regards,
Darius

Grunt imagemin:images task is slow or frozen

I'm running grunt server, and it freezes on the imagemin:images task. If it's not frozen, then it takes a very long time to run (I let it run for as long as 7 minutes) and we might want to warn about that. This is my first time building the new website, I am following the steps from the readme.

Reference Examples Editor Breaking on Chrome Mac 56

When clicking on a reference example using Chrome 56 Mac the editor is glitching out and does not function. I noticed that some attributes are being changed very frequently to some very strange values.

Glitching Editor Recording

URL Tested: https://p5js.org/reference/#/p5/alpha
Chrome: Version 56.0.2924.87 (64-bit)
OSX: 10.11.6

Works fine on Firefox Latest Macosx. I will continue to investigate and send a PR if I find a fix.

[Violation] 'requestAnimationFrame' handler took 1816ms

I'm using Chromium v. 57.0.2987.133 (64-bit) on GNU-Linux (8.4.13-1-ARCH) to navigate through the p5 reference pages. Every so often (in intervals ranging from about .5 < 4 seconds) the browser falls behind.

Sometimes I can't move the pointer for up to two seconds! And if I play sound or video in a background tab, it seems to seek back?! Using devtools, I observed the timeline and call stack. Here are some of the violations I get in the console. Note that I had disabled my extensions, and had only two tabs open.

[Violation] 'setTimeout' handler took 54ms
[Violation] 'requestAnimationFrame' handler took 1555ms
p5.min.js:6 [Violation] Handling of 'wheel' input event was delayed for 1868 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responsive.
[Violation] 'requestAnimationFrame' handler took 1816ms
[Violation] 'mousemove' handler took 965ms
[Violation] Forced reflow while executing JavaScript took 965ms
[Violation] 'requestAnimationFrame' handler took 1781ms
[Violation] 'requestAnimationFrame' handler took 1289ms
etc ...

Is the wildcard animation really necessary? I think most users would agree that this experience makes the reference pages completely unusable. In an issue in the p5 repo, offline documentation is proposed. That did not really work for me (it depends on some php page?). I'd personally rather have it presented in one big happy plain text file or a pdf version anyway. I'm willing to contribute to that.

titles of reference pages do not include a unique title

Currently the reference pages all have the title of "p5.js | reference". This makes going back through history a difficult task. It seems like these should all have unique titles.
screen shot 2017-01-04 at 7 55 01 pm

proposed title: p5.js | reference | Image()
Processing's web documentation is more or less reversed: Image() | p5.js | Reference

I believe this would be a relatively easy template change.

search form not expanding on hover

the search bar in upper right should appear and expand on hover, you can see it in action here: http://p5js.org, on the staging site this seems to be broken.

the relevant code is here: https://github.com/mayaman/p5js-website/blob/master/src/assets/js/main.js.

@nok has jquery been removed completely from the site? I'd guess this is the issue then. however, while I like the idea of improving speed by removing jquery, I'm not sure it's sustainable from a development perspective to not have access to the helpers it provides. or maybe I'm misunderstanding the rearrangement that happened with jquery? it seems like it is being recognized in some places.. can you clarify? sorry if I missed the explanation somewhere earlier.

3D_Materials.php not found

Clicking on the examples in the Material reference pages that includes normalMaterial(), texture(), ambientMaterial(), specularMaterial() leads to 404 error.

Displaying search results properly

When we hit a search query, the website is directing to a google search page, it would be nice if it is displayed on the web page itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.