Coffee + Grasshopper

A daily geometric problem is presented to the grasshopper 3d community. Degrees of difficulty vary by day.

The idea is to sharpen skills, challenge, or a fun exercise: Useful for beginners wanting to learn, or as an alternative to your morning coffee + cross-word puzzle. 

Rules:

Contributions can be posted by anyone. Either selected from a previously posted problem from the general discussion (please acknowledge original poster), a selection from one of the many grasshopper+ primers (please include credits) something you think is fun, curious about, or even something you want to learn.

We should keep the entries dated so we can track them. One new problem per day (so if you see one posted for today- there is always tomorrow).

User(you) adds post titled: date-name of problem.

 

Solutions will be posted with breakdowns, either in logic procedure, etc. And in the spirit of the NY Times, an explained solution will be posted as well within the following days.

Remember there are multiple ways to solve a problem- however the “official” post should include a “clean and elegant” (or simplest) solution. So that all learning can develop better scripting habits.

Rules: an explanation.

1- Submission categories are as follows: 

Native 

Plug In

Scripted

Each category should have a difficulty rating - 1 to 5 perhaps. 

They should be included in title for clarity-

Date_NameOfProblem_Native Plugin or Script_Difficulty

2. Since we are an international community, and this is an open group- a C+G day starts at the time of 10 am local poster’s time.

3.Anyone can set the next question. However the same person cannot set two days in a row. If a question is up- then next person needs to wait until the following day to post. You can PM Danny Boyes or Myself (Monique) if you are having posting issues- (i.e.: how to post, or have been trying to post, but keep missing the opportunity) 

4. Answers are presented in the typical grasshopper community response way: in the form of examples, and/or screen shots. For screen shots: make sure the nodes are legible, if you do a function inside a node make sure we can see what you did. Verbal explanation. Maybe picture of result.

The difference between this group and the general discussion is that the poster should know how to solve the problem, be able to post a solution up themselves.

5. The poster judges the answer. They should offer a sample solution as well when they declare the winner.

However overall quality control may be checked by moderators of the group.

6. Still thinking about this one. 

  • Games for Grasshopper. Open Challenge!

    Excuse me for my googlenglish and if I do not follow the "doctrines" of the group.Due of the interest for publications of Piker and mine about games with Kangaroo, i think that would be fun and interesting make a challenge of games between all the community.…

    By Daniel González Abalde

    27
  • Lightning Bolt

    Trying to create a lightning bolt for fun with a series of random iterations. Don't know if anyone has already created a script like this, because I have been running into some troubles with how to really visualize this out. Any help or input would be great. …

    By Jacob

    2
  • Happy Rainbow IntCrv

    Hi All,since nobody has been drinking coffee lately, I am posting what I am playing with, because I guess there are several ways to do it. So my least component solution (10 + 2 to colour) was a geometry-based workaround.Can you do better?Task: Given is a set of points with different stages. The…

    By phillip

    3
  • watch this space.

    With an interest "brewing" in ghoffee again. Unless someone else has something to post i'll try and come up with something for tomorrow.Similar format, 3 catergoriesNativePlug-inCode

    By Danny Boyes

    2
  • [Utilities Series] May 11, 2014 - Panelling machines.

    As easy as it sounds. David R. proposed some days ago to search for neat and clean solutions for common and simple problems that everybody could understand. I've tagged this c+GH post as "Utilities series", but it could be changed in the future with nicer and more interesting names.It's perfectly…

    By Ángel Linares

    3
  • March 22, 2012- Sine Wave

    I decided to kick things off with a basic script- that I used in a seminar I taught- it helped beginners learn the idea of functions parametrics and its relationship to math/logic.How do you make a sine wave?Make a sine (cos, tan, etc.) curve who’s length, amplitude and frequency are controlled by…

    By Monique

    9
  • April 7, 2012 - More Pointset Fun

    Given the attached unordered pointset:Find the 20 bounding boxes that enclose each small cluster of points. Clusters are different sizes and may contain different numbers of points. …

    By Andrew Heumann

    9
  • May 25th, 2012 - Medial Axis

    I thought this group sounded like a fun idea, so I thought I would suggest one based on something I was looking at earlier in the week.  The challenge:To find the medial axis of a 2d polygon in 15 native components or less without scripting.…

    By Adam Holloway

    16
  • sorting algorithm for xy plotter

    As I managed to get my pen plotter (a nice Roland DXY-1150A) working with gh via chiplotle (a also nice library that…

    By Christian Schmidts

    11
  • Decimal to Hex

    Playing off of Danny's computer language conversion theme, make a definition that converts any integer up to 65535 (one less than 16^4) to its 4-digit hex equivalent.Examples:0 = 00001 = 00019 = 000910 = 000A16 = 000F65535 = FFFFScripting will obviously be the shortest. I think finding the shortest…

    By Brian Harms

    5