{"action":"created","issue":{"url":"https://api.github.com/repos/jovyan/pythreejs/issues/136","repository_url":"https://api.github.com/repos/jovyan/pythreejs","labels_url":"https://api.github.com/repos/jovyan/pythreejs/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/jovyan/pythreejs/issues/136/comments","events_url":"https://api.github.com/repos/jovyan/pythreejs/issues/136/events","html_url":"https://github.com/jovyan/pythreejs/issues/136","id":272636451,"number":136,"title":"name 'MeshLambertMaterial' is not defined","user":{"login":"mznyc","id":17802524,"avatar_url":"https://avatars1.githubusercontent.com/u/17802524?v=4","gravatar_id":"","url":"https://api.github.com/users/mznyc","html_url":"https://github.com/mznyc","followers_url":"https://api.github.com/users/mznyc/followers","following_url":"https://api.github.com/users/mznyc/following{/other_user}","gists_url":"https://api.github.com/users/mznyc/gists{/gist_id}","starred_url":"https://api.github.com/users/mznyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mznyc/subscriptions","organizations_url":"https://api.github.com/users/mznyc/orgs","repos_url":"https://api.github.com/users/mznyc/repos","events_url":"https://api.github.com/users/mznyc/events{/privacy}","received_events_url":"https://api.github.com/users/mznyc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-11-09T16:53:27Z","updated_at":"2017-11-15T19:24:23Z","closed_at":null,"author_association":"NONE","body":"## running the following example with error\r\n\r\n\r\nfrom pythreejs import *\r\nfrom IPython.display import display\r\nfrom ipywidgets import HTML, Text\r\nfrom traitlets import link, dlink\r\nball = Mesh(geometry=SphereGeometry(radius=1), \r\n            material=MeshLambertMaterial(color='red'),\r\n            position=[2, 1, 0])\r\n\r\nc = PerspectiveCamera(position=[0, 5, 5], up=[0, 1, 0],\r\n                      children=[DirectionalLight(color='white', position=[3, 5, 1], intensity=0.5)])\r\n\r\nscene = Scene(children=[ball, c, AmbientLight(color='#777777')])\r\n\r\nrenderer = Renderer(camera=c, \r\n                    scene=scene, \r\n                    controls=[OrbitControls(controlling=c)])\r\ndisplay(renderer)\r\n\r\n\r\nNameError                                 Traceback (most recent call last)\r\n<ipython-input-6-069771b62a9d> in <module>()\r\n      4 from traitlets import link, dlink\r\n      5 ball = Mesh(geometry=SphereGeometry(radius=1), \r\n----> 6             material=MeshLambertMaterial(color='red'),\r\n      7             position=[2, 1, 0])\r\n      8 \r\n\r\nNameError: name 'MeshLambertMaterial' is not defined"},"comment":{"url":"https://api.github.com/repos/jovyan/pythreejs/issues/comments/344700479","html_url":"https://github.com/jovyan/pythreejs/issues/136#issuecomment-344700479","issue_url":"https://api.github.com/repos/jovyan/pythreejs/issues/136","id":344700479,"user":{"login":"mznyc","id":17802524,"avatar_url":"https://avatars1.githubusercontent.com/u/17802524?v=4","gravatar_id":"","url":"https://api.github.com/users/mznyc","html_url":"https://github.com/mznyc","followers_url":"https://api.github.com/users/mznyc/followers","following_url":"https://api.github.com/users/mznyc/following{/other_user}","gists_url":"https://api.github.com/users/mznyc/gists{/gist_id}","starred_url":"https://api.github.com/users/mznyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mznyc/subscriptions","organizations_url":"https://api.github.com/users/mznyc/orgs","repos_url":"https://api.github.com/users/mznyc/repos","events_url":"https://api.github.com/users/mznyc/events{/privacy}","received_events_url":"https://api.github.com/users/mznyc/received_events","type":"User","site_admin":false},"created_at":"2017-11-15T19:24:23Z","updated_at":"2017-11-15T19:24:23Z","author_association":"NONE","body":"I have upgraded pythreejs to 0.4.1. Still no plots. "}}
{"actor":{"display_login":"mznyc"}}