processing / processing/processing-website

Add `strokeWeight` to reference in the reference of `point_`

Open Beginner friendly
#609 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
90
Forks
122
Avg merge
1h 43m
Merged PRs (30d)
3

Description

Select the type of content error.

Other content error (please specify)

Section

Reference

Location of the error

https://github.com/processing/processing-website/blob/dae935bea77b1353ff8824f56fc8fe01096c942e/content/references/translations/en/processing/point_.json#L3

Describe the error

I don't know if it is intended, but it would be nice to make strokeWeight() function bold in description section and add strokeWeight() function in related section

Suggested correction
  1. Change description to:
  "description": "Draws a point, a coordinate in space at the dimension of one pixel. The first\n parameter is the horizontal value for the point, the second value is the\n vertical value for the point, and the optional third value is the depth\n value. Drawing this shape in 3D with the <b>z</b> parameter requires the P3D\n parameter in combination with <b>size()</b> as shown in the above example.\n <br/>\n <br/>\n Use <b>stroke()</b> to set the color of a <b>point()</b>. <br/>\n <br/>\n Point appears round with the default <b>strokeCap(ROUND)</b> and square with\n <b>strokeCap(PROJECT)</b>. Points are invisible with <b>strokeCap(SQUARE)</b>\n (no cap). <br/>\n <br/>\n Using point() with <b>strokeWeight(1)</b> or smaller may draw nothing to the screen,\n depending on the graphics settings of the computer. Workarounds include\n setting the pixel using <b>set()</s> or drawing the point using either\n <b>circle()</b> or <b>square()</b>.",
  1. Change related to:
  "related": ["stroke_", "strokeWeight_"],
Language

json

Screenshots or references

No response

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open content/references/translations/en/processing/point_.json at the referenced description and related fields. Compare the proposed wording and related reference entries with nearby reference files, then update the point_ content; it is done when strokeWeight is correctly emphasized and linked in the rendered reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
60/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.