Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[p5.strands] Implementing a noise function in strands #7897

Closed
@lukeplowden

Description

@lukeplowden

Increasing access

This enhancement is part of the effort to integrate p5.strands more integrated into the core library (see parent issue#7849)

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

Feature enhancement details

A noise implementation in p5.strands would allow for a lot of interesting effects using p5.strands, for animating objects and rendering materials. This could be a GLSL implementation of simplex noise, or another algorithm.

In order to get this working, something similar togetTexture could be a good approach. That function is definedhere in strands and alsohere in GLSL. This would mean making a new function call node in strands, and writing the GLSL function somewhere to be included in shaders. I would be inclined to make this a new GLSL file, since we might add more functions to it in the future.

The implementation can be different than the core library version of noise, with potential to add anoiseMode(GPU || CPU) in the future.

Metadata

Metadata

Type

No type

Projects

Status

Completed

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp